From edc7e7c036e217d932745123a08b8b0eea53cdf0 Mon Sep 17 00:00:00 2001 From: richie Date: Wed, 12 Oct 2016 12:46:01 -0700 Subject: [PATCH] Ensure swagger-ui files are included in rswag-ui.gemspec --- Gemfile.lock | 1 + rswag-api/rswag-api.gemspec | 2 +- rswag-specs/rswag-specs.gemspec | 4 ++-- rswag-ui/rswag-ui.gemspec | 2 +- rswag/rswag.gemspec | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 95d3650..35e285d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -10,6 +10,7 @@ PATH rswag-specs (1.0.0) json-schema (~> 2.2) rails (>= 3.1, < 5.1) + rspec-rails (>= 2.14, < 4) PATH remote: ./rswag-ui diff --git a/rswag-api/rswag-api.gemspec b/rswag-api/rswag-api.gemspec index 71c6981..5275ea2 100644 --- a/rswag-api/rswag-api.gemspec +++ b/rswag-api/rswag-api.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = "Open up your API to the phenomenal Swagger ecosystem by exposing Swagger files, that describe your service, as JSON endpoints" s.license = "MIT" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ] + s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ] s.add_dependency "rails", ">= 3.1", "< 5.1" end diff --git a/rswag-specs/rswag-specs.gemspec b/rswag-specs/rswag-specs.gemspec index 770a7fc..6bfd38b 100644 --- a/rswag-specs/rswag-specs.gemspec +++ b/rswag-specs/rswag-specs.gemspec @@ -14,9 +14,9 @@ Gem::Specification.new do |s| s.description = "Simplify API integration testing with a succinct rspec DSL and generate Swagger files directly from your rspecs" s.license = "MIT" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ] + s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ] s.add_dependency "rails", ">= 3.1", "< 5.1" s.add_dependency 'json-schema', '~> 2.2' - s.add_development_dependency 'rspec-rails', '>= 2.14', '< 4' + s.add_dependency 'rspec-rails', '>= 2.14', '< 4' end diff --git a/rswag-ui/rswag-ui.gemspec b/rswag-ui/rswag-ui.gemspec index ea911d0..2634542 100644 --- a/rswag-ui/rswag-ui.gemspec +++ b/rswag-ui/rswag-ui.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = "Expose beautiful API documentation, that's powered by Swagger JSON endpoints, including a UI to explore and test operations" s.license = "MIT" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ] + s.files = Dir["{app,config,lib,vendor}/**/*"] + ["MIT-LICENSE", "Rakefile" ] s.add_dependency "rails", ">= 3.1", "< 5.1" end diff --git a/rswag/rswag.gemspec b/rswag/rswag.gemspec index 5518b53..5ebcb7a 100644 --- a/rswag/rswag.gemspec +++ b/rswag/rswag.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.description = "Generate beautiful API documentation, including a UI to explore and test operations, directly from your rspec integration tests" s.license = "MIT" - s.files = Dir["{app,config,db,lib}/**/*"] + [ "MIT-LICENSE" ] + s.files = Dir["{lib}/**/*"] + [ "MIT-LICENSE" ] s.add_dependency 'rswag-specs', Rswag::VERSION s.add_dependency 'rswag-api', Rswag::VERSION