fitting 2.12.1 → 2.15.0

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/.github/workflows/ruby.yml +33 -0
  3. data/.rubocop.yml +1 -1
  4. data/.ruby-version +1 -1
  5. data/.tool-versions +1 -1
  6. data/CHANGELOG.md +54 -0
  7. data/README.md +127 -85
  8. data/fitting.gemspec +3 -3
  9. data/lib/fitting.rb +5 -0
  10. data/lib/fitting/cover/json_schema.rb +21 -80
  11. data/lib/fitting/cover/json_schema_enum.rb +20 -70
  12. data/lib/fitting/cover/json_schema_one_of.rb +7 -5
  13. data/lib/fitting/records/spherical/requests.rb +3 -1
  14. data/lib/fitting/report/action.rb +53 -0
  15. data/lib/fitting/report/actions.rb +55 -0
  16. data/lib/fitting/report/combination.rb +37 -0
  17. data/lib/fitting/report/combinations.rb +47 -0
  18. data/lib/fitting/report/console.rb +41 -0
  19. data/lib/fitting/report/prefix.rb +53 -0
  20. data/lib/fitting/report/prefixes.rb +44 -0
  21. data/lib/fitting/report/response.rb +71 -0
  22. data/lib/fitting/report/responses.rb +48 -0
  23. data/lib/fitting/report/test.rb +75 -0
  24. data/lib/fitting/report/tests.rb +69 -0
  25. data/lib/fitting/tests.rb +0 -1
  26. data/lib/fitting/version.rb +1 -1
  27. data/lib/tasks/fitting.rake +130 -0
  28. data/lib/templates/bomboniere/.gitignore +21 -0
  29. data/lib/templates/bomboniere/.tool-versions +1 -0
  30. data/lib/templates/bomboniere/README.md +19 -0
  31. data/lib/templates/bomboniere/dist/css/app.aa2bcd8a.css +1 -0
  32. data/lib/templates/bomboniere/dist/css/chunk-vendors.ec5f6c3f.css +1 -0
  33. data/lib/templates/bomboniere/dist/favicon.ico +0 -0
  34. data/lib/templates/bomboniere/dist/index.html +1 -0
  35. data/lib/templates/bomboniere/dist/js/app.e5f1a5ec.js +2 -0
  36. data/lib/templates/bomboniere/dist/js/app.e5f1a5ec.js.map +1 -0
  37. data/lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js +13 -0
  38. data/lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js.map +1 -0
  39. data/lib/templates/bomboniere/package-lock.json +9271 -0
  40. data/lib/templates/bomboniere/package.json +26 -0
  41. data/lib/templates/bomboniere/public/favicon.ico +0 -0
  42. data/lib/templates/bomboniere/public/index.html +17 -0
  43. data/lib/templates/bomboniere/src/App.vue +102 -0
  44. data/lib/templates/bomboniere/src/assets/logo.png +0 -0
  45. data/lib/templates/bomboniere/src/components/HelloWorld.vue +201 -0
  46. data/lib/templates/bomboniere/src/main.js +10 -0
  47. data/lib/templates/bomboniere/src/router/index.js +31 -0
  48. data/lib/templates/bomboniere/src/views/About.vue +5 -0
  49. data/lib/templates/bomboniere/src/views/Action.vue +173 -0
  50. data/lib/templates/bomboniere/src/views/Home.vue +17 -0
  51. data/lib/templates/bomboniere/vue.config.js +3 -0
  52. metadata +63 -29
  53. data/.travis.yml +0 -4
@@ -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.1
4
+ version: 2.15.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: 2020-02-07 00:00:00.000000000 Z
11
+ date: 2020-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema
@@ -48,36 +48,36 @@ dependencies:
48
48
  name: tomograph
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '2.0'
54
51
  - - ">="
55
52
  - !ruby/object:Gem::Version
56
- version: 2.2.0
53
+ version: 3.0.0
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.0'
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - "~>"
62
- - !ruby/object:Gem::Version
63
- version: '2.0'
64
61
  - - ">="
65
62
  - !ruby/object:Gem::Version
66
- version: 2.2.0
63
+ version: 3.0.0
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.0'
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: bundler
69
69
  requirement: !ruby/object:Gem::Requirement
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '1.12'
73
+ version: '2.0'
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '1.12'
80
+ version: '2.0'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: byebug
83
83
  requirement: !ruby/object:Gem::Requirement
@@ -102,54 +102,54 @@ 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
118
118
  requirements:
119
- - - "~>"
120
- - !ruby/object:Gem::Version
121
- version: '3.4'
122
119
  - - ">="
123
120
  - !ruby/object:Gem::Version
124
121
  version: 3.4.0
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.4'
125
125
  type: :development
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '3.4'
132
129
  - - ">="
133
130
  - !ruby/object:Gem::Version
134
131
  version: 3.4.0
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '3.4'
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rubocop
137
137
  requirement: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - "~>"
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
141
  version: 0.49.1
142
- - - ">="
142
+ - - "~>"
143
143
  - !ruby/object:Gem::Version
144
144
  version: 0.49.1
145
145
  type: :development
146
146
  prerelease: false
147
147
  version_requirements: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - "~>"
149
+ - - ">="
150
150
  - !ruby/object:Gem::Version
151
151
  version: 0.49.1
152
- - - ">="
152
+ - - "~>"
153
153
  - !ruby/object:Gem::Version
154
154
  version: 0.49.1
155
155
  - !ruby/object:Gem::Dependency
@@ -179,11 +179,11 @@ executables: []
179
179
  extensions: []
180
180
  extra_rdoc_files: []
181
181
  files:
182
+ - ".github/workflows/ruby.yml"
182
183
  - ".gitignore"
183
184
  - ".rubocop.yml"
184
185
  - ".ruby-version"
185
186
  - ".tool-versions"
186
- - ".travis.yml"
187
187
  - CHANGELOG.md
188
188
  - CODE_OF_CONDUCT.md
189
189
  - Gemfile
@@ -216,6 +216,17 @@ files:
216
216
  - lib/fitting/records/unit/json_schema.rb
217
217
  - lib/fitting/records/unit/request.rb
218
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
219
230
  - lib/fitting/request.rb
220
231
  - lib/fitting/response.rb
221
232
  - lib/fitting/response/fully_validates.rb
@@ -247,6 +258,30 @@ files:
247
258
  - lib/fitting/view/report.html.haml
248
259
  - lib/fitting/view/style.css
249
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.aa2bcd8a.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.e5f1a5ec.js
269
+ - lib/templates/bomboniere/dist/js/app.e5f1a5ec.js.map
270
+ - lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js
271
+ - lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.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
250
285
  homepage: https://github.com/funbox/fitting
251
286
  licenses:
252
287
  - MIT
@@ -266,8 +301,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
301
  - !ruby/object:Gem::Version
267
302
  version: '0'
268
303
  requirements: []
269
- rubyforge_project:
270
- rubygems_version: 2.4.5
304
+ rubygems_version: 3.0.1
271
305
  signing_key:
272
306
  specification_version: 4
273
307
  summary: Validation in the rspec of API Blueprint
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2
4
- before_install: gem install bundler -v 1.12