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 +4 -4
- data/lib/rswag/ui/version.rb +1 -1
- data/vendor/assets/components/swagger-ui/css/{print.css → print.css.erb} +2 -2
- data/vendor/assets/components/swagger-ui/css/{screen.css → screen.css.erb} +3 -3
- data/vendor/assets/components/swagger-ui/css/{style.css → style.css.erb} +2 -2
- data/vendor/assets/components/swagger-ui/css/typography.css.erb +14 -0
- metadata +6 -6
- data/vendor/assets/components/swagger-ui/css/typography.css +0 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8de128ed044818851e46035f0a532bffbfd80d9b
|
4
|
+
data.tar.gz: 0141a9e03adceccdbb62c865bc14860f2b455c75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89dc69a1ad1be1833a3d2765a85bd76b9fd42e9f89d579a99d63a5bb68641ee2d0e3e5bb8682f683399a0113b898b8ff7aa40524b7b4e7147047c85aa7f886fe
|
7
|
+
data.tar.gz: 8f9081fbdce572ef008c468a5e7b0a16ba1cae29508bcbd050c8eacf953e835e4c0cd3fd0c67f7d4e3cd95b5191846f99c2670f82d035be6b5632a861d6cda52
|
data/lib/rswag/ui/version.rb
CHANGED
@@ -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('
|
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(
|
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('
|
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(
|
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(
|
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(
|
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('
|
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.
|
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:
|
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
|
-
}
|