fitting 4.1.0 → 4.2.1
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/fitting.gemspec +1 -1
- data/lib/fitting/log.rb +6 -2
- 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: 8642aa27da219b914296fb457b71bfd3f1f2b052ccc3c2e59913c0aa245955e9
|
4
|
+
data.tar.gz: e766dfc323c58b08f2842d5a3328f048e5c6006a83e513c156ab8fdfa4583baf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ac1a29a8b3db40a52026c686965ae56fa835427fd84b964d3e3b32ece36f0b0f1aa4ea4bfaa161eb3eb6a74862fe4d844b0d46d1d534efc59aab75b5d7d068d
|
7
|
+
data.tar.gz: 17b3f8af8a5b284c90b59d805bceef2c2e58e431212496103f1a488d3726d23c3bd2daa8356b15cd6524931d17c4bf58e9f4c14ae46c5b8701494e11be1e94b6
|
data/CHANGELOG.md
CHANGED
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/tuwilof/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
@@ -96,10 +96,14 @@ module Fitting
|
|
96
96
|
Fitting::Log.failure(logs).each_with_index do |log, index|
|
97
97
|
puts "\e[31m #{index + 1}) #{log.error.class} #{log.error.message}\n\n\e[0m"
|
98
98
|
end
|
99
|
-
|
99
|
+
|
100
|
+
failure_count = Fitting::Log.failure(logs).size
|
101
|
+
color_code = failure_count > 0 ? 31 : 32
|
102
|
+
print "\e[#{color_code}m#{logs.size} examples, #{failure_count} failure, #{Fitting::Log.pending(logs).size} pending\e[0m\n"
|
103
|
+
|
100
104
|
unless Fitting::Log.failure(logs).size <= 0
|
101
105
|
exit 1
|
102
106
|
end
|
103
107
|
end
|
104
108
|
end
|
105
|
-
end
|
109
|
+
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.1
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- d.efimov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-03 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/tuwilof/fitting
|
248
248
|
licenses:
|
249
249
|
- MIT
|
250
250
|
metadata: {}
|