association_callbacks.gemspec in association_callbacks-1.0.0 vs association_callbacks.gemspec in association_callbacks-1.0.1
- old
+ new
@@ -7,15 +7,14 @@
s.homepage = 'https://github.com/alexistoulotte/association_callbacks'
s.summary = 'Callbacks for ActiveRecord associations'
s.description = 'Provides a way to define callbacks of one ActiveRecord model into an associated one'
s.license = 'MIT'
- s.rubyforge_project = 'association_callbacks'
-
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.files = `git ls-files | grep -vE '^(spec/|test/|\\.|Gemfile|Rakefile)'`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ['lib']
+
+ s.required_ruby_version = '>= 2.0.0'
s.add_dependency 'activerecord', '>= 5.0.0', '< 5.1.0'
s.add_dependency 'activesupport', '>= 5.0.0', '< 5.1.0'
s.add_development_dependency 'byebug', '>= 3.2.0', '< 3.6.0'