$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'couch_potato/version'

Gem::Specification.new do |s|
  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', '~> 2.1'
  s.add_dependency 'couchrest', '~>2.0.1'
  s.add_dependency 'activemodel', '>= 4.0'

  s.add_development_dependency 'rspec', '~>3.5'
  s.add_development_dependency 'timecop'
  s.add_development_dependency 'tzinfo'
  s.add_development_dependency 'rake', '~>12.3.1'

  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
