Skip to content

Commit

Permalink
fix tests on ruby 3.0 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
olegantonyan committed Dec 26, 2023
1 parent e4a0a75 commit 832530e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion factory_bot.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |s|
}

s.add_dependency("activesupport", ">= 5.0.0")
s.add_dependency("observer") if RUBY_VERSION >= Gem::Version.new('3.3')
s.add_dependency("observer") if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.3')

s.add_development_dependency("activerecord")
s.add_development_dependency("appraisal")
Expand Down

0 comments on commit 832530e

Please sign in to comment.