-
Notifications
You must be signed in to change notification settings - Fork 10
/
grape-swagger-representable.gemspec
36 lines (30 loc) · 1.6 KB
/
grape-swagger-representable.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'grape-swagger/representable/version'
Gem::Specification.new do |s|
s.name = 'grape-swagger-representable'
s.version = GrapeSwagger::Representable::VERSION
s.authors = ['Kirill Zaitsev']
s.email = ['[email protected]']
s.summary = 'Grape swagger adapter to support representable object parsing'
s.homepage = 'https://github.com/Bugagazavr/grape-swagger-representable'
s.license = 'MIT'
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
s.bindir = 'exe'
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ['lib']
s.add_runtime_dependency 'grape-swagger', '>= 0.31.0'
s.add_runtime_dependency 'representable'
s.add_development_dependency 'bundler', '~> 1.12'
s.add_development_dependency 'multi_json'
s.add_development_dependency 'pry' unless RUBY_PLATFORM.eql?('java') || RUBY_ENGINE.eql?('rbx')
s.add_development_dependency 'pry-byebug' unless RUBY_PLATFORM.eql?('java') || RUBY_ENGINE.eql?('rbx')
s.add_development_dependency 'rack-cors'
s.add_development_dependency 'rack-test'
s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'redcarpet' unless RUBY_PLATFORM.eql?('java') || RUBY_ENGINE.eql?('rbx')
s.add_development_dependency 'rouge' unless RUBY_PLATFORM.eql?('java') || RUBY_ENGINE.eql?('rbx')
s.add_development_dependency 'rspec', '~> 3.0'
s.add_development_dependency 'rubocop'
end