forked from archiloque/sinatra-swagger-exposer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsinatra-swagger-exposer.gemspec
31 lines (24 loc) · 1.21 KB
/
sinatra-swagger-exposer.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sinatra/swagger-exposer/version'
excluded_patterns = ['test/', 'example/', '.travis.yml', '.gitignore']
Gem::Specification.new do |spec|
spec.name = 'sinatra-swagger-exposer'
spec.version = Sinatra::SwaggerExposer::VERSION
spec.authors = ['Julien Kirch']
spec.summary = %q{Expose swagger API from your Sinatra app}
spec.description = %q{This Sinatra extension enable you to add metadata to your code to expose your API as a Swagger endpoint and to validate and enrich the invocation parameters}
spec.homepage = 'https://github.com/archiloque/sinatra-swagger-exposer'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject { |f| excluded_patterns.any? { |ep| f.start_with?(ep) } }
spec.require_paths = ['lib']
spec.add_dependency 'sinatra', '~> 1.4'
spec.add_dependency 'mime-types'
spec.add_dependency 'pry'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'minitest', '~> 5.5'
spec.add_development_dependency 'rack-test', '~> 0.6.3'
spec.add_development_dependency 'simplecov'
end