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 +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +3 -4
- data/fitting.gemspec +1 -1
- data/lib/fitting/log.rb +3 -0
- data/lib/fitting/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e27a33b91cf9a607fc223754f3d8ac23a19c48be6fd6065d8299d178966ae94
|
4
|
+
data.tar.gz: 976c77c2e0d19d80980bff72875eef2e5ee9b8fcbab333dc41d78b8add67d7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e84af4fd3fcd5244f99c0394bda01af4d22a18c04abf0e1925ea7b26c8156c85701a4ce0917dd542be3453ef2a20a63043c3f6a753f0fda3658579f6b141d9
|
7
|
+
data.tar.gz: 738cad48b6c0ca62ed7cff6de528cd8b126d18c858aaf158fc0376972eac87f59d0ee2eff361dda74b6547ab59460031a847149f501ec06e5e1c4d7f60bc3688
|
data/CHANGELOG.md
CHANGED
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
|
-
|
7
|
+
Library add improve test log, validate its according to your API documentation, show the documentation coverage with log.
|
8
8
|
|
9
|
-
Test
|
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
|
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/
|
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
|
data/lib/fitting/version.rb
CHANGED
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
|
+
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-
|
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/
|
247
|
+
homepage: https://github.com/matchtechnologies/fitting
|
248
248
|
licenses:
|
249
249
|
- MIT
|
250
250
|
metadata: {}
|