nexmo-oas-renderer 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 329535118b6e5e736d931e461902f10a14a96379a68898eb767f028e3144cd60
4
- data.tar.gz: ad0abd7f6ca82cd40851972514e2891facc7c3d71a037b3b3a600c90076a2731
3
+ metadata.gz: 2e3a8412ed7fbf70d60de3cef41098629b599d68226df626900ec70c05149dd9
4
+ data.tar.gz: 537315fd455c4c7b5798f0208f405a80b91031eb0ad8ae94c9a64b047e713799
5
5
  SHA512:
6
- metadata.gz: 5957e08812155be2c049151b14bfe784987ec5738569dcedd30d5464f9f597176e5afeb80dd545421fa684790e941accd4dff8f5bc23993074102351129d435c
7
- data.tar.gz: a42ed3a17078f74e6b6d5ebe97b161f14c05e25d95758bb6d81c55686d1e2a8dc18dfd8133c8bd5ca27cc777eb571de6ada3923316b1eff2161b5741f273a40c
6
+ metadata.gz: 5d9743a3e5226025550036f1715606fcd97c441a61853063a52b8dde038046b921178cfe465ff1e94beb0598eec140751936db42302eec825a56d0c7fd96cc1d
7
+ data.tar.gz: 6a98fa09f0f9fdc104ae1fe4b327f6ac177f31ade52b310151d0e69a0655f829c38480f8a00c1a8b2cb152c3813e4433abf84638f9938b45c576c04b65420399
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexmo-oas-renderer (2.6.0)
4
+ nexmo-oas-renderer (2.7.0)
5
5
  activemodel (~> 6.0)
6
6
  activesupport (~> 6.0)
7
7
  banzai (~> 0.1.2)
8
8
  dotenv (~> 2.7)
9
9
  neatjson (~> 0.8)
10
10
  nexmo_markdown_renderer (~> 0.8)
11
- oas_parser (~> 0.25.1)
11
+ oas_parser (~> 0.25.3)
12
12
  redcarpet (= 3.5.1)
13
13
  sass (~> 3.1)
14
14
  shotgun (~> 0.9)
@@ -17,56 +17,56 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- actioncable (6.0.3.4)
21
- actionpack (= 6.0.3.4)
20
+ actioncable (6.0.3.5)
21
+ actionpack (= 6.0.3.5)
22
22
  nio4r (~> 2.0)
23
23
  websocket-driver (>= 0.6.1)
24
- actionmailbox (6.0.3.4)
25
- actionpack (= 6.0.3.4)
26
- activejob (= 6.0.3.4)
27
- activerecord (= 6.0.3.4)
28
- activestorage (= 6.0.3.4)
29
- activesupport (= 6.0.3.4)
24
+ actionmailbox (6.0.3.5)
25
+ actionpack (= 6.0.3.5)
26
+ activejob (= 6.0.3.5)
27
+ activerecord (= 6.0.3.5)
28
+ activestorage (= 6.0.3.5)
29
+ activesupport (= 6.0.3.5)
30
30
  mail (>= 2.7.1)
31
- actionmailer (6.0.3.4)
32
- actionpack (= 6.0.3.4)
33
- actionview (= 6.0.3.4)
34
- activejob (= 6.0.3.4)
31
+ actionmailer (6.0.3.5)
32
+ actionpack (= 6.0.3.5)
33
+ actionview (= 6.0.3.5)
34
+ activejob (= 6.0.3.5)
35
35
  mail (~> 2.5, >= 2.5.4)
36
36
  rails-dom-testing (~> 2.0)
37
- actionpack (6.0.3.4)
38
- actionview (= 6.0.3.4)
39
- activesupport (= 6.0.3.4)
37
+ actionpack (6.0.3.5)
38
+ actionview (= 6.0.3.5)
39
+ activesupport (= 6.0.3.5)
40
40
  rack (~> 2.0, >= 2.0.8)
41
41
  rack-test (>= 0.6.3)
42
42
  rails-dom-testing (~> 2.0)
43
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (6.0.3.4)
45
- actionpack (= 6.0.3.4)
46
- activerecord (= 6.0.3.4)
47
- activestorage (= 6.0.3.4)
48
- activesupport (= 6.0.3.4)
44
+ actiontext (6.0.3.5)
45
+ actionpack (= 6.0.3.5)
46
+ activerecord (= 6.0.3.5)
47
+ activestorage (= 6.0.3.5)
48
+ activesupport (= 6.0.3.5)
49
49
  nokogiri (>= 1.8.5)
50
- actionview (6.0.3.4)
51
- activesupport (= 6.0.3.4)
50
+ actionview (6.0.3.5)
51
+ activesupport (= 6.0.3.5)
52
52
  builder (~> 3.1)
53
53
  erubi (~> 1.4)
54
54
  rails-dom-testing (~> 2.0)
55
55
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
- activejob (6.0.3.4)
57
- activesupport (= 6.0.3.4)
56
+ activejob (6.0.3.5)
57
+ activesupport (= 6.0.3.5)
58
58
  globalid (>= 0.3.6)
59
- activemodel (6.0.3.4)
60
- activesupport (= 6.0.3.4)
61
- activerecord (6.0.3.4)
62
- activemodel (= 6.0.3.4)
63
- activesupport (= 6.0.3.4)
64
- activestorage (6.0.3.4)
65
- actionpack (= 6.0.3.4)
66
- activejob (= 6.0.3.4)
67
- activerecord (= 6.0.3.4)
59
+ activemodel (6.0.3.5)
60
+ activesupport (= 6.0.3.5)
61
+ activerecord (6.0.3.5)
62
+ activemodel (= 6.0.3.5)
63
+ activesupport (= 6.0.3.5)
64
+ activestorage (6.0.3.5)
65
+ actionpack (= 6.0.3.5)
66
+ activejob (= 6.0.3.5)
67
+ activerecord (= 6.0.3.5)
68
68
  marcel (~> 0.3.1)
69
- activesupport (6.0.3.4)
69
+ activesupport (6.0.3.5)
70
70
  concurrent-ruby (~> 1.0, >= 1.0.2)
71
71
  i18n (>= 0.7, < 2)
72
72
  minitest (~> 5.1)
@@ -77,20 +77,20 @@ GEM
77
77
  ast (2.4.1)
78
78
  banzai (0.1.3)
79
79
  builder (3.2.4)
80
- concurrent-ruby (1.1.7)
80
+ concurrent-ruby (1.1.8)
81
81
  crass (1.0.6)
82
82
  deep_merge (1.2.1)
83
83
  diff-lcs (1.4.2)
84
84
  dotenv (2.7.6)
85
- erubi (1.9.0)
86
- ffi (1.14.2)
85
+ erubi (1.10.0)
86
+ ffi (1.15.0)
87
87
  globalid (0.4.2)
88
88
  activesupport (>= 4.2.0)
89
89
  hansi (0.2.0)
90
90
  hash-deep-merge (0.1.1)
91
- i18n (1.8.5)
91
+ i18n (1.8.9)
92
92
  concurrent-ruby (~> 1.0)
93
- loofah (2.7.0)
93
+ loofah (2.9.0)
94
94
  crass (~> 1.0.2)
95
95
  nokogiri (>= 1.5.9)
96
96
  mail (2.7.1)
@@ -98,17 +98,19 @@ GEM
98
98
  marcel (0.3.3)
99
99
  mimemagic (~> 0.3.2)
100
100
  method_source (1.0.0)
101
- mimemagic (0.3.5)
101
+ mimemagic (0.3.10)
102
+ nokogiri (~> 1)
103
+ rake
102
104
  mini_mime (1.0.2)
103
105
  mini_portile2 (2.5.0)
104
- minitest (5.14.2)
106
+ minitest (5.14.4)
105
107
  mustermann (1.1.1)
106
108
  ruby2_keywords (~> 0.0.1)
107
109
  mustermann-contrib (1.1.1)
108
110
  hansi (~> 0.2.0)
109
111
  mustermann (= 1.1.1)
110
112
  neatjson (0.9)
111
- nexmo_markdown_renderer (0.8.0)
113
+ nexmo_markdown_renderer (0.9.1)
112
114
  actionview (~> 6.0)
113
115
  activemodel (~> 6.0)
114
116
  banzai (~> 0.1.2)
@@ -116,11 +118,11 @@ GEM
116
118
  nokogiri (~> 1.10)
117
119
  redcarpet (~> 3.4)
118
120
  rouge (~> 2.0.7)
119
- nio4r (2.5.4)
121
+ nio4r (2.5.7)
120
122
  nokogiri (1.11.1)
121
123
  mini_portile2 (~> 2.5.0)
122
124
  racc (~> 1.4)
123
- oas_parser (0.25.1)
125
+ oas_parser (0.25.3)
124
126
  activesupport (>= 4.0.0)
125
127
  addressable (~> 2.3)
126
128
  builder (~> 3.2.3)
@@ -138,34 +140,34 @@ GEM
138
140
  rack
139
141
  rack-test (1.1.0)
140
142
  rack (>= 1.0, < 3)
141
- rails (6.0.3.4)
142
- actioncable (= 6.0.3.4)
143
- actionmailbox (= 6.0.3.4)
144
- actionmailer (= 6.0.3.4)
145
- actionpack (= 6.0.3.4)
146
- actiontext (= 6.0.3.4)
147
- actionview (= 6.0.3.4)
148
- activejob (= 6.0.3.4)
149
- activemodel (= 6.0.3.4)
150
- activerecord (= 6.0.3.4)
151
- activestorage (= 6.0.3.4)
152
- activesupport (= 6.0.3.4)
143
+ rails (6.0.3.5)
144
+ actioncable (= 6.0.3.5)
145
+ actionmailbox (= 6.0.3.5)
146
+ actionmailer (= 6.0.3.5)
147
+ actionpack (= 6.0.3.5)
148
+ actiontext (= 6.0.3.5)
149
+ actionview (= 6.0.3.5)
150
+ activejob (= 6.0.3.5)
151
+ activemodel (= 6.0.3.5)
152
+ activerecord (= 6.0.3.5)
153
+ activestorage (= 6.0.3.5)
154
+ activesupport (= 6.0.3.5)
153
155
  bundler (>= 1.3.0)
154
- railties (= 6.0.3.4)
156
+ railties (= 6.0.3.5)
155
157
  sprockets-rails (>= 2.0.0)
156
158
  rails-dom-testing (2.0.3)
157
159
  activesupport (>= 4.2.0)
158
160
  nokogiri (>= 1.6)
159
161
  rails-html-sanitizer (1.3.0)
160
162
  loofah (~> 2.3)
161
- railties (6.0.3.4)
162
- actionpack (= 6.0.3.4)
163
- activesupport (= 6.0.3.4)
163
+ railties (6.0.3.5)
164
+ actionpack (= 6.0.3.5)
165
+ activesupport (= 6.0.3.5)
164
166
  method_source
165
167
  rake (>= 0.8.7)
166
168
  thor (>= 0.20.3, < 2.0)
167
169
  rainbow (3.0.0)
168
- rake (13.0.1)
170
+ rake (13.0.3)
169
171
  rb-fsevent (0.10.4)
170
172
  rb-inotify (0.10.1)
171
173
  ffi (~> 1.0)
@@ -198,7 +200,7 @@ GEM
198
200
  rubocop-ast (0.1.0)
199
201
  parser (>= 2.7.0.1)
200
202
  ruby-progressbar (1.10.1)
201
- ruby2_keywords (0.0.2)
203
+ ruby2_keywords (0.0.4)
202
204
  sass (3.7.4)
203
205
  sass-listen (~> 4.0.0)
204
206
  sass-listen (4.0.0)
@@ -218,16 +220,16 @@ GEM
218
220
  actionpack (>= 4.0)
219
221
  activesupport (>= 4.0)
220
222
  sprockets (>= 3.0.0)
221
- thor (1.0.1)
223
+ thor (1.1.0)
222
224
  thread_safe (0.3.6)
223
225
  tilt (2.0.10)
224
- tzinfo (1.2.7)
226
+ tzinfo (1.2.9)
225
227
  thread_safe (~> 0.1)
226
228
  unicode-display_width (1.7.0)
227
229
  websocket-driver (0.7.3)
228
230
  websocket-extensions (>= 0.1.0)
229
231
  websocket-extensions (0.1.5)
230
- zeitwerk (2.4.1)
232
+ zeitwerk (2.4.2)
231
233
 
232
234
  PLATFORMS
233
235
  ruby
@@ -3,7 +3,7 @@
3
3
  module Nexmo
4
4
  module OAS
5
5
  module Renderer
6
- VERSION = '2.6.0'
6
+ VERSION = '2.7.0'
7
7
  end
8
8
  end
9
9
  end
@@ -34,7 +34,8 @@
34
34
 
35
35
  <div class="oas-parameter-description">
36
36
  <div class="oas-parameter-meta">
37
- <%= parameter['type'] %>
37
+ <% if parameter['nullable'] %>Nullable <% end %><%= parameter['type'] %>
38
+
38
39
  <% if parameter['type'] == 'array' %>
39
40
  <% if parameter['items'] && parameter['items']['type'] %>
40
41
  of <%= (parameter['items']['type']) %>s
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
  spec.add_runtime_dependency 'dotenv', '~> 2.7'
38
38
  spec.add_runtime_dependency 'neatjson', '~> 0.8'
39
39
  spec.add_runtime_dependency 'nexmo_markdown_renderer', '~> 0.8'
40
- spec.add_runtime_dependency 'oas_parser', '~> 0.25.1'
40
+ spec.add_runtime_dependency 'oas_parser', '~> 0.25.3'
41
41
  spec.add_runtime_dependency 'redcarpet', '3.5.1'
42
42
  spec.add_runtime_dependency 'sass', '~> 3.1'
43
43
  spec.add_runtime_dependency 'shotgun', '~> 0.9'
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: 2.6.0
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Rodriguez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-18 00:00:00.000000000 Z
11
+ date: 2021-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.25.1
103
+ version: 0.25.3
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.25.1
110
+ version: 0.25.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: redcarpet
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -220,7 +220,7 @@ dependencies:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0.86'
223
- description:
223
+ description:
224
224
  email:
225
225
  - fabian.rodriguez@vonage.com
226
226
  executables:
@@ -368,7 +368,7 @@ licenses:
368
368
  metadata:
369
369
  homepage_uri: https://github.com/Nexmo/nexmo-oas-renderer
370
370
  source_code_uri: https://github.com/Nexmo/nexmo-oas-renderer
371
- post_install_message:
371
+ post_install_message:
372
372
  rdoc_options: []
373
373
  require_paths:
374
374
  - lib
@@ -384,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
384
384
  version: '0'
385
385
  requirements: []
386
386
  rubygems_version: 3.1.4
387
- signing_key:
387
+ signing_key:
388
388
  specification_version: 4
389
389
  summary: OpenAPI Specification renderer.
390
390
  test_files: []