-
Notifications
You must be signed in to change notification settings - Fork 59
/
jsonapi.rb.gemspec
44 lines (37 loc) · 1.63 KB
/
jsonapi.rb.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
42
43
44
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'jsonapi/version'
Gem::Specification.new do |spec|
spec.name = 'jsonapi.rb'
spec.version = JSONAPI::VERSION
spec.authors = ['Stas Suscov']
spec.summary = 'So you say you need JSON:API support in your API...'
spec.description = (
'JSON:API serialization, error handling, filtering and pagination.'
)
spec.homepage = 'https://github.com/stas/jsonapi.rb'
spec.license = 'MIT'
spec.files = Dir.glob('{lib,spec}/**/*', File::FNM_DOTMATCH)
spec.files += %w(LICENSE.txt README.md)
spec.require_paths = ['lib']
spec.post_install_message = (
'Install manually `ransack` gem before using `JSONAPI::Filtering`!'
)
spec.add_dependency 'jsonapi-serializer'
spec.add_dependency 'rack'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'ransack'
spec.add_development_dependency 'railties', ENV['RAILS_VERSION']
spec.add_development_dependency 'activerecord', ENV['RAILS_VERSION']
spec.add_development_dependency 'sqlite3', '~> 1.7'
spec.add_development_dependency 'ffaker'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'rspec-rails'
spec.add_development_dependency 'jsonapi-rspec'
spec.add_development_dependency 'yardstick'
spec.add_development_dependency 'rubocop-rails_config'
spec.add_development_dependency 'rubocop', ENV['RUBOCOP_VERSION']
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'rubocop-performance'
end