consul.gemspec in consul-0.13.2 vs consul.gemspec in consul-0.14.0
- old
+ new
@@ -9,14 +9,21 @@
s.homepage = 'https://github.com/makandra/consul'
s.summary = 'A scope-based authorization solution for Ruby on Rails.'
s.description = s.summary
s.license = 'MIT'
+ if RUBY_VERSION.to_f >= 2.0
+ s.metadata = {
+ 'bug_tracker_uri' => 'https://github.com/makandra/consul/issues',
+ 'changelog_uri' => 'https://github.com/makandra/consul/blob/master/CHANGELOG.md',
+ }
+ end
+
s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|spec|features)/}) }
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency('memoizer')
- s.add_dependency('rails')
+ s.add_dependency('rails', '>=3.2')
s.add_dependency('edge_rider', '>= 0.3.0')
end