5 Commits
2.0.1 ... 2.0.3

Author SHA1 Message Date
Richard Morris
b9f71fe9b1 Merge pull request #117 from imRohan/master
Fixed typos in the swagger_helper.rb file
2018-05-24 20:00:10 -07:00
Richard Morris
870d467046 Merge pull request #125 from indocomsoft/patch-1
Fix travis to not cleanup when publishing rswag-ui
2018-05-24 19:59:56 -07:00
Julius Putra Tanu Setiaji
334671cb95 Fix travis to not cleanup when publishing rswag-ui
This is to keep `node_modules` directory.
2018-05-25 10:05:48 +08:00
domaindrivendev
efdfee5110 Tweak rswag-ui.gemspec to include node_modules 2018-05-24 09:31:06 -07:00
Rohan Likhite
fee3b3bb84 fixed typos in the swagger_helper.rb file 2018-03-29 11:42:36 -04:00
4 changed files with 5 additions and 6 deletions

View File

@@ -44,13 +44,12 @@ jobs:
tags: true
- stage: publish components
script:
- 'cd rswag-ui'
- 'npm install'
script: 'cd rswag-ui'
deploy:
gemspec: rswag-ui.gemspec
provider: rubygems
api_key: $RUBYGEMS_API_KEY
skip_cleanup: true
on:
branch: master
tags: true

View File

@@ -3,7 +3,7 @@ require 'rails_helper'
RSpec.configure do |config|
# Specify a root folder where Swagger JSON files are generated
# NOTE: If you're using the rswag-api to serve API descriptions, you'll need
# to ensure that it's confiugred to server Swagger from the same folder
# to ensure that it's configured to serve Swagger from the same folder
config.swagger_root = Rails.root.to_s + '/swagger'
# Define one or more Swagger documents and provide global metadata for each one

View File

@@ -11,7 +11,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["{lib,node_modules}/**/*"] + ["MIT-LICENSE", "Rakefile" ]
s.files = Dir.glob("{lib,node_modules}/**/*") + ["MIT-LICENSE", "Rakefile" ]
s.add_dependency 'actionpack', '>=3.1', '< 6.0'
s.add_dependency 'railties', '>= 3.1', '< 6.0'

View File

@@ -3,7 +3,7 @@ require 'rails_helper'
RSpec.configure do |config|
# Specify a root folder where Swagger JSON files are generated
# NOTE: If you're using the rswag-api to serve API descriptions, you'll need
# to ensure that it's confiugred to server Swagger from the same folder
# to ensure that it's configured to serve Swagger from the same folder
config.swagger_root = Rails.root.to_s + '/swagger'
# Define one or more Swagger documents and provide global metadata for each one