Add support for Rails 5.2

master
Guillaume Dott 2018-04-27 15:13:19 +02:00
parent 902dc6cedd
commit 0c4196a6b4
2 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ describe TheModerator::Model do
it 'moderates association fields' do
category = Category.new(name: 'category')
category.create_page
category.build_page
category.save
category.attributes = {page_attributes: {

View File

@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "activemodel", ">= 3.2.0", "< 5.2"
spec.add_dependency "activerecord", ">= 3.2.0", "< 5.2"
spec.add_dependency "activesupport", ">= 3.2.0", "< 5.2"
spec.add_dependency "activemodel", ">= 3.2.0", "< 5.3"
spec.add_dependency "activerecord", ">= 3.2.0", "< 5.3"
spec.add_dependency "activesupport", ">= 3.2.0", "< 5.3"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", "~> 10.3"