Skip to content

Bump rails, rails-i18n, activeadmin and devise

Bumps rails, rails-i18n, activeadmin and devise. These dependencies needed to be updated together.

Updates rails from 5.2.3 to 6.0.0

Release notes

Sourced from rails's releases.

6.0.0.beta1

Active Support

  • Remove deprecated Module#reachable? method.

    Rafael Mendonça França

  • Remove deprecated #acronym_regex method from Inflections.

    Rafael Mendonça França

  • Fix String#safe_constantize throwing a LoadError for incorrectly cased constant references.

    Keenan Brock

  • Preserve key order passed to ActiveSupport::CacheStore#fetch_multi.

    fetch_multi(*names) now returns its results in the same order as the *names requested, rather than returning cache hits followed by cache misses.

    Gannon McGibbon

  • If the same block is included multiple times for a Concern, an exception is no longer raised.

    Mark J. Titorenko, Vlad Bokov

  • Fix bug where #to_options for ActiveSupport::HashWithIndifferentAccess would not act as alias for #symbolize_keys.

    Nick Weiland

  • Improve the logic that detects non-autoloaded constants.

    Jan Habermann, Xavier Noria

  • Deprecate ActiveSupport::Multibyte::Unicode#pack_graphemes(array) and ActiveSuppport::Multibyte::Unicode#unpack_graphemes(string) in favor of array.flatten.pack("U*") and string.scan(/\X/).map(&:codepoints), respectively.

    Francesco Rodríguez

  • Deprecate ActiveSupport::Multibyte::Chars.consumes? in favor of String#is_utf8?.

    Francesco Rodríguez

  • Fix duration being rounded to a full second.

      time = DateTime.parse("2018-1-1")
      time += 0.51.seconds

    Will now correctly add 0.51 second and not 1 full second.

... (truncated)
Commits
  • 66cabed Preparing for 6.0.0 release
  • f63df2b Merge pull request #36949 from 97jaz/thread-local-prepared-statements
  • 97f9609 Highlight database.yml as code block in multiple databases guide [ci skip]
  • dee31b7 Merge pull request #36946 from eugeneius/return_only_media_type_on_content_ty...
  • d9aab35 Add entry about the classic autoload to the upgrading guide
  • 5b327db Merge pull request #36803 from andrewkress/fix-issue-36799
  • 5eaf39b Add note about human_attribute_name symbol/string
  • e3b2a57 Fix attaching many uploaded files one at a time
  • 5a4305f syncs autoloading guides from master [skip ci]
  • ee5ee98 edits the CHANGELOG [skip ci]
  • Additional commits viewable in compare view

Updates rails-i18n from 5.1.3 to 6.0.0

Changelog

Sourced from rails-i18n's changelog.

6.0.0

  • Update rails-i18n.gemspec to use Railties 6.0.0
  • Add Malagasy (mg) locale
  • Update following locales:
    • Afrikaans (af)
    • Arabic (ar)
    • Azerbaijani (az)
    • Belarusian (be)
    • Bulgarian (bg)
    • Bengali (bn)
    • Bosnian (bs)
    • Catalan (ca)
    • Czech (cs)
    • Welsh (cy)
    • Danish (da)
    • German (de-AT, de-CH, de-DE, de)
    • Greek (el-CY, el)
    • English (en-AU, en-CA, en-CY, en-GB, en-IE, en-IN, en-NZ, en-US, en-Za, en)
    • Esperanto (eo)
    • Spanish (es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, es)
    • Estonian (et)
    • Basque (eu)
    • Farsi/Persian (fa)
    • Finnish (fi)
    • French (fr-CA, fr-CH, fr-FR, fr)
    • Galician (gl)
    • Hebrew (he)
    • Hindi (hi-IN, hi)
    • Croatian (hr)
    • Hungarian (hu)
    • Indonesian (id)
    • Icelandic (is)
    • Italian (it, it-CH)
    • Japanese (ja)
    • Georgian (ka)
    • Khmer (km)
    • Kannada (kn)
    • Korean (ko)
    • Luxembourgish (lb)
    • Lao (lo)
    • Lithuanian (lt)
    • Latvian (lv)
    • Malagasy (mg)
    • Macedonian (mk)
    • Malayalam (ml)
    • Mongolian (mn)
    • Marathi (mr-IN)
    • Malay (ms)
    • Norwegian Bokmål (nb)
    • Nepali (ne)
... (truncated)
Commits

Updates activeadmin from 2.1.0 to 2.2.0

Release notes

Sourced from activeadmin's releases.

2.2.0

Enhancements

Minor

  • The status_tag component now supports different labels for false and nil boolean cases through the locale. Both default to display "No" for backwards compatibility. #5794 by [@​javierjulio]
  • Add Macedonian locale. #5710 by [@​violeta-p]

Bug Fixes

  • Fix pundit policy retrieving for static pages when the pundit namespace is :active_admin. #5777 by [@​kwent]
  • Fix show page title not being properly escaped if title's content included HTML. #5802 by [@​deivid-rodriguez]
  • Revert [21b6138f] from #5740 since it actually caused the performance in development to regress. #5801 by [@​deivid-rodriguez]

#1926: #1926 #1979: #1979 #2001: #2001 #2040: #2040 #2326: #2326 #2523: #2523 #2532: #2532 #2541: #2541 #2544: #2544 #2545: #2545 #3038: #3038 #3075: #3075 #3463: #3463 #3464: #3464 #3486: #3486 #3519: #3519 #3535: #3535 #3553: #3553 #3606: #3606 #3686: #3686 #3695: #3695 #3731: #3731 #3783: #3783 #3894: #3894 #4118: #4118 #4173: #4173 #4187: #4187 #4254: #4254 #5043: #5043 #5198: #5198 [21b6138f]: https://github-redirect.dependabot.com/activeadmin/activeadmin/pull/5740/commits/21b6138fdcf58cd54c3f1d3f60cb1127b174b40f #3091: #3091 #3435: #3435

... (truncated)
Changelog

Sourced from activeadmin's changelog.

2.2.0

Enhancements

Minor

  • The status_tag component now supports different labels for false and nil boolean cases through the locale. Both default to display "No" for backwards compatibility. #5794 by [@​javierjulio]
  • Add Macedonian locale. #5710 by [@​violeta-p]

Bug Fixes

  • Fix pundit policy retrieving for static pages when the pundit namespace is :active_admin. #5777 by [@​kwent]
  • Fix show page title not being properly escaped if title's content included HTML. #5802 by [@​deivid-rodriguez]
  • Revert [21b6138f] from #5740 since it actually caused the performance in development to regress. #5801 by [@​deivid-rodriguez]
Commits
  • cbce355 Get ready for 2.2.0 release (#5805)
  • 96ffda9 Use non vulnerable lodash for gherkin-lint (#5806)
  • ffeee5d Merge pull request #5797 from activeadmin/cleaner_test_application_setup
  • c0c24a8 Revert "Ensure application gets reloaded only once" (#5801)
  • a0bb67f Move test-report persistance to separate task
  • 4d77cee Consistency rename
  • b199f4b Add a way to forcefully create the test application
  • 2b83836 bin/rake bundle[update,simplecov]
  • 1b9213b Track coverage for test app creation too
  • 30c673d Ask full path to the test application class
  • Additional commits viewable in compare view

Updates devise from 4.6.2 to 4.7.0

Changelog

Sourced from devise's changelog.

4.7.0 - 2019-08-19

  • enhancements

    • Support Rails 6.0
    • Update CI to rails 6.0.0.beta3 (by @​tunnes)
    • refactor method name to be more consistent (by @​saiqulhaq)
    • Fix rails 6.0.rc1 email uniqueness validation deprecation warning (by @​Vasfed)
  • bug fixes

    • Add autocomplete="new-password" to password_confirmation fields (by @​ferrl)
    • Fix rails_51_and_up? method for Rails 6.rc1 (by @​igorkasyanchuk)
Commits

Merge request reports