Skip to content

Commit e1e2548

Browse files
Test with Ruby 4.0
https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/ We need to add `ostruct` as a dev dependency because it doesn't come as a default gem with Ruby 4.0 anymore.
1 parent 49e6377 commit e1e2548

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- gemfiles/Gemfile-rails-7-1
1414
- gemfiles/Gemfile-rails-7-0
1515
ruby:
16+
- '4.0'
1617
- '3.4'
1718
- '3.3'
1819
- '3.2'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Unreleased
2+
3+
* Ruby 4.0 support (no changes required)
4+
15
## 0.9.0
26

37
* Add support for Ruby 3.3/3.4 and Rails 7.2/8.0/8.1. (no changes required)

Gemfile.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ GEM
6767
nokogiri (1.19.0)
6868
mini_portile2 (~> 2.8.2)
6969
racc (~> 1.4)
70+
ostruct (0.6.3)
7071
pp (0.6.3)
7172
prettyprint
7273
prettyprint (0.2.0)
@@ -122,10 +123,11 @@ PLATFORMS
122123
DEPENDENCIES
123124
actionpack (~> 8.1.0)
124125
activemodel (~> 8.1.0)
126+
ostruct
125127
railties (~> 8.1.0)
126128
rake
127129
rdoc
128130
show_for!
129131

130132
BUNDLED WITH
131-
2.6.9
133+
4.0.3

show_for.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ Gem::Specification.new do |s|
2626

2727
s.add_dependency('activemodel', '>= 7.0')
2828
s.add_dependency('actionpack', '>= 7.0')
29+
30+
s.add_development_dependency('ostruct')
2931
end

0 commit comments

Comments
 (0)