fitting 4.0.3 → 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: 3eab6dd66aacca19bfae2a27052780730304752c7cb89bdb5e3063b85a3c3efe
4
- data.tar.gz: 419d352cfdba3499d0e6425e5e6e76fdbfe5e1f2c289eac98d3833e84d77e57e
3
+ metadata.gz: 3e27a33b91cf9a607fc223754f3d8ac23a19c48be6fd6065d8299d178966ae94
4
+ data.tar.gz: 976c77c2e0d19d80980bff72875eef2e5ee9b8fcbab333dc41d78b8add67d7ac
5
5
  SHA512:
6
- metadata.gz: b2270a49a1598c714b43717386a7ebc9ce26f69a35e6e868288089c6154f7d170c6c2c35a676fef91f2e6e38ee1e084b383d0a2f49136c9602f48dfa48aee56e
7
- data.tar.gz: d93156db45a6f7c3be71543ee2315aae12e4a440266aeefea22aaf4ec9d15713fa94d4dbb9b2fbc731672d30afa4cbecd917483bc6b1e9f5ffd13fa98e7aa865
6
+ metadata.gz: 95e84af4fd3fcd5244f99c0394bda01af4d22a18c04abf0e1925ea7b26c8156c85701a4ce0917dd542be3453ef2a20a63043c3f6a753f0fda3658579f6b141d9
7
+ data.tar.gz: 738cad48b6c0ca62ed7cff6de528cd8b126d18c858aaf158fc0376972eac87f59d0ee2eff361dda74b6547ab59460031a847149f501ec06e5e1c4d7f60bc3688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change log
2
2
 
3
+ ### 4.1.0 - 2023-10-16
4
+
5
+ * features
6
+ * add exit for invalid case
7
+
8
+ ### 4.0.4 - 2023-10-06
9
+
10
+ * patch
11
+ * change home page
12
+
3
13
  ### 4.0.3 - 2023-02-20
4
14
 
5
15
  * patch
data/README.md CHANGED
@@ -4,10 +4,9 @@
4
4
  alt="Fitting avatar: Documents with hangers"
5
5
  src="./images/logo.png">
6
6
 
7
- We set up test logs, validate them according to your API documentation and show the documentation coverage with logs.
7
+ Library add improve test log, validate its according to your API documentation, show the documentation coverage with log.
8
8
 
9
- Test logs setting supports RSpec test (and WebMock stubbing) for Ruby On Rails application and API documentation supports API Blueprint,
10
- Swagger and OpenAPI.
9
+ Test log setting supports RSpec test and WebMock stubbing for Ruby On Rails application, API documentation supports API Blueprint and OpenAPI.
11
10
 
12
11
  This reduces the costs of support, testers and analysts.
13
12
 
@@ -124,7 +123,7 @@ FITTING outgoing request {"method":"POST","path":"/v1/organizations/org_id/meeti
124
123
  ```
125
124
 
126
125
  ### Validation
127
- Secondly, validate the logs to the documentation.
126
+ Secondly, validate the log to the documentation.
128
127
 
129
128
  Add this to your `.fitting.yml`:
130
129
 
data/fitting.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Coverage API Blueprint, Swagger and OpenAPI with RSpec'
12
12
  spec.description = 'Coverage API Blueprint, Swagger and OpenAPI with RSpec for easily make high-quality API and documenatiton'
13
- spec.homepage = 'https://github.com/funbox/fitting'
13
+ spec.homepage = 'https://github.com/matchtechnologies/fitting'
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)/}) }
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.3'.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.3
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-02-20 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
@@ -244,7 +244,7 @@ files:
244
244
  - lib/templates/htmlcss/darkmode.min.js
245
245
  - lib/templates/htmlcss/fitting.html
246
246
  - lib/templates/htmlcss/jquery-3.6.0.min.js
247
- homepage: https://github.com/funbox/fitting
247
+ homepage: https://github.com/matchtechnologies/fitting
248
248
  licenses:
249
249
  - MIT
250
250
  metadata: {}