# -*- encoding: utf-8 -*-
require File.expand_path('../lib/sexy_scopes/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = 'sexy_scopes'
  gem.version       = SexyScopes::VERSION
  
  gem.summary = %{Write beautiful and expressive ActiveRecord scopes without SQL.}
  gem.description = %{Small DSL to create ActiveRecord (>= 3) attribute predicates without writing SQL.}
  
  gem.authors       = ['Samuel Lebeau']
  gem.email         = 'samuel.lebeau@gmail.com'
  gem.homepage      = 'https://github.com/samleb/sexy_scopes'

  gem.files         = `git ls-files`.split($/)
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  
  gem.licenses = ['MIT']
  
  gem.add_dependency 'activerecord', '~> 3.0'
  
  gem.add_development_dependency 'bundler', '~> 1.0'
  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'rails', '~> 3.0'
  gem.add_development_dependency 'rspec', '~> 2.0'
  gem.add_development_dependency 'sqlite3'
  if RUBY_VERSION >= '1.9'
    gem.add_development_dependency 'simplecov'
  else
    gem.add_development_dependency 'rcov'
  end
end

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/sexy_scopes/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = 'sexy_scopes'
  gem.version       = SexyScopes::VERSION
  
  gem.summary = %{Write beautiful and expressive ActiveRecord scopes without SQL.}
  gem.description = %{Small DSL to create ActiveRecord (>= 3) attribute predicates without writing SQL.}
  
  gem.authors       = ['Samuel Lebeau']
  gem.email         = 'samuel.lebeau@gmail.com'
  gem.homepage      = 'https://github.com/samleb/sexy_scopes'

  gem.files         = `git ls-files`.split($/)
  gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
  
  gem.licenses = ['MIT']
  
  gem.add_dependency 'activerecord', '~> 3.0'
  
  gem.add_development_dependency 'bundler', '~> 1.0'
  gem.add_development_dependency 'rake', '~> 0.9'
  gem.add_development_dependency 'rails', '~> 3.0'
  gem.add_development_dependency 'rspec', '~> 2.0'
  gem.add_development_dependency 'sqlite3', '~> 1.0'
  gem.add_development_dependency 'redcarpet', '~> 2.2'
  gem.add_development_dependency 'yard', '~> 0.8'
  if RUBY_VERSION >= '1.9'
    gem.add_development_dependency 'simplecov'
  else
    gem.add_development_dependency 'rcov'
  end
end

Update gemspec (yard ~> 0.8 & requires redcarpet)
Update gemspec (yard ~> 0.8 & requires redcarpet)
