Skip to content

Commit

Permalink
Support Rails 5.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brchristian committed Aug 7, 2020
1 parent 3b22d74 commit 8b5a225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion solidus_support.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency 'activesupport', ['>= 5.2', '< 7.0.x']
s.add_dependency 'activesupport', ['>= 5.1', '< 7.0.x']

s.add_development_dependency 'bundler'
s.add_development_dependency 'rake'
Expand Down
2 changes: 1 addition & 1 deletion spec/support/dummy_app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module DummyApp
class Application < ::Rails::Application
config.eager_load = false
config.paths['config/database'] = File.expand_path('dummy_app/database.yml', __dir__)
config.active_record.sqlite3.represent_boolean_as_integer = true
config.active_record.sqlite3.represent_boolean_as_integer = true unless Gem::Version.new(Rails.version) < Gem::Version.new('5.2')
end
end

Expand Down

0 comments on commit 8b5a225

Please sign in to comment.