rails/activesupport/test/core_ext
Sean Doyle 9e64b13d8a Yield instance to `Object#with` block
The introduction of the block argument means that `Object#with` can now
accept a `Symbol#to_proc` as the block argument:

```ruby
client.with(timeout: 5_000) do |c|
  c.get("/commits")
end
```
2024-01-07 20:56:33 +01:00
..
array Remove deprecated option to passing a format to `#to_s` 2023-03-03 00:38:30 +00:00
class Class attribute writer is a public method 2020-10-02 15:53:46 +09:00
digest Remove deprecated support to generate incorrect RFC 4122 UUIDs 2023-03-03 00:38:36 +00:00
hash Remove deprecated file `active_support/core_ext/hash/transform_values` 2020-10-30 00:25:58 +00:00
kernel allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module Simplify attr_internal_define 2023-10-31 13:42:57 +01:00
object Yield instance to `Object#with` block 2024-01-07 20:56:33 +01:00
pathname `Pathname.blank?` only returns true for `Pathname.new("")` 2022-02-19 09:54:58 +01:00
bigdecimal_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
class_test.rb Filter reloaded classes in Class#subclasses and Class#descendants core exts 2022-09-28 12:08:58 +02:00
date_and_time_behavior.rb Add `quarter` method to date/time (#45009) 2022-07-14 16:43:52 -07:00
date_and_time_compatibility_test.rb Add missing assert_not_deprecated deprecator args 2022-11-09 12:07:29 -06:00
date_ext_test.rb Don't use deprecated `#to_default_s` in `Date#to_fs` 2023-10-22 17:17:42 +09:00
date_time_ext_test.rb Remove deprecated option to passing a format to `#to_s` 2023-03-03 00:38:30 +00:00
duration_test.rb [Tests only] Enable `Minitest/AssertPredicate` rule 2023-10-13 19:26:47 +00:00
enumerable_test.rb Fix defect in Enumerable#many introduced in rails/rails@d862dff 2023-06-06 17:41:44 -04:00
erb_util_test.rb rubocop 2022-10-09 15:54:42 -07:00
file_test.rb atomic write race condition 2022-01-16 16:54:58 -08:00
hash_ext_test.rb Remove deprecated override of `ActiveSupport::TimeWithZone.name` 2023-03-03 00:38:31 +00:00
integer_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
kernel_test.rb [Active Support] Add explicit assertions to tests with no assertions 2022-02-15 23:44:25 +00:00
load_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module_test.rb Module#delegate takes a new private `as` parameter 2023-12-08 15:09:59 +01:00
name_error_test.rb Remove all version checking for older Rubies in tests 2021-02-05 13:21:45 +09:00
numeric_ext_test.rb Handle negative numbers in NumberToHumanSizeConverter 2023-10-26 18:07:15 +02:00
range_ext_test.rb Fix Range#overlap? ignoring empty ranges 2023-09-22 19:48:49 -04:00
regexp_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
secure_random_test.rb Use SecureRandom.alphanumeric for SecureRandom.base36 2023-08-30 11:28:42 +02:00
string_ext_test.rb Ensure {down,up}case_first returns non-frozen string 2023-10-29 12:28:06 -05:00
symbol_ext_test.rb Removes Symbol#start_with? and Symbol#end_with? since they are defined in Ruby 2.7 2021-02-07 21:47:25 -03:00
time_ext_test.rb Remove deprecated option to passing a format to `#to_s` 2023-03-03 00:38:30 +00:00
time_with_zone_test.rb Enable Minitest/LiteralAsActualArgument 2023-09-13 10:09:32 +09:00