tomograph 3.1.4 → 3.1.6

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: 8a6059c535fdbd1fff30f3199819041bb0644bff1c4f929838a3437aafbb41f9
4
- data.tar.gz: a9f11fbdef09295dc5c608ee17bd53361565690f1833e2becb4adeaf3072fc55
3
+ metadata.gz: cf837362b1191fb628f661c8f76b07cfe9f6ad01429ea5776c2e5fec112cb04e
4
+ data.tar.gz: 1c55956f499f426013c3967502ef36bd2a470decfc8876b199ee6110cd309c94
5
5
  SHA512:
6
- metadata.gz: '094e3770c8886e01a84a6bdacee39c2f4a89717aaf6ba5de6d39957d1a3f6218a65b0855c27761038d1a31f4030d0b97fb650fa01a605e4400dd48afca86e826'
7
- data.tar.gz: 9a91a2874c9a3fc4c925d9b9f184e475d2ccb50b44f41aee1d99dfbb68f3414e69fa3657c705fd602f08209b691974e1ed7c5505a776881c572edc571a612862
6
+ metadata.gz: 025de3dda002e9ec09ab6dca442c31bf730703bb40ae1eb8b737cea8424af842b100e543d009340a1bbe0326058e310cb91b28ff93a3e4a228af38ef0bcd94e9
7
+ data.tar.gz: dab2742c947fb7b8502c4e31b89033d61e8e0e94cd2c8993c6b8c2bbdeb5508aee733e5200a813ad1b3fa9f48427673b27d3c248bd07c070b88a4aecd82448b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change log
2
2
 
3
+ ### 3.1.6 - 2023-10-06
4
+
5
+ * patch
6
+ * change home page
7
+
8
+ ### 3.1.5 - 2023-02-02
9
+
10
+ * bug fixes
11
+ * fix keys for openapi 2 and 3 version
12
+
3
13
  ### 3.1.4 - 2023-02-01
4
14
 
5
15
  * bug fixes
@@ -28,15 +28,15 @@ module Tomograph
28
28
  resp.inject([]) do |result, reponse|
29
29
  if reponse[1]['schema']
30
30
  result.push(
31
- status: reponse[0],
32
- body: schema(reponse[1]['schema'], defi),
33
- 'content-type': ''
31
+ 'status' => reponse[0],
32
+ 'body' => schema(reponse[1]['schema'], defi),
33
+ 'content-type' => 'application/json'
34
34
  )
35
35
  else
36
36
  result.push(
37
- status: reponse[0],
38
- body: {},
39
- 'content-type': ''
37
+ 'status' => reponse[0],
38
+ 'body' => {},
39
+ 'content-type' => 'application/json'
40
40
  )
41
41
  end
42
42
  end
@@ -28,15 +28,15 @@ module Tomograph
28
28
  if response[1]['content'].nil?
29
29
  # TODO: 403Forbidden
30
30
  result.push(
31
- status: response[0],
32
- body: {},
33
- 'content-type': ''
31
+ 'status' => response[0],
32
+ 'body' => {},
33
+ 'content-type' => 'application/json'
34
34
  )
35
35
  elsif response[1]['content'].values[0]['schema']
36
36
  result.push(
37
- status: response[0],
38
- body: schema(response[1]['content'].values[0]['schema'], defi),
39
- 'content-type': ''
37
+ 'status' => response[0],
38
+ 'body' => schema(response[1]['content'].values[0]['schema'], defi),
39
+ 'content-type' => 'application/json'
40
40
  )
41
41
  else
42
42
  result.push(
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '3.1.4'.freeze
2
+ VERSION = '3.1.6'.freeze
3
3
  end
data/tomograph.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Convert API Blueprint, Swagger and OpenAPI to Tomogram'
12
12
  spec.description = 'Convert API Blueprint, Swagger and OpenAPI to routes and JSON-Schemas'
13
- spec.homepage = 'https://github.com/funbox/tomograph'
13
+ spec.homepage = 'https://github.com/matchtechnologies/tomograph'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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.4
4
+ version: 3.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone
@@ -180,7 +180,7 @@ files:
180
180
  - lib/tomograph/version.rb
181
181
  - script/update_json_fixtures
182
182
  - tomograph.gemspec
183
- homepage: https://github.com/funbox/tomograph
183
+ homepage: https://github.com/matchtechnologies/tomograph
184
184
  licenses:
185
185
  - MIT
186
186
  metadata: {}