Skip to content

Bump rails, rails-i18n and activeadmin

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

Updates rails from 5.2.3 to 6.0.1

Release notes

Sourced from rails's releases.

6.0.1

Active Support

  • ActiveSupport::SafeBuffer supports Enumerator methods.

    Shugo Maeda

  • The Redis cache store fails gracefully when the server returns a "max number of clients reached" error.

    Brandon Medenwald

  • Fixed that mutating a value returned by a memory cache store would unexpectedly change the cached value.

    Jonathan Hyman

  • The default inflectors in zeitwerk mode support overrides:

    # config/initializers/zeitwerk.rb
    Rails.autoloaders.each do |autoloader|
      autoloader.inflector.inflect(
        "html_parser" => "HTMLParser",
        "ssl_error"   => "SSLError"
      )
    end

    That way, you can tweak how individual basenames are inflected without touching Active Support inflection rules, which are global. These inflectors fallback to String#camelize, so existing inflection rules are still taken into account for non-overridden basenames.

    Please, check the autoloading guide for zeitwerk mode if you prefer not to depend on String#camelize at all.

    Xavier Noria

  • Improve Range#===, Range#include?, and Range#cover? to work with beginless (startless) and endless range targets.

    Allen Hsu, Andrew Hodgkinson

  • Don't use Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID) on Solaris

    Iain Beeston

Active Model

  • No changes.

Active Record

... (truncated)
Commits
  • 09a2979 v6.0.1
  • 1f6f2da i18n.md: Remove Rails versions from Traco link
  • e83cef4 Fix multi-threaded issue for AcceptanceValidator
  • 5081817 Correct changelog entry [ci skip]
  • 27cf712 Remove whitespace in environments/test.rb
  • 7982363 v6.0.1.rc1
  • 81c52b1 Edit AS core extension docs [ci skip]
  • 927da2f Clarify that CORS configuration isn't needed for the Disk service [ci skip]
  • e58c25e Correct "Unknown action" screenshot in Getting Started guide
  • 9a4ff4d Add supports_common_table_expressions? for CTE testing
  • 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.4.0 to 2.5.0

Release notes

Sourced from activeadmin's releases.

2.5.0

Enhancements

  • Azerbaijani translation. #5078 by [@​orkhan]

Bug Fixes

  • Convert namespace to sym to prevent duplicate namespaces such as :foo and 'foo'. #5931 by [@​westonganger]
  • Use filter label when condition has a predicate. #5886 by [@​ko-lem]
  • Fix error when routing with array containing symbol. #5870 by [@​jwesorick]
  • Fix error when there is a model named Tag and meta_tags have been configured. #5893 by [@​micred], [@​FabioRos] and [@​deivid-rodriguez]
  • Allow specifying custom input_html for DateRangeInput. #5867 by [@​mirelon]
  • Adjust #main_content right margin to take into account possible custom values of $sidebar-width and $section-padding. #5887 by [@​guigs]
  • Improved polymorphic routes generation to avoid problems when multiple belongs_to are defined. #5938 by [@​leio10]

Dependency Changes

  • Support for Rails 5.0 and Rails 5.1 has been dropped. #5877 by [@​deivid-rodriguez]

#1926: activeadmin/activeadmin#1926 #1979: activeadmin/activeadmin#1979 #2001: activeadmin/activeadmin#2001 #2040: activeadmin/activeadmin#2040 #2326: activeadmin/activeadmin#2326 #2523: activeadmin/activeadmin#2523 #2532: activeadmin/activeadmin#2532 #2541: activeadmin/activeadmin#2541 #2544: activeadmin/activeadmin#2544 #2545: activeadmin/activeadmin#2545 #3038: activeadmin/activeadmin#3038 #3075: activeadmin/activeadmin#3075 #3463: activeadmin/activeadmin#3463 #3464: activeadmin/activeadmin#3464 #3486: activeadmin/activeadmin#3486 #3519: activeadmin/activeadmin#3519 #3535: activeadmin/activeadmin#3535 #3553: activeadmin/activeadmin#3553 #3606: activeadmin/activeadmin#3606 #3686: activeadmin/activeadmin#3686 #3695: activeadmin/activeadmin#3695 #3731: activeadmin/activeadmin#3731 #3783: activeadmin/activeadmin#3783 #3894: activeadmin/activeadmin#3894 #4118: activeadmin/activeadmin#4118 #4173: activeadmin/activeadmin#4173 #4187: activeadmin/activeadmin#4187 #4254: activeadmin/activeadmin#4254

... (truncated)
Changelog

Sourced from activeadmin's changelog.

2.5.0

Enhancements

  • Azerbaijani translation. #5078 by [@​orkhan]

Bug Fixes

  • Convert namespace to sym to prevent duplicate namespaces such as :foo and 'foo'. #5931 by [@​westonganger]
  • Use filter label when condition has a predicate. #5886 by [@​ko-lem]
  • Fix error when routing with array containing symbol. #5870 by [@​jwesorick]
  • Fix error when there is a model named Tag and meta_tags have been configured. #5893 by [@​micred], [@​FabioRos] and [@​deivid-rodriguez]
  • Allow specifying custom input_html for DateRangeInput. #5867 by [@​mirelon]
  • Adjust #main_content right margin to take into account possible custom values of $sidebar-width and $section-padding. #5887 by [@​guigs]
  • Improved polymorphic routes generation to avoid problems when multiple belongs_to are defined. #5938 by [@​leio10]

Dependency Changes

  • Support for Rails 5.0 and Rails 5.1 has been dropped. #5877 by [@​deivid-rodriguez]
Commits

Merge request reports