forked from stas/jsonapi.rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsonapi.rb.gemspec
40 lines (34 loc) · 1.47 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
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.email = ['[email protected]']
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.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
end
spec.require_paths = ['lib']
spec.add_dependency 'jsonapi-serializer', '~> 2.0'
spec.add_dependency 'ransack'
spec.add_dependency 'rack'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rails', ENV['RAILS_VERSION']
spec.add_development_dependency 'sqlite3', ENV['SQLITE3_VERSION']
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'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'rubocop-performance'
end