rswag-ui 1.1.0 → 1.2.0

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: d0b84a86216a202e184a0e38741d382206fd1212
4
- data.tar.gz: 718bbd09b19e1b24fe49eedfadf4a41107f244e4
3
+ metadata.gz: 8de128ed044818851e46035f0a532bffbfd80d9b
4
+ data.tar.gz: 0141a9e03adceccdbb62c865bc14860f2b455c75
5
5
  SHA512:
6
- metadata.gz: 2f560b9d57a9d9b81d22c786ea4ac45e8821a123b1b2c1a2e05e04466a6c7b805e61d466c9a7b7b4950871772ec37bb96c965ea1967ff8d94e489ec5d0d9bbec
7
- data.tar.gz: 78348e8530d59323e0ca88e2e5ca705d6228ba2b586e61cfe06f8beb55588d383d7c52183800582da0dfdb9d67f0e53f98c55ba98287c7aadab3401665e0b71f
6
+ metadata.gz: 89dc69a1ad1be1833a3d2765a85bd76b9fd42e9f89d579a99d63a5bb68641ee2d0e3e5bb8682f683399a0113b898b8ff7aa40524b7b4e7147047c85aa7f886fe
7
+ data.tar.gz: 8f9081fbdce572ef008c468a5e7b0a16ba1cae29508bcbd050c8eacf953e835e4c0cd3fd0c67f7d4e3cd95b5191846f99c2670f82d035be6b5632a861d6cda52
@@ -1,5 +1,5 @@
1
1
  module Rswag
2
2
  module Ui
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
@@ -880,7 +880,7 @@
880
880
  padding: 6px 8px;
881
881
  }
882
882
  .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
883
- background-image: url('../images/throbber.gif');
883
+ background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
884
884
  width: 128px;
885
885
  height: 16px;
886
886
  display: block;
@@ -1222,7 +1222,7 @@
1222
1222
  height: 18px;
1223
1223
  vertical-align: middle;
1224
1224
  display: inline-block;
1225
- background: url(../images/explorer_icons.png) no-repeat;
1225
+ background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
1226
1226
  }
1227
1227
  .swagger-section .authorize__btn_operation_login {
1228
1228
  background-position: 0 0;
@@ -880,7 +880,7 @@
880
880
  padding: 6px 8px;
881
881
  }
882
882
  .swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
883
- background-image: url('../images/throbber.gif');
883
+ background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
884
884
  width: 128px;
885
885
  height: 16px;
886
886
  display: block;
@@ -1222,7 +1222,7 @@
1222
1222
  height: 18px;
1223
1223
  vertical-align: middle;
1224
1224
  display: inline-block;
1225
- background: url(../images/explorer_icons.png) no-repeat;
1225
+ background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
1226
1226
  }
1227
1227
  .swagger-section .authorize__btn_operation_login {
1228
1228
  background-position: 0 0;
@@ -1354,7 +1354,7 @@
1354
1354
  height: 18px;
1355
1355
  vertical-align: middle;
1356
1356
  display: inline-block;
1357
- background: url(../images/explorer_icons.png) no-repeat;
1357
+ background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
1358
1358
  }
1359
1359
  .swagger-section .api-ic .api_information_panel {
1360
1360
  position: relative;
@@ -2,7 +2,7 @@
2
2
  font-size: 1.5em;
3
3
  font-weight: bold;
4
4
  text-decoration: none;
5
- background: transparent url(../images/logo.png) no-repeat left center;
5
+ background: transparent url(<%= asset_path('swagger-ui/images/logo.png') %>) no-repeat left center;
6
6
  padding: 20px 0 20px 40px;
7
7
  }
8
8
  #text-head {
@@ -64,7 +64,7 @@ h1 {
64
64
  width: 1500px;
65
65
  margin: auto;
66
66
  margin-top: 0;
67
- background-image: url('../images/shield.png');
67
+ background-image: url(<%= asset_path('swagger-ui/images/shield.png') %>);
68
68
  background-repeat: no-repeat;
69
69
  background-position: -40px -20px;
70
70
  margin-bottom: 210px;
@@ -0,0 +1,14 @@
1
+ /* Google Font's Droid Sans */
2
+ @font-face {
3
+ font-family: 'Droid Sans';
4
+ font-style: normal;
5
+ font-weight: 400;
6
+ src: local('Droid Sans'), local('DroidSans'), url(<%= asset_path('swagger-ui/fonts/DroidSans.ttf') %>), format('truetype');
7
+ }
8
+ /* Google Font's Droid Sans Bold */
9
+ @font-face {
10
+ font-family: 'Droid Sans';
11
+ font-style: normal;
12
+ font-weight: 700;
13
+ src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(<%= asset_path('swagger-ui/fonts/DroidSans-Bold.ttf') %>), format('truetype');
14
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rswag-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richie Morris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2017-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -52,11 +52,11 @@ files:
52
52
  - lib/rswag/ui/configuration.rb
53
53
  - lib/rswag/ui/engine.rb
54
54
  - lib/rswag/ui/version.rb
55
- - vendor/assets/components/swagger-ui/css/print.css
55
+ - vendor/assets/components/swagger-ui/css/print.css.erb
56
56
  - vendor/assets/components/swagger-ui/css/reset.css
57
- - vendor/assets/components/swagger-ui/css/screen.css
58
- - vendor/assets/components/swagger-ui/css/style.css
59
- - vendor/assets/components/swagger-ui/css/typography.css
57
+ - vendor/assets/components/swagger-ui/css/screen.css.erb
58
+ - vendor/assets/components/swagger-ui/css/style.css.erb
59
+ - vendor/assets/components/swagger-ui/css/typography.css.erb
60
60
  - vendor/assets/components/swagger-ui/fonts/DroidSans-Bold.ttf
61
61
  - vendor/assets/components/swagger-ui/fonts/DroidSans.ttf
62
62
  - vendor/assets/components/swagger-ui/images/collapse.gif
@@ -1,14 +0,0 @@
1
- /* Google Font's Droid Sans */
2
- @font-face {
3
- font-family: 'Droid Sans';
4
- font-style: normal;
5
- font-weight: 400;
6
- src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
7
- }
8
- /* Google Font's Droid Sans Bold */
9
- @font-face {
10
- font-family: 'Droid Sans';
11
- font-style: normal;
12
- font-weight: 700;
13
- src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
14
- }