fitting 2.13.0 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) 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 +52 -0
  7. data/README.md +83 -259
  8. data/example.png +0 -0
  9. data/example2.png +0 -0
  10. data/fitting.gemspec +5 -5
  11. data/lib/fitting/cover/json_schema.rb +8 -6
  12. data/lib/fitting/cover/json_schema_enum.rb +8 -6
  13. data/lib/fitting/cover/json_schema_one_of.rb +7 -5
  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 +51 -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 +88 -0
  21. data/lib/fitting/report/prefixes.rb +54 -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 +75 -0
  25. data/lib/fitting/report/tests.rb +69 -0
  26. data/lib/fitting/tests.rb +0 -1
  27. data/lib/fitting/version.rb +1 -1
  28. data/lib/tasks/fitting.rake +130 -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.aa2bcd8a.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.e5f1a5ec.js +2 -0
  37. data/lib/templates/bomboniere/dist/js/app.e5f1a5ec.js.map +1 -0
  38. data/lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js +13 -0
  39. data/lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js.map +1 -0
  40. data/lib/templates/bomboniere/package-lock.json +9277 -0
  41. data/lib/templates/bomboniere/package.json +27 -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 +201 -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 +173 -0
  51. data/lib/templates/bomboniere/src/views/Home.vue +17 -0
  52. data/lib/templates/bomboniere/vue.config.js +3 -0
  53. metadata +68 -31
  54. 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.13.0
4
+ version: 2.16.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-25 00:00:00.000000000 Z
11
+ date: 2021-02-10 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.1.0
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '3.1'
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.1.0
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '3.1'
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
@@ -172,18 +172,19 @@ dependencies:
172
172
  - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: 0.11.2
175
- description: Validation responses in the rspec with the help of API Blueprint
175
+ description: Coverage API Blueprint, Swagger and OpenAPI with rspec tests for easily
176
+ make high-quality API and documenatiton.
176
177
  email:
177
178
  - d.efimov@fun-box.ru
178
179
  executables: []
179
180
  extensions: []
180
181
  extra_rdoc_files: []
181
182
  files:
183
+ - ".github/workflows/ruby.yml"
182
184
  - ".gitignore"
183
185
  - ".rubocop.yml"
184
186
  - ".ruby-version"
185
187
  - ".tool-versions"
186
- - ".travis.yml"
187
188
  - CHANGELOG.md
188
189
  - CODE_OF_CONDUCT.md
189
190
  - Gemfile
@@ -192,6 +193,8 @@ files:
192
193
  - Rakefile
193
194
  - bin/console
194
195
  - bin/setup
196
+ - example.png
197
+ - example2.png
195
198
  - fitting.gemspec
196
199
  - lib/fitting.rb
197
200
  - lib/fitting/configuration.rb
@@ -216,6 +219,17 @@ files:
216
219
  - lib/fitting/records/unit/json_schema.rb
217
220
  - lib/fitting/records/unit/request.rb
218
221
  - lib/fitting/records/unit/response.rb
222
+ - lib/fitting/report/action.rb
223
+ - lib/fitting/report/actions.rb
224
+ - lib/fitting/report/combination.rb
225
+ - lib/fitting/report/combinations.rb
226
+ - lib/fitting/report/console.rb
227
+ - lib/fitting/report/prefix.rb
228
+ - lib/fitting/report/prefixes.rb
229
+ - lib/fitting/report/response.rb
230
+ - lib/fitting/report/responses.rb
231
+ - lib/fitting/report/test.rb
232
+ - lib/fitting/report/tests.rb
219
233
  - lib/fitting/request.rb
220
234
  - lib/fitting/response.rb
221
235
  - lib/fitting/response/fully_validates.rb
@@ -247,6 +261,30 @@ files:
247
261
  - lib/fitting/view/report.html.haml
248
262
  - lib/fitting/view/style.css
249
263
  - lib/tasks/fitting.rake
264
+ - lib/templates/bomboniere/.gitignore
265
+ - lib/templates/bomboniere/.tool-versions
266
+ - lib/templates/bomboniere/README.md
267
+ - lib/templates/bomboniere/dist/css/app.aa2bcd8a.css
268
+ - lib/templates/bomboniere/dist/css/chunk-vendors.ec5f6c3f.css
269
+ - lib/templates/bomboniere/dist/favicon.ico
270
+ - lib/templates/bomboniere/dist/index.html
271
+ - lib/templates/bomboniere/dist/js/app.e5f1a5ec.js
272
+ - lib/templates/bomboniere/dist/js/app.e5f1a5ec.js.map
273
+ - lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js
274
+ - lib/templates/bomboniere/dist/js/chunk-vendors.0f99b670.js.map
275
+ - lib/templates/bomboniere/package-lock.json
276
+ - lib/templates/bomboniere/package.json
277
+ - lib/templates/bomboniere/public/favicon.ico
278
+ - lib/templates/bomboniere/public/index.html
279
+ - lib/templates/bomboniere/src/App.vue
280
+ - lib/templates/bomboniere/src/assets/logo.png
281
+ - lib/templates/bomboniere/src/components/HelloWorld.vue
282
+ - lib/templates/bomboniere/src/main.js
283
+ - lib/templates/bomboniere/src/router/index.js
284
+ - lib/templates/bomboniere/src/views/About.vue
285
+ - lib/templates/bomboniere/src/views/Action.vue
286
+ - lib/templates/bomboniere/src/views/Home.vue
287
+ - lib/templates/bomboniere/vue.config.js
250
288
  homepage: https://github.com/funbox/fitting
251
289
  licenses:
252
290
  - MIT
@@ -266,9 +304,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
304
  - !ruby/object:Gem::Version
267
305
  version: '0'
268
306
  requirements: []
269
- rubyforge_project:
270
- rubygems_version: 2.4.5
307
+ rubygems_version: 3.0.1
271
308
  signing_key:
272
309
  specification_version: 4
273
- summary: Validation in the rspec of API Blueprint
310
+ summary: Coverage API Blueprint, Swagger and OpenAPI with rspec tests
274
311
  test_files: []
data/.travis.yml DELETED
@@ -1,4 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2
4
- before_install: gem install bundler -v 1.12