tomograph 2.5.2 → 2.5.3

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
  SHA1:
3
- metadata.gz: c550f25a39d3af26024322e5ccd5b428608f28c1
4
- data.tar.gz: 099113e9247bef9757f289dab271e1319970c61a
3
+ metadata.gz: 80116439a5a62eac61675d5d039f6b2887011fdd
4
+ data.tar.gz: 0d2bd7231ebfa0a44496119ee36e9c9c80846988
5
5
  SHA512:
6
- metadata.gz: 457d0fe4bec4d3b0860ee35834e80d9c04dbcf97663fba44ae0dd75d6eb2247e1b7f66184c4bcb4f552aea5363565b3663401b7a9b9154ebdc64409110236868
7
- data.tar.gz: bcef745a49b32511bd2a4655516e393d1acb956a85785bb87a5d6421cd3ad71099ea7b52b037b4361dc8f3c7dc7b351cb05683874db4ef05a97284d0193d38ea
6
+ metadata.gz: 2045a38046bffe45eb8904853bf4643e816c36914dcbb933ec870f8afe2b9a08407dc6d70b315acd14f5fe8e5e8a353d4685191b0e1c56d9cd286b722c7bf1f8
7
+ data.tar.gz: 6f18b2f2e21d21e3613c7e7da4302fd3f6afe6a451e202966bee92b94198c3c494ca94983ae0a9971782e2e07cb29e57bb33c12286040c3a7cf57625b40acc4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 2.5.3 - 2020-03-10
4
+
5
+ * bug fixes
6
+ * fix parser status to string
7
+
3
8
  ### 2.5.2 - 2020-01-10
4
9
 
5
10
  * bug fixes
@@ -51,7 +51,7 @@ module Tomograph
51
51
  end
52
52
  @responses = @responses.map do |response|
53
53
  {
54
- 'status' => response['attributes']['statusCode']['content'],
54
+ 'status' => response['attributes']['statusCode']['content'].to_s,
55
55
  'body' => json_schema(response['content']),
56
56
  'content-type' => response['attributes'].has_key?('headers') ?
57
57
  response['attributes']['headers']['content'][0]['content']['value']['content'] : nil
@@ -51,7 +51,7 @@ module Tomograph
51
51
  end
52
52
  @responses = @responses.map do |response|
53
53
  {
54
- 'status' => response['attributes']['statusCode'],
54
+ 'status' => response['attributes']['statusCode'].to_s,
55
55
  'body' => json_schema(response['content']),
56
56
  'content-type' => response['attributes'].has_key?('headers') ?
57
57
  response['attributes']['headers']['content'][0]['content']['value']['content'] : nil
@@ -51,7 +51,7 @@ module Tomograph
51
51
  end
52
52
  @responses = @responses.map do |response|
53
53
  {
54
- 'status' => response['attributes']['statusCode']['content'],
54
+ 'status' => response['attributes']['statusCode']['content'].to_s,
55
55
  'body' => json_schema(response['content']),
56
56
  'content-type' => response['attributes'].has_key?('headers') ?
57
57
  response['attributes']['headers']['content'][0]['content']['value']['content'] : nil
@@ -1,3 +1,3 @@
1
1
  module Tomograph
2
- VERSION = '2.5.2'.freeze
2
+ VERSION = '2.5.3'.freeze
3
3
  end
data/tomograph.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_runtime_dependency 'multi_json', '~> 1.11', '>= 1.11.1'
23
23
  spec.add_development_dependency 'bundler', '~> 1.12'
24
24
  spec.add_development_dependency 'byebug', '~> 8.2', '>= 8.2.1'
25
- spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rake', '>= 12.3.3'
26
26
  spec.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
27
27
  spec.add_development_dependency 'rubocop', '~> 0.52.1', '>= 0.52.1'
28
28
  spec.add_development_dependency 'simplecov', '~> 0.11', '>= 0.11.2'
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: 2.5.2
4
+ version: 2.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-10 00:00:00.000000000 Z
11
+ date: 2020-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: methadone
@@ -88,16 +88,16 @@ dependencies:
88
88
  name: rake
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - "~>"
91
+ - - ">="
92
92
  - !ruby/object:Gem::Version
93
- version: '10.0'
93
+ version: 12.3.3
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - "~>"
98
+ - - ">="
99
99
  - !ruby/object:Gem::Version
100
- version: '10.0'
100
+ version: 12.3.3
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: rspec
103
103
  requirement: !ruby/object:Gem::Requirement