fitting 4.0.4 → 4.1.0

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: 92eb81d86fad0e91e7a8b05ba39a157158400f7002594cfc6232044249d70a16
4
- data.tar.gz: 441412e6014c7a303771443862a1ac3e23858e994957bef162bfc4c23e202bcf
3
+ metadata.gz: 3e27a33b91cf9a607fc223754f3d8ac23a19c48be6fd6065d8299d178966ae94
4
+ data.tar.gz: 976c77c2e0d19d80980bff72875eef2e5ee9b8fcbab333dc41d78b8add67d7ac
5
5
  SHA512:
6
- metadata.gz: 2dd67c0d5f0a783f70caada577f1501d70f070503e70c0af2bf7c9750bbfc8749fc98adf426931572bff447a8b733069723bffd39f127e34267dc997a734f0d8
7
- data.tar.gz: e54ba08c80cbe3194ade774e9a142951fe759b757f9de61938605a6d77ba71298736457200d39c52634bd76a9fa61edd579403be1df092801ee806c73a7e123c
6
+ metadata.gz: 95e84af4fd3fcd5244f99c0394bda01af4d22a18c04abf0e1925ea7b26c8156c85701a4ce0917dd542be3453ef2a20a63043c3f6a753f0fda3658579f6b141d9
7
+ data.tar.gz: 738cad48b6c0ca62ed7cff6de528cd8b126d18c858aaf158fc0376972eac87f59d0ee2eff361dda74b6547ab59460031a847149f501ec06e5e1c4d7f60bc3688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ### 4.1.0 - 2023-10-16
4
+
5
+ * features
6
+ * add exit for invalid case
7
+
3
8
  ### 4.0.4 - 2023-10-06
4
9
 
5
10
  * patch
data/lib/fitting/log.rb CHANGED
@@ -97,6 +97,9 @@ module Fitting
97
97
  puts "\e[31m #{index + 1}) #{log.error.class} #{log.error.message}\n\n\e[0m"
98
98
  end
99
99
  print "\e[31m#{logs.size} examples, #{Fitting::Log.failure(logs).size} failure, #{Fitting::Log.pending(logs).size} pending\e[0m\n"
100
+ unless Fitting::Log.failure(logs).size <= 0
101
+ exit 1
102
+ end
100
103
  end
101
104
  end
102
105
  end
@@ -1,3 +1,3 @@
1
1
  module Fitting
2
- VERSION = '4.0.4'.freeze
2
+ VERSION = '4.1.0'.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.4
4
+ version: 4.1.0
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-10-06 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema