./devel/ruby-activesupport80, Toolkit of support libraries (part of Rails 8.0)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 8.0.2, Package name: ruby32-activesupport80-8.0.2, Maintainer: pkgsrc-users

Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.

This is for Ruby on Rails 8.0.


Master sites:

Filesize: 245.5 KB

Version history: (Expand)


CVS history: (Expand)


   2025-03-16 16:17:25 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-activesupport80: update to 8.0.2

8.0.2 (2025/03/12)

* Fix setting to_time_preserves_timezone from new_framework_defaults_8_0.rb.

  fatkodima

* Fix Active Support Cache fetch_multi when local store is active.

  fetch_multi now properly yield to the provided block for missing entries
  that have been recorded as such in the local store.

  Jean Boussier

* Fix execution wrapping to report all exceptions, including Exception.

  If a more serious error like SystemStackError or NoMemoryError happens,
  the error reporter should be able to report these kinds of exceptions.

  Gannon McGibbon

* Fix RedisCacheStore and MemCacheStore to also handle connection pool
  related errors.

  These errors are rescued and reported to Rails.error.

  Jean Boussier

* Fix ActiveSupport::Cache#read_multi to respect version expiry when using
  local cache.

  zzak

* Fix ActiveSupport::MessageVerifier and ActiveSupport::MessageEncryptor
  configuration of on_rotation callback.

    verifier.rotate(old_secret).on_rotation { ... }

  Now both work as documented.

  Jean Boussier

* Fix ActiveSupport::MessageVerifier to always be able to verify both
  URL-safe and URL-unsafe payloads.

  This is to allow transitioning seemlessly from either configuration
  without immediately invalidating all previously generated signed messages.

  Jean Boussier, Florent Beaurain, Ali Sepehri

* Fix cache.fetch to honor the provided expiry when :race_condition_ttl is used.

    cache.fetch("key", expires_in: 1.hour, race_condition_ttl: 5.second) do
      "something"
    end

  In the above example, the final cache entry would have a 10 seconds TTL
  instead of the requested 1 hour.

  Dhia

* Better handle procs with splat arguments in set_callback.

  Radamés Roriz

* Fix String#mb_chars to not mutate the receiver.

  Previously it would call force_encoding on the receiver, now it dups the
  receiver first.

  Jean Boussier

* Improve ErrorSubscriber to also mark error causes as reported.

  This avoid some cases of errors being reported twice, notably in views
  because of how errors are wrapped in ActionView::Template::Error.

  Jean Boussier

* Fix Module#module_parent_name to return the correct name after the module
  has been named.

  When called on an anonymous module, the return value wouldn't change after
  the module was given a name later by being assigned to a constant.

    mod = Module.new
    mod.module_parent_name # => "Object"
    MyModule::Something = mod
    mod.module_parent_name # => "MyModule"

  Jean Boussier
   2025-01-23 09:02:14 by Thomas Klausner | Files touched by this commit (13)
Log message:
*: Rails 8.0 is not available for Ruby 3.1
   2025-01-16 15:36:02 by Thomas Klausner | Files touched by this commit (1)
Log message:
ruby-activesupport80: does not support Ruby 3.1
   2025-01-02 08:02:34 by Takahiro Kambe | Files touched by this commit (4)
Log message:
devel/ruby-activesupport80: add package version 8.0.1

Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework.  These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.

This is for Ruby on Rails 8.0.