nexmo-oas-renderer 0.4.0 → 0.4.1

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
  SHA256:
3
- metadata.gz: 7c0e7a8af2769d4a4ebd3984ac00658f0d02a22a3680136bd04253cbbaf270a3
4
- data.tar.gz: 0e40b9e68b9255c70178a4140c31fe47a5c5bbae71d8a8a6170ae10452a16fb9
3
+ metadata.gz: 386fdf3ed82834c48d914044ebb508731c1ffd11ece58c938838b701f03e740f
4
+ data.tar.gz: 8114c77db9d427c1b91b14eec1b3a81dbe2cb23ac7e1bb12bb771a30aa36f519
5
5
  SHA512:
6
- metadata.gz: 3220559808b157b8cdbad65e9538569d6edc0dfeb06bca8caafed1ae0b63b47d3f3e5b9e08b6261f77b27efaf1eea50efdc454fa8a52402b449fa3eacb892a71
7
- data.tar.gz: 8573dc0aaa3412c81f5b2ca29d80611d92e410948cc1f0da1067a786d33c11b11976cf00bbcbe212dc456d53170dbcac51c65866d9a97c27c6ea419474ee65a1
6
+ metadata.gz: ba72d949b949515c93413986307d1a9566ee6462d1c78ef2d2bbbad934fe4be8b614d50f71b4277729fabe8b87783783a49a19d4cc7107d05cf95686338751a5
7
+ data.tar.gz: d1d25d488466021faf651bba03ef7d29932dc7bb48dbff824b53394f809e29b148909fd568fdd4bf0289577a8cc2e83ad9efa3938ac9d40d2d6fde4f7d0dee96
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexmo-oas-renderer (0.4.0)
4
+ nexmo-oas-renderer (0.4.1)
5
5
  activemodel (~> 5.2)
6
6
  activesupport (~> 5.2)
7
7
  banzai (~> 0.1.2)
@@ -59,8 +59,8 @@ GEM
59
59
  i18n (>= 0.7, < 2)
60
60
  minitest (~> 5.1)
61
61
  tzinfo (~> 1.1)
62
- addressable (2.6.0)
63
- public_suffix (>= 2.0.2, < 4.0)
62
+ addressable (2.7.0)
63
+ public_suffix (>= 2.0.2, < 5.0)
64
64
  arel (9.0.0)
65
65
  banzai (0.1.3)
66
66
  builder (3.2.3)
@@ -93,7 +93,7 @@ GEM
93
93
  hansi (~> 0.2.0)
94
94
  mustermann (= 1.0.3)
95
95
  neatjson (0.9)
96
- nio4r (2.4.0)
96
+ nio4r (2.5.1)
97
97
  nokogiri (1.10.4)
98
98
  mini_portile2 (~> 2.4.0)
99
99
  oas_parser (0.18.1)
@@ -108,7 +108,7 @@ GEM
108
108
  octicons_helper (8.5.0)
109
109
  octicons (= 8.5.0)
110
110
  rails
111
- public_suffix (3.1.1)
111
+ public_suffix (4.0.1)
112
112
  rack (2.0.7)
113
113
  rack-protection (2.0.7)
114
114
  rack
@@ -29,6 +29,7 @@ module Nexmo
29
29
  application.v2
30
30
  conversion
31
31
  subaccounts
32
+ developer/messages
32
33
  ].freeze
33
34
 
34
35
  def self.match?(definition, code_language = nil)
@@ -1,12 +1,12 @@
1
1
  document.addEventListener("DOMContentLoaded", function() {
2
2
 
3
3
  // Toggle text on accordion button for response fields
4
- let responseDescriptionTogglers = document.getElementsByClassName('response-description-toggle');
4
+ var responseDescriptionTogglers = document.getElementsByClassName('response-description-toggle');
5
5
 
6
- [...responseDescriptionTogglers].forEach(function(element) {
6
+ Array.from(responseDescriptionTogglers).forEach(function(element) {
7
7
  element.addEventListener('click', function(event) {
8
- let text = event.target.textContent;
9
- let newText;
8
+ var text = event.target.textContent;
9
+ var newText;
10
10
  if (text.indexOf('View') != -1) {
11
11
  newText = text.replace("View", "Hide");
12
12
  } else {
@@ -1,7 +1,7 @@
1
1
  module Nexmo
2
2
  module OAS
3
3
  module Renderer
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
6
6
  end
7
7
  end
@@ -1,4 +1,4 @@
1
1
  <head>
2
2
  <link rel="stylesheet" href="/assets/stylesheets/volta.min.css"/>
3
- <link rel="stylesheet" href="/assets/stylesheets/style.css"/>
3
+ <link rel="stylesheet" href="/assets/stylesheets/nexmo-oas-renderer.css"/>
4
4
  </head>
@@ -2,7 +2,7 @@
2
2
  <script src="/assets/javascripts/volta.accordion.js"></script>
3
3
  <script src="/assets/javascripts/volta.tabs.js"></script>
4
4
  <script src="/assets/javascripts/volta.modal.js"></script>
5
- <script src="/assets/javascripts/application.js"></script>
5
+ <script src="/assets/javascripts/nexmo-oas-renderer.js"></script>
6
6
  <script src="/assets/javascripts/components/format.js"></script>
7
7
  <script src="/assets/javascripts/components/scroll.js"></script>
8
8
  <script type="text/javascript">
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexmo-oas-renderer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Rodriguez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-27 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra
@@ -322,13 +322,14 @@ files:
322
322
  - lib/nexmo/oas/renderer/public/assets/images/brands/python.svg
323
323
  - lib/nexmo/oas/renderer/public/assets/images/brands/ruby.svg
324
324
  - lib/nexmo/oas/renderer/public/assets/images/lost.svg
325
- - lib/nexmo/oas/renderer/public/assets/javascripts/application.js
326
325
  - lib/nexmo/oas/renderer/public/assets/javascripts/components/format.js
327
326
  - lib/nexmo/oas/renderer/public/assets/javascripts/components/scroll.js
327
+ - lib/nexmo/oas/renderer/public/assets/javascripts/nexmo-oas-renderer.js
328
328
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.accordion.js
329
329
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.core.js
330
330
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.modal.js
331
331
  - lib/nexmo/oas/renderer/public/assets/javascripts/volta.tabs.js
332
+ - lib/nexmo/oas/renderer/public/assets/stylesheets/nexmo-oas-renderer.css
332
333
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/api.scss
333
334
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/core.scss
334
335
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/mediaqueries.scss
@@ -339,7 +340,6 @@ files:
339
340
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/typography.scss
340
341
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/variables.scss
341
342
  - lib/nexmo/oas/renderer/public/assets/stylesheets/sass/volta-templates.scss
342
- - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css
343
343
  - lib/nexmo/oas/renderer/public/assets/stylesheets/style.css.map
344
344
  - lib/nexmo/oas/renderer/public/assets/stylesheets/volta.min.css
345
345
  - lib/nexmo/oas/renderer/public/assets/symbol/volta-icons.svg