jamesst20 (James St-Pierre)
- Login: jamesst20
- Registered on: 02/18/2025
- Last sign in: 05/05/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
05/05/2025
-
06:44 PM Ruby Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- jamesst20 (James St-Pierre) wrote in #note-8:
> According to the changelogs for v3.4.2, this wasn't included?
> ...
To add more details, this fix was also not included in v3.4.3.
The fix: https://github.com/ruby/ruby/commit/f56f3eaa...
02/20/2025
-
07:26 PM Ruby Bug #21030: Bug: #step with Range<ActiveSupport::Duration> behavior broken on Ruby 3.4.1
- According to the changelogs for v3.4.2, this wasn't included?
https://github.com/ruby/ruby/releases/tag/v3_4_2
02/18/2025
-
02:55 PM Ruby Bug #21147: [Breaking changes or Bug] DateTime Range#to_a behaves different between 3.3.7 and 3.4.1
- Sorry, the exemple above is incorrect.
Pure Ruby reproductible
```ruby
require 'date'
require 'json'
a = Time.now.to_date
# Ruby 3.3.7
(a..a).step(7).to_a
# => [Tue, 18 Feb 2025]
# Ruby 3.4.1
(a..a).step(7).to_a
# =... -
02:40 PM Ruby Bug #21147 (Closed): [Breaking changes or Bug] DateTime Range#to_a behaves different between 3.3.7 and 3.4.1
- ``` ruby
a = Time.zone.now.to_date
b = Time.zone.now.to_date
# Ruby 3.3.7
(a..b).to_a
=> [Tue, 18 Feb 2025]
# Ruby 3.4.1
(a..b).to_a
=> []
```