fitting 4.0.2 → 4.0.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
  SHA256:
3
- metadata.gz: e88ddb2b0aba7b858d42c2deb0b0f99534efe8b6fa182585c6a77bd5a3de4e31
4
- data.tar.gz: 27e3d3f54a808a0818fcd0cd991aea1e1f7c8084983f134716d4d26829c5d76a
3
+ metadata.gz: 3eab6dd66aacca19bfae2a27052780730304752c7cb89bdb5e3063b85a3c3efe
4
+ data.tar.gz: 419d352cfdba3499d0e6425e5e6e76fdbfe5e1f2c289eac98d3833e84d77e57e
5
5
  SHA512:
6
- metadata.gz: 73da9d87c292f0a996311722b80b5d3cf488250980ede0aff735669fe256db057d555b5b7f90da1f0be226e9de9d68f4d139c5fea5eeb6868491f7fc81fe4484
7
- data.tar.gz: 30af36305effe12e47c63491bd2be33c3e810e302a982388d2aa4ca1802734514d5492cc4f7043f9a867e954a83aa39d6addd404b30e1f777b46e9c42b487263
6
+ metadata.gz: b2270a49a1598c714b43717386a7ebc9ce26f69a35e6e868288089c6154f7d170c6c2c35a676fef91f2e6e38ee1e084b383d0a2f49136c9602f48dfa48aee56e
7
+ data.tar.gz: d93156db45a6f7c3be71543ee2315aae12e4a440266aeefea22aaf4ec9d15713fa94d4dbb9b2fbc731672d30afa4cbecd917483bc6b1e9f5ffd13fa98e7aa865
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 4.0.3 - 2023-02-20
4
+
5
+ * patch
6
+ * improve error message
7
+
3
8
  ### 4.0.2 - 2023-02-17
4
9
 
5
10
  * patch
@@ -51,7 +51,7 @@ module Fitting
51
51
  else
52
52
  raise Fitting::Doc::JsonSchema::NotFound.new "json-schema: #{::JSON.pretty_generate(@step_key)}\n\n"\
53
53
  "body: #{::JSON.pretty_generate(log.body)}\n\n"\
54
- "error #{::JSON.pretty_generate(JSON::Validator.fully_validate(@step_key, log.body))}"
54
+ "error #{JSON::Validator.fully_validate(@step_key, log.body).first}"
55
55
  end
56
56
  rescue JSON::Schema::SchemaError => e
57
57
  raise Fitting::Doc::JsonSchema::NotFound.new "json-schema: #{::JSON.pretty_generate(@step_key)}\n\n"\
@@ -1,3 +1,3 @@
1
1
  module Fitting
2
- VERSION = '4.0.2'.freeze
2
+ VERSION = '4.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fitting
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.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: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2023-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema