fitting 4.0.2 → 4.0.4

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: e88ddb2b0aba7b858d42c2deb0b0f99534efe8b6fa182585c6a77bd5a3de4e31
4
- data.tar.gz: 27e3d3f54a808a0818fcd0cd991aea1e1f7c8084983f134716d4d26829c5d76a
3
+ metadata.gz: 92eb81d86fad0e91e7a8b05ba39a157158400f7002594cfc6232044249d70a16
4
+ data.tar.gz: 441412e6014c7a303771443862a1ac3e23858e994957bef162bfc4c23e202bcf
5
5
  SHA512:
6
- metadata.gz: 73da9d87c292f0a996311722b80b5d3cf488250980ede0aff735669fe256db057d555b5b7f90da1f0be226e9de9d68f4d139c5fea5eeb6868491f7fc81fe4484
7
- data.tar.gz: 30af36305effe12e47c63491bd2be33c3e810e302a982388d2aa4ca1802734514d5492cc4f7043f9a867e954a83aa39d6addd404b30e1f777b46e9c42b487263
6
+ metadata.gz: 2dd67c0d5f0a783f70caada577f1501d70f070503e70c0af2bf7c9750bbfc8749fc98adf426931572bff447a8b733069723bffd39f127e34267dc997a734f0d8
7
+ data.tar.gz: e54ba08c80cbe3194ade774e9a142951fe759b757f9de61938605a6d77ba71298736457200d39c52634bd76a9fa61edd579403be1df092801ee806c73a7e123c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change log
2
2
 
3
+ ### 4.0.4 - 2023-10-06
4
+
5
+ * patch
6
+ * change home page
7
+
8
+ ### 4.0.3 - 2023-02-20
9
+
10
+ * patch
11
+ * improve error message
12
+
3
13
  ### 4.0.2 - 2023-02-17
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)/}) }
@@ -51,7 +51,7 @@ module Fitting
51
51
  else
52
52
  raise Fitting::Doc::JsonSchema::NotFound.new "json-schema: #{::JSON.pretty_generate(@step_key)}\n\n"\
53
53
  "body: #{::JSON.pretty_generate(log.body)}\n\n"\
54
- "error #{::JSON.pretty_generate(JSON::Validator.fully_validate(@step_key, log.body))}"
54
+ "error #{JSON::Validator.fully_validate(@step_key, log.body).first}"
55
55
  end
56
56
  rescue JSON::Schema::SchemaError => e
57
57
  raise Fitting::Doc::JsonSchema::NotFound.new "json-schema: #{::JSON.pretty_generate(@step_key)}\n\n"\
@@ -1,3 +1,3 @@
1
1
  module Fitting
2
- VERSION = '4.0.2'.freeze
2
+ VERSION = '4.0.4'.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.2
4
+ version: 4.0.4
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-17 00:00:00.000000000 Z
11
+ date: 2023-10-06 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: {}