tomograph 3.1.1 → 3.1.2

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: 2e5235f82fd9f87bbf895dd85eea58a1f78d9cab0d78be2a0f2f5a9554d7928f
4
- data.tar.gz: e1bd1a93846659640ce4220079644d396522f9e3d392c93747391871de1eba63
3
+ metadata.gz: ade39b28aaf05781e5c1de146d692f960f607136d2853b9a3d74f87907bd39e0
4
+ data.tar.gz: 2045eece41858ee1345f9e13221ca8021806086764565b3c60bd5c5c41435742
5
5
  SHA512:
6
- metadata.gz: 7fb24eb83a332bc7d543bd07869bee334c09582b3cc14e5f5f3bafd8ab6809c3e7bfddab4f44a534f640d61dfa41e47c5151d06eb0f7d40c0955106615c652dd
7
- data.tar.gz: 9e24a40ae4174ce201a2d341821231fd3a6a79d90a2c213e7bb2d62ef84d5f71625b5e0643b94fac91d9b064462c7aed1507c236001c3cc3e6f767837907c8a5
6
+ metadata.gz: 48161844767112cc64665c512ad893a2734f069c03d22a7b1c340e9dca52d48ab6a2ae32b6ebe5ef8c5b31612cc1649473273770fc33b3f12c5f03061a54dc33
7
+ data.tar.gz: 509b370fdc936e5e3e11a8e8b4f970bee98855b0d40710fa236e62061c36a681428a4dc39ca099e0d644947f40498a84dc6314f77eb90b68ac8dd21fe9f0d717
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.0.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 3.1.2 - 2021-09-28
4
+
5
+ * bug fixes
6
+ * fix parser last crafter version
7
+
3
8
  ### 3.1.1 - 2021-02-10
4
9
 
5
10
  * setting
@@ -33,7 +33,7 @@ module Tomograph
33
33
 
34
34
  def json_schema(actions)
35
35
  schema_node = actions.find do |action|
36
- action && action['element'] == 'asset' && action['attributes']['contentType']['content'] == 'application/schema+json'
36
+ action && action.fetch('element', nil) == 'asset' && action.fetch('attributes', {}).fetch('contentType', {}).fetch('content', nil) == 'application/schema+json'
37
37
  end
38
38
  return {} unless schema_node
39
39
 
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '3.1.1'.freeze
2
+ VERSION = '3.1.2'.freeze
3
3
  end
data/tomograph.gemspec CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
21
21
  spec.add_runtime_dependency 'methadone', '~> 2', '>= 2.0.2'
22
22
  spec.add_development_dependency 'byebug', '~> 11.1', '>= 11.1.1'
23
23
  spec.add_development_dependency 'rake', '>= 13.0.1'
24
- spec.add_development_dependency 'rspec', '~> 3.9', '>= 3.9.0'
24
+ spec.add_development_dependency 'rspec', '~> 3.10', '>= 3.10.0'
25
25
  spec.add_development_dependency 'rubocop', '~> 0.81', '>= 0.81.0'
26
- spec.add_development_dependency 'simplecov', '~> 0.18', '>= 0.18.5'
26
+ spec.add_development_dependency 'simplecov', '~> 0.21', '>= 0.21.2'
27
27
  spec.add_development_dependency 'json-schema', '~> 2.8', '>= 2.8.1'
28
28
  spec.required_ruby_version = '>= 2.4.0'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomograph
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone
@@ -70,20 +70,20 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '3.9'
73
+ version: '3.10'
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 3.9.0
76
+ version: 3.10.0
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '3.9'
83
+ version: '3.10'
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 3.9.0
86
+ version: 3.10.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: rubocop
89
89
  requirement: !ruby/object:Gem::Requirement
@@ -110,20 +110,20 @@ dependencies:
110
110
  requirements:
111
111
  - - "~>"
112
112
  - !ruby/object:Gem::Version
113
- version: '0.18'
113
+ version: '0.21'
114
114
  - - ">="
115
115
  - !ruby/object:Gem::Version
116
- version: 0.18.5
116
+ version: 0.21.2
117
117
  type: :development
118
118
  prerelease: false
119
119
  version_requirements: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0.18'
123
+ version: '0.21'
124
124
  - - ">="
125
125
  - !ruby/object:Gem::Version
126
- version: 0.18.5
126
+ version: 0.21.2
127
127
  - !ruby/object:Gem::Dependency
128
128
  name: json-schema
129
129
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +184,7 @@ homepage: https://github.com/funbox/tomograph
184
184
  licenses:
185
185
  - MIT
186
186
  metadata: {}
187
- post_install_message:
187
+ post_install_message:
188
188
  rdoc_options: []
189
189
  require_paths:
190
190
  - lib
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubygems_version: 3.1.2
203
- signing_key:
203
+ signing_key:
204
204
  specification_version: 4
205
205
  summary: Convert API Blueprint, Swagger and OpenAPI to Tomogram
206
206
  test_files: []