fitting 2.16.0 → 2.18.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +34 -3
  3. data/CHANGELOG.md +19 -0
  4. data/README.md +37 -4
  5. data/fitting.gemspec +9 -9
  6. data/images/example.png +0 -0
  7. data/images/example2.png +0 -0
  8. data/images/logo.png +0 -0
  9. data/lib/fitting/configuration/legacy.rb +6 -5
  10. data/lib/fitting/configuration/yaml.rb +2 -2
  11. data/lib/fitting/cover/json_schema.rb +3 -2
  12. data/lib/fitting/cover/json_schema_enum.rb +1 -1
  13. data/lib/fitting/cover/json_schema_one_of.rb +1 -1
  14. data/lib/fitting/cover/response.rb +1 -5
  15. data/lib/fitting/documentation.rb +0 -2
  16. data/lib/fitting/matchers/response_matcher.rb +2 -1
  17. data/lib/fitting/records/documented/request.rb +1 -0
  18. data/lib/fitting/records/realized_unit.rb +13 -15
  19. data/lib/fitting/records/spherical/request.rb +1 -1
  20. data/lib/fitting/records/spherical/requests.rb +2 -1
  21. data/lib/fitting/records/spherical/response.rb +2 -2
  22. data/lib/fitting/records/test_unit/request.rb +4 -0
  23. data/lib/fitting/records/tested/request.rb +4 -4
  24. data/lib/fitting/records/unit/combination.rb +5 -6
  25. data/lib/fitting/records/unit/json_schema.rb +38 -33
  26. data/lib/fitting/records/unit/request.rb +1 -0
  27. data/lib/fitting/records/unit/response.rb +1 -0
  28. data/lib/fitting/report/action.rb +6 -9
  29. data/lib/fitting/report/actions.rb +7 -5
  30. data/lib/fitting/report/combination.rb +1 -15
  31. data/lib/fitting/report/combinations.rb +4 -5
  32. data/lib/fitting/report/console.rb +1 -0
  33. data/lib/fitting/report/prefix.rb +42 -51
  34. data/lib/fitting/report/prefixes.rb +6 -4
  35. data/lib/fitting/report/response.rb +17 -18
  36. data/lib/fitting/report/responses.rb +9 -8
  37. data/lib/fitting/report/test.rb +9 -11
  38. data/lib/fitting/report/tests.rb +10 -13
  39. data/lib/fitting/request.rb +0 -1
  40. data/lib/fitting/response.rb +4 -3
  41. data/lib/fitting/statistics/cover_error.rb +2 -0
  42. data/lib/fitting/statistics/cover_error_enum.rb +2 -0
  43. data/lib/fitting/statistics/cover_error_one_of.rb +2 -0
  44. data/lib/fitting/statistics/list.rb +5 -4
  45. data/lib/fitting/statistics/not_covered_responses.rb +1 -1
  46. data/lib/fitting/statistics/percent.rb +2 -1
  47. data/lib/fitting/statistics/template.rb +10 -8
  48. data/lib/fitting/storage/responses.rb +2 -2
  49. data/lib/fitting/storage/white_list.rb +7 -0
  50. data/lib/fitting/templates/realized_template.rb +2 -0
  51. data/lib/fitting/tests.rb +1 -1
  52. data/lib/fitting/version.rb +1 -1
  53. data/lib/fitting.rb +9 -6
  54. data/lib/tasks/fitting.rake +62 -54
  55. data/lib/templates/bomboniere/package-lock.json +82 -67
  56. data/lib/templates/bomboniere/src/components/HelloWorld.vue +3 -0
  57. metadata +30 -55
  58. data/example.png +0 -0
  59. data/example2.png +0 -0
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: 2.16.0
4
+ version: 2.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - d.efimov
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.6.2
33
- - !ruby/object:Gem::Dependency
34
- name: multi_json
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1.11'
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.11'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: tomograph
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -84,96 +70,84 @@ dependencies:
84
70
  requirements:
85
71
  - - "~>"
86
72
  - !ruby/object:Gem::Version
87
- version: '8.2'
73
+ version: '11.1'
88
74
  - - ">="
89
75
  - !ruby/object:Gem::Version
90
- version: 8.2.1
76
+ version: 11.1.3
91
77
  type: :development
92
78
  prerelease: false
93
79
  version_requirements: !ruby/object:Gem::Requirement
94
80
  requirements:
95
81
  - - "~>"
96
82
  - !ruby/object:Gem::Version
97
- version: '8.2'
83
+ version: '11.1'
98
84
  - - ">="
99
85
  - !ruby/object:Gem::Version
100
- version: 8.2.1
86
+ version: 11.1.3
101
87
  - !ruby/object:Gem::Dependency
102
88
  name: rake
103
89
  requirement: !ruby/object:Gem::Requirement
104
90
  requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '13.0'
105
94
  - - ">="
106
95
  - !ruby/object:Gem::Version
107
- version: 12.3.3
96
+ version: 13.0.6
108
97
  type: :development
109
98
  prerelease: false
110
99
  version_requirements: !ruby/object:Gem::Requirement
111
100
  requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '13.0'
112
104
  - - ">="
113
105
  - !ruby/object:Gem::Version
114
- version: 12.3.3
106
+ version: 13.0.6
115
107
  - !ruby/object:Gem::Dependency
116
108
  name: rspec
117
109
  requirement: !ruby/object:Gem::Requirement
118
110
  requirements:
119
- - - ">="
120
- - !ruby/object:Gem::Version
121
- version: 3.4.0
122
111
  - - "~>"
123
112
  - !ruby/object:Gem::Version
124
- version: '3.4'
113
+ version: '3.10'
125
114
  type: :development
126
115
  prerelease: false
127
116
  version_requirements: !ruby/object:Gem::Requirement
128
117
  requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: 3.4.0
132
118
  - - "~>"
133
119
  - !ruby/object:Gem::Version
134
- version: '3.4'
120
+ version: '3.10'
135
121
  - !ruby/object:Gem::Dependency
136
122
  name: rubocop
137
123
  requirement: !ruby/object:Gem::Requirement
138
124
  requirements:
139
- - - ">="
140
- - !ruby/object:Gem::Version
141
- version: 0.49.1
142
125
  - - "~>"
143
126
  - !ruby/object:Gem::Version
144
- version: 0.49.1
127
+ version: 1.22.0
145
128
  type: :development
146
129
  prerelease: false
147
130
  version_requirements: !ruby/object:Gem::Requirement
148
131
  requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- version: 0.49.1
152
132
  - - "~>"
153
133
  - !ruby/object:Gem::Version
154
- version: 0.49.1
134
+ version: 1.22.0
155
135
  - !ruby/object:Gem::Dependency
156
136
  name: simplecov
157
137
  requirement: !ruby/object:Gem::Requirement
158
138
  requirements:
159
139
  - - "~>"
160
140
  - !ruby/object:Gem::Version
161
- version: '0.11'
162
- - - ">="
163
- - !ruby/object:Gem::Version
164
- version: 0.11.2
141
+ version: '0.21'
165
142
  type: :development
166
143
  prerelease: false
167
144
  version_requirements: !ruby/object:Gem::Requirement
168
145
  requirements:
169
146
  - - "~>"
170
147
  - !ruby/object:Gem::Version
171
- version: '0.11'
172
- - - ">="
173
- - !ruby/object:Gem::Version
174
- version: 0.11.2
175
- description: Coverage API Blueprint, Swagger and OpenAPI with rspec tests for easily
176
- make high-quality API and documenatiton.
148
+ version: '0.21'
149
+ description: Coverage API Blueprint, Swagger and OpenAPI with RSpec for easily make
150
+ high-quality API and documenatiton
177
151
  email:
178
152
  - d.efimov@fun-box.ru
179
153
  executables: []
@@ -193,9 +167,10 @@ files:
193
167
  - Rakefile
194
168
  - bin/console
195
169
  - bin/setup
196
- - example.png
197
- - example2.png
198
170
  - fitting.gemspec
171
+ - images/example.png
172
+ - images/example2.png
173
+ - images/logo.png
199
174
  - lib/fitting.rb
200
175
  - lib/fitting/configuration.rb
201
176
  - lib/fitting/configuration/legacy.rb
@@ -289,7 +264,7 @@ homepage: https://github.com/funbox/fitting
289
264
  licenses:
290
265
  - MIT
291
266
  metadata: {}
292
- post_install_message:
267
+ post_install_message:
293
268
  rdoc_options: []
294
269
  require_paths:
295
270
  - lib
@@ -297,7 +272,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
297
272
  requirements:
298
273
  - - ">="
299
274
  - !ruby/object:Gem::Version
300
- version: '0'
275
+ version: 2.6.0
301
276
  required_rubygems_version: !ruby/object:Gem::Requirement
302
277
  requirements:
303
278
  - - ">="
@@ -305,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
280
  version: '0'
306
281
  requirements: []
307
282
  rubygems_version: 3.0.1
308
- signing_key:
283
+ signing_key:
309
284
  specification_version: 4
310
- summary: Coverage API Blueprint, Swagger and OpenAPI with rspec tests
285
+ summary: Coverage API Blueprint, Swagger and OpenAPI with RSpec
311
286
  test_files: []
data/example.png DELETED
Binary file
data/example2.png DELETED
Binary file