efigence-swagger_ui_wrapper 0.0.1 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c6a562deb54417f6bfb15ebd6515284917fa65b
4
- data.tar.gz: 2eb94a94d09ca86dae6bffad47b7986f300150c6
3
+ metadata.gz: af46eff2f6ec90e911caf8b192fb7fa5cb9c960b
4
+ data.tar.gz: b42370f188dd9ccdbaa6e26e846bd22f6e1efcca
5
5
  SHA512:
6
- metadata.gz: 5050eb0e68f059297386229aadd80900298722cf87cb94f208e790967246e973857566c254912dbcbee582d89315d8e63f1e23867647da808f0159ebca7415e0
7
- data.tar.gz: 947f51c17460e0d99cad87891b11a086ee4b38413784bf6d93658b46f9399ef631f50b3f3977006dfe56185c777a52069a60e720661cdc83e2242a010fdfc8b8
6
+ metadata.gz: 1d0cf8ef16782f4f438ba159ef3e84e1d00f6428133c6356e63f1bdb0d308e36fd8eeefd3ab33d7109f1e3ec649757235c00999de319cfc4ade22ea49f481aaf
7
+ data.tar.gz: cc94de36fc5429f6229fb904b85b9fbacfc1515ea493747a3668531f7265c605f9a20f403e4d80c558ca838cd5ac25a45ba32f17d2753c6e711134961f17843d
@@ -0,0 +1,26 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'swagger_ui_wrapper/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "efigence-swagger_ui_wrapper"
8
+ spec.version = SwaggerUiWrapper::VERSION
9
+ spec.authors = ["lizhe"]
10
+ spec.email = ["markgeek@qq.com"]
11
+ spec.summary = %q{swagger ui rack wrapper}
12
+ spec.description = %q{a rack middle wrapped swagger ui assets}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ # spec.files = `git ls-files -z`.split("\x0")
17
+ spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "efigence-swagger_ui_wrapper.gemspec", "lib/swagger_ui_wrapper.rb", "lib/swagger_ui_wrapper/rack/middleware.rb", "lib/swagger_ui_wrapper/version.rb", "vendor/assets/swagger/css/print.css", "vendor/assets/swagger/css/reset.css", "vendor/assets/swagger/css/screen.css", "vendor/assets/swagger/css/style.css", "vendor/assets/swagger/css/typography.css", "vendor/assets/swagger/fonts/DroidSans-Bold.ttf", "vendor/assets/swagger/fonts/DroidSans.ttf", "vendor/assets/swagger/images/collapse.gif", "vendor/assets/swagger/images/expand.gif", "vendor/assets/swagger/images/explorer_icons.png", "vendor/assets/swagger/images/favicon-16x16.png", "vendor/assets/swagger/images/favicon-32x32.png", "vendor/assets/swagger/images/favicon.ico", "vendor/assets/swagger/images/logo_small.png", "vendor/assets/swagger/images/pet_store_api.png", "vendor/assets/swagger/images/throbber.gif", "vendor/assets/swagger/images/wordnik_api.png", "vendor/assets/swagger/index.html", "vendor/assets/swagger/lang/en.js", "vendor/assets/swagger/lang/es.js", "vendor/assets/swagger/lang/fr.js", "vendor/assets/swagger/lang/geo.js", "vendor/assets/swagger/lang/it.js", "vendor/assets/swagger/lang/ja.js", "vendor/assets/swagger/lang/pl.js", "vendor/assets/swagger/lang/pt.js", "vendor/assets/swagger/lang/ru.js", "vendor/assets/swagger/lang/tr.js", "vendor/assets/swagger/lang/translator.js", "vendor/assets/swagger/lang/zh-cn.js", "vendor/assets/swagger/lib/backbone-min.js", "vendor/assets/swagger/lib/handlebars-2.0.0.js", "vendor/assets/swagger/lib/highlight.9.1.0.pack.js", "vendor/assets/swagger/lib/highlight.9.1.0.pack_extended.js", "vendor/assets/swagger/lib/jquery-1.8.0.min.js", "vendor/assets/swagger/lib/jquery.ba-bbq.min.js", "vendor/assets/swagger/lib/jquery.slideto.min.js", "vendor/assets/swagger/lib/jquery.wiggle.min.js", "vendor/assets/swagger/lib/js-yaml.min.js", "vendor/assets/swagger/lib/jsoneditor.min.js", "vendor/assets/swagger/lib/lodash.min.js", "vendor/assets/swagger/lib/marked.js", "vendor/assets/swagger/lib/swagger-oauth.js", "vendor/assets/swagger/o2c.html", "vendor/assets/swagger/swagger-ui.js", "vendor/assets/swagger/swagger-ui.min.js"]
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_runtime_dependency "rack", ">= 1.3.0"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.7"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ end
@@ -1,3 +1,3 @@
1
1
  module SwaggerUiWrapper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -36,7 +36,7 @@
36
36
  if (url && url.length > 1) {
37
37
  url = decodeURIComponent(url[1]);
38
38
  } else {
39
- url = "http://petstore.swagger.io/v2/swagger.json";
39
+ url = '/api/v1/api-docs.json'; // "http://petstore.swagger.io/v2/swagger.json";
40
40
  }
41
41
 
42
42
  hljs.configure({
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: efigence-swagger_ui_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - lizhe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -64,10 +64,10 @@ files:
64
64
  - LICENSE.txt
65
65
  - README.md
66
66
  - Rakefile
67
+ - efigence-swagger_ui_wrapper.gemspec
67
68
  - lib/swagger_ui_wrapper.rb
68
69
  - lib/swagger_ui_wrapper/rack/middleware.rb
69
70
  - lib/swagger_ui_wrapper/version.rb
70
- - swagger_ui_wrapper.gemspec
71
71
  - vendor/assets/swagger/css/print.css
72
72
  - vendor/assets/swagger/css/reset.css
73
73
  - vendor/assets/swagger/css/screen.css
@@ -1,25 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'swagger_ui_wrapper/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "swagger_ui_wrapper"
8
- spec.version = SwaggerUiWrapper::VERSION
9
- spec.authors = ["lizhe"]
10
- spec.email = ["markgeek@qq.com"]
11
- spec.summary = %q{swagger ui rack wrapper}
12
- spec.description = %q{a rack middle wrapped swagger ui assets}
13
- spec.homepage = ""
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.add_runtime_dependency "rack", ">= 1.3.0"
22
-
23
- spec.add_development_dependency "bundler", "~> 1.7"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- end