couch_potato.gemspec in couch_potato-1.4.0 vs couch_potato.gemspec in couch_potato-1.6.3
- old
+ new
@@ -1,28 +1,27 @@
-# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "couch_potato/version"
+$LOAD_PATH.push File.expand_path('../lib', __FILE__)
+require 'couch_potato/version'
Gem::Specification.new do |s|
- s.name = "couch_potato"
- s.summary = %Q{Ruby persistence layer for CouchDB}
- s.email = "alex@upstre.am"
- s.homepage = "http://github.com/langalex/couch_potato"
- s.description = "Ruby persistence layer for CouchDB"
- s.authors = ["Alexander Lang"]
+ s.name = 'couch_potato'
+ s.summary = 'Ruby persistence layer for CouchDB'
+ s.email = 'alex@upstre.am'
+ s.homepage = 'http://github.com/langalex/couch_potato'
+ s.description = 'Ruby persistence layer for CouchDB'
+ s.authors = ['Alexander Lang']
s.version = CouchPotato::VERSION
s.platform = Gem::Platform::RUBY
s.add_dependency 'json', '~> 1.6'
- s.add_dependency 'couchrest', '~>1.2.0'
- s.add_dependency 'activemodel'
+ s.add_dependency 'couchrest', '~>2.0.0.rc3'
+ s.add_dependency 'activemodel', '~> 4.0'
- s.add_development_dependency 'rspec', '~>2.11.0'
+ s.add_development_dependency 'rspec', '~>3.2.0'
s.add_development_dependency 'timecop'
s.add_development_dependency 'tzinfo'
s.add_development_dependency 'rake'
- s.files = `git ls-files`.split("\n")
- 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.files = `git ls-files | grep -v "lib/couch_potato/rspec"`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/* | grep -v rspec_matchers`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map {|f| File.basename(f) }
+ s.require_paths = ['lib']
end