fitting 2.11.0 → 2.14.0

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 +5 -5
  2. data/.gitignore +0 -1
  3. data/.rubocop.yml +1 -1
  4. data/.ruby-version +1 -1
  5. data/.tool-versions +1 -0
  6. data/.travis.yml +1 -1
  7. data/CHANGELOG.md +47 -0
  8. data/README.md +136 -76
  9. data/fitting.gemspec +1 -1
  10. data/lib/fitting.rb +5 -0
  11. data/lib/fitting/cover/json_schema.rb +21 -80
  12. data/lib/fitting/cover/json_schema_enum.rb +20 -70
  13. data/lib/fitting/cover/json_schema_one_of.rb +38 -0
  14. data/lib/fitting/records/spherical/requests.rb +3 -1
  15. data/lib/fitting/records/unit/json_schema.rb +26 -0
  16. data/lib/fitting/report/action.rb +53 -0
  17. data/lib/fitting/report/actions.rb +55 -0
  18. data/lib/fitting/report/combination.rb +37 -0
  19. data/lib/fitting/report/combinations.rb +47 -0
  20. data/lib/fitting/report/console.rb +41 -0
  21. data/lib/fitting/report/prefix.rb +53 -0
  22. data/lib/fitting/report/prefixes.rb +44 -0
  23. data/lib/fitting/report/response.rb +71 -0
  24. data/lib/fitting/report/responses.rb +48 -0
  25. data/lib/fitting/report/test.rb +61 -0
  26. data/lib/fitting/report/tests.rb +62 -0
  27. data/lib/fitting/statistics/cover_error_one_of.rb +27 -0
  28. data/lib/fitting/statistics/list.rb +2 -0
  29. data/lib/fitting/statistics/measurement_cover_one_of.rb +92 -0
  30. data/lib/fitting/statistics/template.rb +5 -0
  31. data/lib/fitting/statistics/template_cover_error_one_of.rb +50 -0
  32. data/lib/fitting/tests.rb +0 -1
  33. data/lib/fitting/version.rb +1 -1
  34. data/lib/tasks/fitting.rake +150 -2
  35. data/lib/templates/bomboniere/.gitignore +21 -0
  36. data/lib/templates/bomboniere/.tool-versions +1 -0
  37. data/lib/templates/bomboniere/README.md +19 -0
  38. data/lib/templates/bomboniere/dist/css/app.62e086ac.css +1 -0
  39. data/lib/templates/bomboniere/dist/css/chunk-vendors.ec5f6c3f.css +1 -0
  40. data/lib/templates/bomboniere/dist/favicon.ico +0 -0
  41. data/lib/templates/bomboniere/dist/index.html +1 -0
  42. data/lib/templates/bomboniere/dist/js/app.4356d509.js +2 -0
  43. data/lib/templates/bomboniere/dist/js/app.4356d509.js.map +1 -0
  44. data/lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js +13 -0
  45. data/lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js.map +1 -0
  46. data/lib/templates/bomboniere/package-lock.json +9263 -0
  47. data/lib/templates/bomboniere/package.json +25 -0
  48. data/lib/templates/bomboniere/public/favicon.ico +0 -0
  49. data/lib/templates/bomboniere/public/index.html +17 -0
  50. data/lib/templates/bomboniere/src/App.vue +102 -0
  51. data/lib/templates/bomboniere/src/assets/logo.png +0 -0
  52. data/lib/templates/bomboniere/src/components/HelloWorld.vue +188 -0
  53. data/lib/templates/bomboniere/src/main.js +10 -0
  54. data/lib/templates/bomboniere/src/router/index.js +31 -0
  55. data/lib/templates/bomboniere/src/views/About.vue +5 -0
  56. data/lib/templates/bomboniere/src/views/Action.vue +154 -0
  57. data/lib/templates/bomboniere/src/views/Home.vue +17 -0
  58. data/lib/templates/bomboniere/vue.config.js +3 -0
  59. metadata +47 -8
@@ -0,0 +1,17 @@
1
+ <template>
2
+ <div class="home">
3
+ <HelloWorld msg="Welcome to Your Vue.js App"/>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ // @ is an alias to /src
9
+ import HelloWorld from '@/components/HelloWorld.vue'
10
+
11
+ export default {
12
+ name: 'Home',
13
+ components: {
14
+ HelloWorld
15
+ }
16
+ }
17
+ </script>
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ publicPath: ''
3
+ }
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.11.0
4
+ version: 2.14.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: 2019-09-08 00:00:00.000000000 Z
11
+ date: 2020-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -102,16 +102,16 @@ dependencies:
102
102
  name: rake
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - "~>"
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: '10.0'
107
+ version: 12.3.3
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - "~>"
112
+ - - ">="
113
113
  - !ruby/object:Gem::Version
114
- version: '10.0'
114
+ version: 12.3.3
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rspec
117
117
  requirement: !ruby/object:Gem::Requirement
@@ -182,6 +182,7 @@ files:
182
182
  - ".gitignore"
183
183
  - ".rubocop.yml"
184
184
  - ".ruby-version"
185
+ - ".tool-versions"
185
186
  - ".travis.yml"
186
187
  - CHANGELOG.md
187
188
  - CODE_OF_CONDUCT.md
@@ -198,6 +199,7 @@ files:
198
199
  - lib/fitting/configuration/yaml.rb
199
200
  - lib/fitting/cover/json_schema.rb
200
201
  - lib/fitting/cover/json_schema_enum.rb
202
+ - lib/fitting/cover/json_schema_one_of.rb
201
203
  - lib/fitting/cover/response.rb
202
204
  - lib/fitting/documentation.rb
203
205
  - lib/fitting/matchers/response_matcher.rb
@@ -214,6 +216,17 @@ files:
214
216
  - lib/fitting/records/unit/json_schema.rb
215
217
  - lib/fitting/records/unit/request.rb
216
218
  - lib/fitting/records/unit/response.rb
219
+ - lib/fitting/report/action.rb
220
+ - lib/fitting/report/actions.rb
221
+ - lib/fitting/report/combination.rb
222
+ - lib/fitting/report/combinations.rb
223
+ - lib/fitting/report/console.rb
224
+ - lib/fitting/report/prefix.rb
225
+ - lib/fitting/report/prefixes.rb
226
+ - lib/fitting/report/response.rb
227
+ - lib/fitting/report/responses.rb
228
+ - lib/fitting/report/test.rb
229
+ - lib/fitting/report/tests.rb
217
230
  - lib/fitting/request.rb
218
231
  - lib/fitting/response.rb
219
232
  - lib/fitting/response/fully_validates.rb
@@ -221,12 +234,14 @@ files:
221
234
  - lib/fitting/statistics/analysis.rb
222
235
  - lib/fitting/statistics/cover_error.rb
223
236
  - lib/fitting/statistics/cover_error_enum.rb
237
+ - lib/fitting/statistics/cover_error_one_of.rb
224
238
  - lib/fitting/statistics/great.rb
225
239
  - lib/fitting/statistics/list.rb
226
240
  - lib/fitting/statistics/lists.rb
227
241
  - lib/fitting/statistics/measurement.rb
228
242
  - lib/fitting/statistics/measurement_cover.rb
229
243
  - lib/fitting/statistics/measurement_cover_enum.rb
244
+ - lib/fitting/statistics/measurement_cover_one_of.rb
230
245
  - lib/fitting/statistics/not_covered_responses.rb
231
246
  - lib/fitting/statistics/percent.rb
232
247
  - lib/fitting/statistics/requests_stats.rb
@@ -234,6 +249,7 @@ files:
234
249
  - lib/fitting/statistics/template.rb
235
250
  - lib/fitting/statistics/template_cover_error.rb
236
251
  - lib/fitting/statistics/template_cover_error_enum.rb
252
+ - lib/fitting/statistics/template_cover_error_one_of.rb
237
253
  - lib/fitting/storage/responses.rb
238
254
  - lib/fitting/storage/white_list.rb
239
255
  - lib/fitting/templates/realized_template.rb
@@ -242,6 +258,30 @@ files:
242
258
  - lib/fitting/view/report.html.haml
243
259
  - lib/fitting/view/style.css
244
260
  - lib/tasks/fitting.rake
261
+ - lib/templates/bomboniere/.gitignore
262
+ - lib/templates/bomboniere/.tool-versions
263
+ - lib/templates/bomboniere/README.md
264
+ - lib/templates/bomboniere/dist/css/app.62e086ac.css
265
+ - lib/templates/bomboniere/dist/css/chunk-vendors.ec5f6c3f.css
266
+ - lib/templates/bomboniere/dist/favicon.ico
267
+ - lib/templates/bomboniere/dist/index.html
268
+ - lib/templates/bomboniere/dist/js/app.4356d509.js
269
+ - lib/templates/bomboniere/dist/js/app.4356d509.js.map
270
+ - lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js
271
+ - lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js.map
272
+ - lib/templates/bomboniere/package-lock.json
273
+ - lib/templates/bomboniere/package.json
274
+ - lib/templates/bomboniere/public/favicon.ico
275
+ - lib/templates/bomboniere/public/index.html
276
+ - lib/templates/bomboniere/src/App.vue
277
+ - lib/templates/bomboniere/src/assets/logo.png
278
+ - lib/templates/bomboniere/src/components/HelloWorld.vue
279
+ - lib/templates/bomboniere/src/main.js
280
+ - lib/templates/bomboniere/src/router/index.js
281
+ - lib/templates/bomboniere/src/views/About.vue
282
+ - lib/templates/bomboniere/src/views/Action.vue
283
+ - lib/templates/bomboniere/src/views/Home.vue
284
+ - lib/templates/bomboniere/vue.config.js
245
285
  homepage: https://github.com/funbox/fitting
246
286
  licenses:
247
287
  - MIT
@@ -261,8 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
261
301
  - !ruby/object:Gem::Version
262
302
  version: '0'
263
303
  requirements: []
264
- rubyforge_project:
265
- rubygems_version: 2.4.5
304
+ rubygems_version: 3.1.4
266
305
  signing_key:
267
306
  specification_version: 4
268
307
  summary: Validation in the rspec of API Blueprint