Add support for Rails 5.2
parent
902dc6cedd
commit
0c4196a6b4
|
@ -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: {
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue