fitting 2.12.0 → 2.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) 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 +48 -0
  8. data/README.md +134 -79
  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 +22 -14
  14. data/lib/fitting/records/spherical/requests.rb +3 -1
  15. data/lib/fitting/report/action.rb +53 -0
  16. data/lib/fitting/report/actions.rb +55 -0
  17. data/lib/fitting/report/combination.rb +37 -0
  18. data/lib/fitting/report/combinations.rb +47 -0
  19. data/lib/fitting/report/console.rb +41 -0
  20. data/lib/fitting/report/prefix.rb +53 -0
  21. data/lib/fitting/report/prefixes.rb +44 -0
  22. data/lib/fitting/report/response.rb +71 -0
  23. data/lib/fitting/report/responses.rb +48 -0
  24. data/lib/fitting/report/test.rb +61 -0
  25. data/lib/fitting/report/tests.rb +62 -0
  26. data/lib/fitting/tests.rb +0 -1
  27. data/lib/fitting/version.rb +1 -1
  28. data/lib/tasks/fitting.rake +128 -0
  29. data/lib/templates/bomboniere/.gitignore +21 -0
  30. data/lib/templates/bomboniere/.tool-versions +1 -0
  31. data/lib/templates/bomboniere/README.md +19 -0
  32. data/lib/templates/bomboniere/dist/css/app.62e086ac.css +1 -0
  33. data/lib/templates/bomboniere/dist/css/chunk-vendors.ec5f6c3f.css +1 -0
  34. data/lib/templates/bomboniere/dist/favicon.ico +0 -0
  35. data/lib/templates/bomboniere/dist/index.html +1 -0
  36. data/lib/templates/bomboniere/dist/js/app.4356d509.js +2 -0
  37. data/lib/templates/bomboniere/dist/js/app.4356d509.js.map +1 -0
  38. data/lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js +13 -0
  39. data/lib/templates/bomboniere/dist/js/chunk-vendors.90aeb613.js.map +1 -0
  40. data/lib/templates/bomboniere/package-lock.json +9271 -0
  41. data/lib/templates/bomboniere/package.json +26 -0
  42. data/lib/templates/bomboniere/public/favicon.ico +0 -0
  43. data/lib/templates/bomboniere/public/index.html +17 -0
  44. data/lib/templates/bomboniere/src/App.vue +102 -0
  45. data/lib/templates/bomboniere/src/assets/logo.png +0 -0
  46. data/lib/templates/bomboniere/src/components/HelloWorld.vue +188 -0
  47. data/lib/templates/bomboniere/src/main.js +10 -0
  48. data/lib/templates/bomboniere/src/router/index.js +31 -0
  49. data/lib/templates/bomboniere/src/views/About.vue +5 -0
  50. data/lib/templates/bomboniere/src/views/Action.vue +154 -0
  51. data/lib/templates/bomboniere/src/views/Home.vue +17 -0
  52. data/lib/templates/bomboniere/vue.config.js +3 -0
  53. metadata +43 -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.12.0
4
+ version: 2.14.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: 2019-09-09 00:00:00.000000000 Z
11
+ date: 2020-09-23 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
@@ -215,6 +216,17 @@ files:
215
216
  - lib/fitting/records/unit/json_schema.rb
216
217
  - lib/fitting/records/unit/request.rb
217
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
218
230
  - lib/fitting/request.rb
219
231
  - lib/fitting/response.rb
220
232
  - lib/fitting/response/fully_validates.rb
@@ -246,6 +258,30 @@ files:
246
258
  - lib/fitting/view/report.html.haml
247
259
  - lib/fitting/view/style.css
248
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
249
285
  homepage: https://github.com/funbox/fitting
250
286
  licenses:
251
287
  - MIT
@@ -265,8 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
301
  - !ruby/object:Gem::Version
266
302
  version: '0'
267
303
  requirements: []
268
- rubyforge_project:
269
- rubygems_version: 2.4.5
304
+ rubygems_version: 3.1.4
270
305
  signing_key:
271
306
  specification_version: 4
272
307
  summary: Validation in the rspec of API Blueprint