Tweak rswag-ui.gemspec to include node_modules

This commit is contained in:
domaindrivendev 2018-05-24 09:31:06 -07:00
parent 0c49c7e667
commit efdfee5110
2 changed files with 2 additions and 4 deletions

View File

@ -44,9 +44,7 @@ jobs:
tags: true
- stage: publish components
script:
- 'cd rswag-ui'
- 'npm install'
script: 'cd rswag-ui'
deploy:
gemspec: rswag-ui.gemspec
provider: rubygems

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'