mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Finishes some renaming elements that were missed previously
Modifes the travis.yml in trying to setup travis CI build
This commit is contained in:
parent
6d285d2c4f
commit
157175c90f
13
.travis.yml
13
.travis.yml
@ -1,16 +1,15 @@
|
||||
language: ruby
|
||||
|
||||
rvm:
|
||||
- 2.2.5
|
||||
- 2.5.1
|
||||
|
||||
env:
|
||||
- RAILS_VERSION=5.2.0
|
||||
- RAILS_VERSION=4.2.0
|
||||
- RAILS_VERSION=3.2.22
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- /home/travis/.rvm/gems/ruby-2.2.5
|
||||
- /home/travis/.rvm/gems/ruby-2.5.1
|
||||
|
||||
install: ./ci/build.sh
|
||||
|
||||
@ -26,7 +25,7 @@ jobs:
|
||||
- stage: publish components
|
||||
script: 'cd rswag-api'
|
||||
deploy:
|
||||
gemspec: rswag-api.gemspec
|
||||
gemspec: open_api-rswag-api.gemspec
|
||||
provider: rubygems
|
||||
api_key: $RUBYGEMS_API_KEY
|
||||
on:
|
||||
@ -36,7 +35,7 @@ jobs:
|
||||
- stage: publish components
|
||||
script: 'cd rswag-specs'
|
||||
deploy:
|
||||
gemspec: rswag-specs.gemspec
|
||||
gemspec: open_api-rswag-specs.gemspec
|
||||
provider: rubygems
|
||||
api_key: $RUBYGEMS_API_KEY
|
||||
on:
|
||||
@ -46,7 +45,7 @@ jobs:
|
||||
- stage: publish components
|
||||
script: 'cd rswag-ui'
|
||||
deploy:
|
||||
gemspec: rswag-ui.gemspec
|
||||
gemspec: open_api-rswag-ui.gemspec
|
||||
provider: rubygems
|
||||
api_key: $RUBYGEMS_API_KEY
|
||||
skip_cleanup: true
|
||||
@ -57,7 +56,7 @@ jobs:
|
||||
- stage: publish rswag
|
||||
script: 'cd rswag'
|
||||
deploy:
|
||||
gemspec: rswag.gemspec
|
||||
gemspec: open_api-rswag.gemspec
|
||||
provider: rubygems
|
||||
api_key: $RUBYGEMS_API_KEY
|
||||
on:
|
||||
|
||||
@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
||||
s.version = ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.authors = ["Richie Morris", "Jay Danielian"]
|
||||
s.email = ["domaindrivendev@gmail.com"]
|
||||
s.homepage = "https://github.com/jdanielian/rswag"
|
||||
s.homepage = "https://github.com/jdanielian/open-api-rswag"
|
||||
s.summary = "A Rails Engine that exposes Swagger files as JSON endpoints"
|
||||
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"
|
||||
|
||||
@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
||||
s.version = ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.authors = ['Richie Morris', 'Jay Danielian']
|
||||
s.email = ['domaindrivendev@gmail.com']
|
||||
s.homepage = 'https://github.com/jdanielian/rswag'
|
||||
s.homepage = 'https://github.com/jdanielian/open-api-rswag'
|
||||
s.summary = 'A Swagger-based DSL for rspec-rails & accompanying rake task for generating Swagger files'
|
||||
s.description = 'Simplify API integration testing with a succinct rspec DSL and generate Swagger files directly from your rspecs'
|
||||
s.license = 'MIT'
|
||||
|
||||
@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
||||
s.version = ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.authors = ["Richie Morris", "Jay Danielian"]
|
||||
s.email = ["domaindrivendev@gmail.com"]
|
||||
s.homepage = "https://github.com/jaydanielian/rswag"
|
||||
s.homepage = "https://github.com/jdanielian/open-api-rswag"
|
||||
s.summary = "A Rails Engine that includes swagger-ui and powers it from configured Swagger endpoints"
|
||||
s.description = "Expose beautiful API documentation, that's powered by Swagger JSON endpoints, including a UI to explore and test operations"
|
||||
s.license = "MIT"
|
||||
8
rswag/lib/open_api/rswag.rb
Normal file
8
rswag/lib/open_api/rswag.rb
Normal file
@ -0,0 +1,8 @@
|
||||
require 'open_api/rswag/specs'
|
||||
require 'open_api/rswag/api'
|
||||
require 'open_api/rswag/ui'
|
||||
|
||||
module OpenApi
|
||||
module Rswag
|
||||
end
|
||||
end
|
||||
6
rswag/lib/open_api/rswag/railtie.rb
Normal file
6
rswag/lib/open_api/rswag/railtie.rb
Normal file
@ -0,0 +1,6 @@
|
||||
module OpenApi
|
||||
module Rswag
|
||||
class Railtie < ::Rails::Railtie
|
||||
end
|
||||
end
|
||||
end
|
||||
@ -1,6 +0,0 @@
|
||||
require 'rswag/specs'
|
||||
require 'rswag/api'
|
||||
require 'rswag/ui'
|
||||
|
||||
module Rswag
|
||||
end
|
||||
@ -1,4 +0,0 @@
|
||||
module Rswag
|
||||
class Railtie < ::Rails::Railtie
|
||||
end
|
||||
end
|
||||
@ -2,18 +2,18 @@ $:.push File.expand_path("../lib", __FILE__)
|
||||
|
||||
# Describe your gem and declare its dependencies:
|
||||
Gem::Specification.new do |s|
|
||||
s.name = "rswag"
|
||||
s.name = "open_api-rswag"
|
||||
s.version = ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.authors = ["Richie Morris"]
|
||||
s.authors = ["Richie Morris", "Jay Danielian"]
|
||||
s.email = ["domaindrivendev@gmail.com"]
|
||||
s.homepage = "https://github.com/domaindrivendev/rswag"
|
||||
s.homepage = "https://github.com/jdanielian/open-api-rswag"
|
||||
s.summary = "Swagger tooling for Rails API'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["{lib}/**/*"] + [ "MIT-LICENSE" ]
|
||||
|
||||
s.add_dependency 'rswag-specs', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.add_dependency 'rswag-api', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.add_dependency 'rswag-ui', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.add_dependency 'open_api-rswag-specs', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.add_dependency 'open_api-rswag-api', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
s.add_dependency 'open_api-rswag-ui', ENV['TRAVIS_TAG'] || '0.0.0'
|
||||
end
|
||||
Loading…
Reference in New Issue
Block a user