fitting 4.0.1 → 4.0.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: b2ee2d75d894fdf2bba32957175322c532007e0ac56afcd1e35f6f2787c63c9c
4
- data.tar.gz: 551bc32b2c060397915283b26d970d360954eb3dae25c0e15f26992fe3393e1e
3
+ metadata.gz: e88ddb2b0aba7b858d42c2deb0b0f99534efe8b6fa182585c6a77bd5a3de4e31
4
+ data.tar.gz: 27e3d3f54a808a0818fcd0cd991aea1e1f7c8084983f134716d4d26829c5d76a
5
5
  SHA512:
6
- metadata.gz: 06e9c8a1fa3062cb34a9ecb655393691cf856ed28a7605949284b7fb6acb3c0efa9d3d7e7eafc6c7a41ffd7923659816dc8b985b1934e8cf353ae8603365d1ae
7
- data.tar.gz: b99972509015910ae7d70a10d65f316e96ac2556230e2b3ed0d6ca33311c68cbb95c7f80c0c59c82eef6f470fcc66e4e0bd247efd811555bfe6091e953c55b95
6
+ metadata.gz: 73da9d87c292f0a996311722b80b5d3cf488250980ede0aff735669fe256db057d555b5b7f90da1f0be226e9de9d68f4d139c5fea5eeb6868491f7fc81fe4484
7
+ data.tar.gz: 30af36305effe12e47c63491bd2be33c3e810e302a982388d2aa4ca1802734514d5492cc4f7043f9a867e954a83aa39d6addd404b30e1f777b46e9c42b487263
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 4.0.2 - 2023-02-17
4
+
5
+ * patch
6
+ * skip error if not request in request test
7
+
3
8
  ### 4.0.1 - 2023-02-16
4
9
 
5
10
  * patch
@@ -1,3 +1,3 @@
1
1
  module Fitting
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.0.2'.freeze
3
3
  end
data/lib/fitting.rb CHANGED
@@ -29,13 +29,19 @@ module Fitting
29
29
  end
30
30
 
31
31
  config.after(:each, type: :request) do |example|
32
- request = Fitting::Records::Tested::Request.new(response, example)
33
- responses += "FITTING incoming request #{request.to_spherical.to_json}\n"
32
+ begin
33
+ request = Fitting::Records::Tested::Request.new(response, example)
34
+ responses += "FITTING incoming request #{request.to_spherical.to_json}\n"
35
+ rescue NoMethodError
36
+ end
34
37
  end
35
38
 
36
39
  config.after(:each, type: :controller) do |example|
37
- request = Fitting::Records::Tested::Request.new(response, example)
38
- responses += "FITTING incoming request #{request.to_spherical.to_json}\n"
40
+ begin
41
+ request = Fitting::Records::Tested::Request.new(response, example)
42
+ responses += "FITTING incoming request #{request.to_spherical.to_json}\n"
43
+ rescue NoMethodError
44
+ end
39
45
  end
40
46
 
41
47
  config.after(:each) do
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.1
4
+ version: 4.0.2
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-16 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema