Skip to content

Commit

Permalink
Add ostruct as a dependency
Browse files Browse the repository at this point in the history
Fixes the warning:
warning: .../ruby/3.3.5/lib/ruby/3.3.0/ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
  • Loading branch information
shaicoleman committed Sep 6, 2024
1 parent 01cb6b9 commit 7a930a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord-import.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ Gem::Specification.new do |gem|
gem.required_ruby_version = ">= 2.4.0"

gem.add_runtime_dependency "activerecord", ">= 4.2"
gem.add_runtime_dependency "ostruct"
gem.add_development_dependency "rake"
end

0 comments on commit 7a930a0

Please sign in to comment.