Finishes some renaming elements that were missed previously

Modifes the travis.yml in trying to setup travis CI build
This commit is contained in:
Jay Danielian 2019-08-01 14:05:57 -04:00
parent 6d285d2c4f
commit 157175c90f
9 changed files with 29 additions and 26 deletions

View File

@ -1,16 +1,15 @@
language: ruby language: ruby
rvm: rvm:
- 2.2.5 - 2.5.1
env: env:
- RAILS_VERSION=5.2.0 - RAILS_VERSION=5.2.0
- RAILS_VERSION=4.2.0 - RAILS_VERSION=4.2.0
- RAILS_VERSION=3.2.22
cache: cache:
directories: directories:
- /home/travis/.rvm/gems/ruby-2.2.5 - /home/travis/.rvm/gems/ruby-2.5.1
install: ./ci/build.sh install: ./ci/build.sh
@ -26,7 +25,7 @@ jobs:
- stage: publish components - stage: publish components
script: 'cd rswag-api' script: 'cd rswag-api'
deploy: deploy:
gemspec: rswag-api.gemspec gemspec: open_api-rswag-api.gemspec
provider: rubygems provider: rubygems
api_key: $RUBYGEMS_API_KEY api_key: $RUBYGEMS_API_KEY
on: on:
@ -36,7 +35,7 @@ jobs:
- stage: publish components - stage: publish components
script: 'cd rswag-specs' script: 'cd rswag-specs'
deploy: deploy:
gemspec: rswag-specs.gemspec gemspec: open_api-rswag-specs.gemspec
provider: rubygems provider: rubygems
api_key: $RUBYGEMS_API_KEY api_key: $RUBYGEMS_API_KEY
on: on:
@ -46,7 +45,7 @@ jobs:
- stage: publish components - stage: publish components
script: 'cd rswag-ui' script: 'cd rswag-ui'
deploy: deploy:
gemspec: rswag-ui.gemspec gemspec: open_api-rswag-ui.gemspec
provider: rubygems provider: rubygems
api_key: $RUBYGEMS_API_KEY api_key: $RUBYGEMS_API_KEY
skip_cleanup: true skip_cleanup: true
@ -57,7 +56,7 @@ jobs:
- stage: publish rswag - stage: publish rswag
script: 'cd rswag' script: 'cd rswag'
deploy: deploy:
gemspec: rswag.gemspec gemspec: open_api-rswag.gemspec
provider: rubygems provider: rubygems
api_key: $RUBYGEMS_API_KEY api_key: $RUBYGEMS_API_KEY
on: on:

View File

@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = ENV['TRAVIS_TAG'] || '0.0.0' s.version = ENV['TRAVIS_TAG'] || '0.0.0'
s.authors = ["Richie Morris", "Jay Danielian"] s.authors = ["Richie Morris", "Jay Danielian"]
s.email = ["domaindrivendev@gmail.com"] 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.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.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.license = "MIT"

View File

@ -8,7 +8,7 @@ Gem::Specification.new do |s|
s.version = ENV['TRAVIS_TAG'] || '0.0.0' s.version = ENV['TRAVIS_TAG'] || '0.0.0'
s.authors = ['Richie Morris', 'Jay Danielian'] s.authors = ['Richie Morris', 'Jay Danielian']
s.email = ['domaindrivendev@gmail.com'] 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.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.description = 'Simplify API integration testing with a succinct rspec DSL and generate Swagger files directly from your rspecs'
s.license = 'MIT' s.license = 'MIT'

View File

@ -6,7 +6,7 @@ Gem::Specification.new do |s|
s.version = ENV['TRAVIS_TAG'] || '0.0.0' s.version = ENV['TRAVIS_TAG'] || '0.0.0'
s.authors = ["Richie Morris", "Jay Danielian"] s.authors = ["Richie Morris", "Jay Danielian"]
s.email = ["domaindrivendev@gmail.com"] 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.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.description = "Expose beautiful API documentation, that's powered by Swagger JSON endpoints, including a UI to explore and test operations"
s.license = "MIT" s.license = "MIT"

View 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

View File

@ -0,0 +1,6 @@
module OpenApi
module Rswag
class Railtie < ::Rails::Railtie
end
end
end

View File

@ -1,6 +0,0 @@
require 'rswag/specs'
require 'rswag/api'
require 'rswag/ui'
module Rswag
end

View File

@ -1,4 +0,0 @@
module Rswag
class Railtie < ::Rails::Railtie
end
end

View File

@ -2,18 +2,18 @@ $:.push File.expand_path("../lib", __FILE__)
# Describe your gem and declare its dependencies: # Describe your gem and declare its dependencies:
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "rswag" s.name = "open_api-rswag"
s.version = ENV['TRAVIS_TAG'] || '0.0.0' s.version = ENV['TRAVIS_TAG'] || '0.0.0'
s.authors = ["Richie Morris"] s.authors = ["Richie Morris", "Jay Danielian"]
s.email = ["domaindrivendev@gmail.com"] 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.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.description = "Generate beautiful API documentation, including a UI to explore and test operations, directly from your rspec integration tests"
s.license = "MIT" s.license = "MIT"
s.files = Dir["{lib}/**/*"] + [ "MIT-LICENSE" ] s.files = Dir["{lib}/**/*"] + [ "MIT-LICENSE" ]
s.add_dependency 'rswag-specs', ENV['TRAVIS_TAG'] || '0.0.0' s.add_dependency 'open_api-rswag-specs', ENV['TRAVIS_TAG'] || '0.0.0'
s.add_dependency 'rswag-api', ENV['TRAVIS_TAG'] || '0.0.0' s.add_dependency 'open_api-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-ui', ENV['TRAVIS_TAG'] || '0.0.0'
end end