mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Tweak rswag-ui.gemspec to include node_modules
This commit is contained in:
parent
0c49c7e667
commit
efdfee5110
@ -44,9 +44,7 @@ jobs:
|
|||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
- stage: publish components
|
- stage: publish components
|
||||||
script:
|
script: 'cd rswag-ui'
|
||||||
- 'cd rswag-ui'
|
|
||||||
- 'npm install'
|
|
||||||
deploy:
|
deploy:
|
||||||
gemspec: rswag-ui.gemspec
|
gemspec: rswag-ui.gemspec
|
||||||
provider: rubygems
|
provider: rubygems
|
||||||
|
|||||||
@ -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.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"
|
||||||
|
|
||||||
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 'actionpack', '>=3.1', '< 6.0'
|
||||||
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user