Skip to content

Commit

Permalink
Support Rails 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terracatta committed Nov 10, 2024
1 parent c71263c commit 3603baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/scimitar/complex_types/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def initialize(options={})
# attributes of this complex type object.
#
def as_json(options={})
options = options.dup if options.frozen?
options[:except] ||= ['errors']
super.except(options)
end
Expand Down
2 changes: 1 addition & 1 deletion scimitar.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.7.0'

s.add_dependency 'rails', '~> 7.0'
s.add_dependency 'rails', '~> 8.0'

s.add_development_dependency 'debug', '~> 1.9'
s.add_development_dependency 'rake', '~> 13.2'
Expand Down

0 comments on commit 3603baa

Please sign in to comment.