-
Notifications
You must be signed in to change notification settings - Fork 10
/
sexy_scopes.gemspec
41 lines (33 loc) · 1.61 KB
/
sexy_scopes.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- 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.1) attribute predicates without writing SQL.}
gem.authors = ['Samuel Lebeau']
gem.email = '[email protected]'
gem.homepage = 'https://github.com/samleb/sexy_scopes'
gem.files = Dir['*.md', 'LICENSE', 'lib/**/*.rb']
gem.licenses = ['MIT']
gem.required_ruby_version = '>= 2.0.0'
gem.add_dependency 'activerecord', '>= 4.0', '< 5.2'
gem.add_development_dependency 'appraisal', '~> 2.1'
gem.add_development_dependency 'bundler', '~> 1.0'
gem.add_development_dependency 'rake', '>= 0.9'
gem.add_development_dependency 'rspec', '~> 3.0'
if RUBY_ENGINE == 'jruby'
gem.add_development_dependency 'jdbc-sqlite3', '~> 3.0'
gem.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
gem.add_development_dependency 'activerecord-jdbcmysql-adapter', '~> 1.0'
gem.add_development_dependency 'activerecord-jdbcpostgresql-adapter', '~> 1.0'
gem.add_development_dependency 'kramdown', '~> 1.2'
else
gem.add_development_dependency 'sqlite3', '~> 1.0'
gem.add_development_dependency 'mysql2', '~> 0.4.9'
gem.add_development_dependency 'pg', '~> 0.8'
gem.add_development_dependency 'redcarpet', '~> 3.0'
end
gem.add_development_dependency 'yard', '~> 0.8'
gem.add_development_dependency 'simplecov'
end