praxis 0.21 → 2.0.pre.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -15
- data/CHANGELOG.md +328 -299
- data/CONTRIBUTING.md +4 -4
- data/README.md +11 -9
- data/lib/api_browser/app/js/directives/attribute_table.js +2 -1
- data/lib/api_browser/app/js/directives/conditional_requirements.js +13 -0
- data/lib/api_browser/app/js/directives/type_placeholder.js +10 -1
- data/lib/api_browser/app/js/factories/normalize_attributes.js +4 -2
- data/lib/api_browser/app/js/factories/template_for.js +5 -2
- data/lib/api_browser/app/js/filters/has_requirement.js +14 -0
- data/lib/api_browser/app/js/filters/tag_requirement.js +13 -0
- data/lib/api_browser/app/sass/praxis.scss +11 -0
- data/lib/api_browser/app/views/action.html +2 -2
- data/lib/api_browser/app/views/directives/attribute_description/member_options.html +2 -2
- data/lib/api_browser/app/views/directives/attribute_table.html +1 -1
- data/lib/api_browser/app/views/type.html +1 -1
- data/lib/api_browser/app/views/type/details.html +2 -2
- data/lib/api_browser/app/views/types/embedded/array.html +2 -0
- data/lib/api_browser/app/views/types/embedded/default.html +3 -1
- data/lib/api_browser/app/views/types/embedded/requirements.html +6 -0
- data/lib/api_browser/app/views/types/embedded/single_req.html +9 -0
- data/lib/api_browser/app/views/types/embedded/struct.html +14 -2
- data/lib/api_browser/app/views/types/standalone/array.html +1 -1
- data/lib/api_browser/app/views/types/standalone/struct.html +2 -1
- data/lib/api_browser/package.json +1 -1
- data/lib/praxis.rb +9 -3
- data/lib/praxis/action_definition.rb +1 -1
- data/lib/praxis/action_definition/headers_dsl_compiler.rb +1 -1
- data/lib/praxis/application.rb +1 -9
- data/lib/praxis/bootloader.rb +1 -4
- data/lib/praxis/config.rb +1 -1
- data/lib/praxis/dispatcher.rb +10 -6
- data/lib/praxis/docs/generator.rb +2 -1
- data/lib/praxis/extensions/attribute_filtering/active_record_filter_query_builder.rb +180 -0
- data/lib/praxis/extensions/attribute_filtering/filtering_params.rb +273 -0
- data/lib/praxis/extensions/attribute_filtering/sequel_filter_query_builder.rb +125 -0
- data/lib/praxis/extensions/field_selection.rb +1 -9
- data/lib/praxis/extensions/field_selection/active_record_query_selector.rb +51 -0
- data/lib/praxis/extensions/field_selection/sequel_query_selector.rb +61 -0
- data/lib/praxis/extensions/rails_compat.rb +2 -0
- data/lib/praxis/extensions/rails_compat/request_methods.rb +19 -0
- data/lib/praxis/handlers/xml.rb +1 -1
- data/lib/praxis/mapper/active_model_compat.rb +98 -0
- data/lib/praxis/mapper/resource.rb +242 -0
- data/lib/praxis/mapper/selector_generator.rb +149 -0
- data/lib/praxis/mapper/sequel_compat.rb +76 -0
- data/lib/praxis/media_type_identifier.rb +2 -1
- data/lib/praxis/middleware_app.rb +20 -2
- data/lib/praxis/multipart/parser.rb +14 -2
- data/lib/praxis/notifications.rb +1 -1
- data/lib/praxis/plugins/mapper_plugin.rb +64 -0
- data/lib/praxis/plugins/rails_plugin.rb +104 -0
- data/lib/praxis/request.rb +7 -1
- data/lib/praxis/request_superclassing.rb +11 -0
- data/lib/praxis/resource_definition.rb +5 -5
- data/lib/praxis/response.rb +1 -1
- data/lib/praxis/route.rb +1 -1
- data/lib/praxis/routing_config.rb +1 -1
- data/lib/praxis/trait.rb +1 -1
- data/lib/praxis/types/media_type_common.rb +2 -2
- data/lib/praxis/types/multipart.rb +1 -1
- data/lib/praxis/types/multipart_array.rb +2 -2
- data/lib/praxis/types/multipart_array/part_definition.rb +1 -1
- data/lib/praxis/version.rb +1 -1
- data/praxis.gemspec +14 -13
- data/spec/functional_spec.rb +4 -7
- data/spec/praxis/action_definition_spec.rb +1 -1
- data/spec/praxis/application_spec.rb +1 -1
- data/spec/praxis/collection_spec.rb +3 -2
- data/spec/praxis/config_spec.rb +2 -2
- data/spec/praxis/extensions/field_selection/active_record_query_selector_spec.rb +106 -0
- data/spec/praxis/extensions/field_selection/sequel_query_selector_spec.rb +147 -0
- data/spec/praxis/extensions/field_selection/support/spec_resources_active_model.rb +130 -0
- data/spec/praxis/extensions/field_selection/support/spec_resources_sequel.rb +106 -0
- data/spec/praxis/handlers/xml_spec.rb +2 -2
- data/spec/praxis/mapper/resource_spec.rb +169 -0
- data/spec/praxis/mapper/selector_generator_spec.rb +293 -0
- data/spec/praxis/media_type_spec.rb +0 -10
- data/spec/praxis/middleware_app_spec.rb +29 -9
- data/spec/praxis/request_stages/action_spec.rb +8 -1
- data/spec/praxis/response_definition_spec.rb +7 -4
- data/spec/praxis/response_spec.rb +1 -1
- data/spec/praxis/responses/internal_server_error_spec.rb +2 -2
- data/spec/praxis/responses/validation_error_spec.rb +2 -2
- data/spec/praxis/router_spec.rb +1 -1
- data/spec/spec_app/app/controllers/instances.rb +1 -1
- data/spec/spec_app/config/environment.rb +3 -21
- data/spec/spec_helper.rb +11 -15
- data/spec/support/be_deep_equal_matcher.rb +39 -0
- data/spec/support/spec_resources.rb +124 -0
- data/tasks/thor/templates/generator/empty_app/Gemfile +3 -3
- metadata +102 -77
- data/.ruby-version +0 -1
- data/lib/praxis/extensions/mapper_selectors.rb +0 -16
- data/lib/praxis/media_type_collection.rb +0 -127
- data/lib/praxis/plugins/praxis_mapper_plugin.rb +0 -246
- data/lib/praxis/stats.rb +0 -113
- data/spec/praxis/media_type_collection_spec.rb +0 -157
- data/spec/praxis/plugins/praxis_mapper_plugin_spec.rb +0 -142
- data/spec/praxis/stats_spec.rb +0 -9
- data/spec/spec_app/app/models/person.rb +0 -3
@@ -1,8 +1,8 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
gem 'praxis', github: '
|
4
|
-
gem 'attributor', github: '
|
5
|
-
gem 'praxis-blueprints', github: '
|
3
|
+
gem 'praxis', github: 'praxis/praxis'
|
4
|
+
gem 'attributor', github: 'praxis/attributor'
|
5
|
+
gem 'praxis-blueprints', github: 'praxis/praxis-blueprints'
|
6
6
|
|
7
7
|
gem 'rainbows', require: false
|
8
8
|
gem 'rake'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: praxis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.pre.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep M. Blanquer
|
@@ -9,36 +9,42 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-07-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: mustermann
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '1.1'
|
35
|
+
- - "<="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '2'
|
35
38
|
type: :runtime
|
36
39
|
prerelease: false
|
37
40
|
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
requirements:
|
39
|
-
- - "
|
42
|
+
- - ">="
|
40
43
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
44
|
+
version: '1.1'
|
45
|
+
- - "<="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: activesupport
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,62 +73,48 @@ dependencies:
|
|
67
73
|
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: '0'
|
70
|
-
- !ruby/object:Gem::Dependency
|
71
|
-
name: praxis-mapper
|
72
|
-
requirement: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '4.3'
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '4.3'
|
84
76
|
- !ruby/object:Gem::Dependency
|
85
77
|
name: praxis-blueprints
|
86
78
|
requirement: !ruby/object:Gem::Requirement
|
87
79
|
requirements:
|
88
|
-
- - "
|
80
|
+
- - ">="
|
89
81
|
- !ruby/object:Gem::Version
|
90
|
-
version: '3.
|
82
|
+
version: '3.4'
|
91
83
|
type: :runtime
|
92
84
|
prerelease: false
|
93
85
|
version_requirements: !ruby/object:Gem::Requirement
|
94
86
|
requirements:
|
95
|
-
- - "
|
87
|
+
- - ">="
|
96
88
|
- !ruby/object:Gem::Version
|
97
|
-
version: '3.
|
89
|
+
version: '3.4'
|
98
90
|
- !ruby/object:Gem::Dependency
|
99
91
|
name: attributor
|
100
92
|
requirement: !ruby/object:Gem::Requirement
|
101
93
|
requirements:
|
102
|
-
- - "
|
94
|
+
- - ">="
|
103
95
|
- !ruby/object:Gem::Version
|
104
|
-
version: '5.
|
96
|
+
version: '5.4'
|
105
97
|
type: :runtime
|
106
98
|
prerelease: false
|
107
99
|
version_requirements: !ruby/object:Gem::Requirement
|
108
100
|
requirements:
|
109
|
-
- - "
|
101
|
+
- - ">="
|
110
102
|
- !ruby/object:Gem::Version
|
111
|
-
version: '5.
|
103
|
+
version: '5.4'
|
112
104
|
- !ruby/object:Gem::Dependency
|
113
105
|
name: thor
|
114
106
|
requirement: !ruby/object:Gem::Requirement
|
115
107
|
requirements:
|
116
|
-
- - "
|
108
|
+
- - ">="
|
117
109
|
- !ruby/object:Gem::Version
|
118
|
-
version: '0
|
110
|
+
version: '0'
|
119
111
|
type: :runtime
|
120
112
|
prerelease: false
|
121
113
|
version_requirements: !ruby/object:Gem::Requirement
|
122
114
|
requirements:
|
123
|
-
- - "
|
115
|
+
- - ">="
|
124
116
|
- !ruby/object:Gem::Version
|
125
|
-
version: '0
|
117
|
+
version: '0'
|
126
118
|
- !ruby/object:Gem::Dependency
|
127
119
|
name: terminal-table
|
128
120
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,34 +129,20 @@ dependencies:
|
|
137
129
|
- - "~>"
|
138
130
|
- !ruby/object:Gem::Version
|
139
131
|
version: '1.4'
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: harness
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - "~>"
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: '2'
|
147
|
-
type: :runtime
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - "~>"
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: '2'
|
154
132
|
- !ruby/object:Gem::Dependency
|
155
133
|
name: bundler
|
156
134
|
requirement: !ruby/object:Gem::Requirement
|
157
135
|
requirements:
|
158
|
-
- - "
|
136
|
+
- - ">="
|
159
137
|
- !ruby/object:Gem::Version
|
160
|
-
version: '
|
138
|
+
version: '0'
|
161
139
|
type: :development
|
162
140
|
prerelease: false
|
163
141
|
version_requirements: !ruby/object:Gem::Requirement
|
164
142
|
requirements:
|
165
|
-
- - "
|
143
|
+
- - ">="
|
166
144
|
- !ruby/object:Gem::Version
|
167
|
-
version: '
|
145
|
+
version: '0'
|
168
146
|
- !ruby/object:Gem::Dependency
|
169
147
|
name: rake
|
170
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -197,42 +175,42 @@ dependencies:
|
|
197
175
|
name: pry
|
198
176
|
requirement: !ruby/object:Gem::Requirement
|
199
177
|
requirements:
|
200
|
-
- - "
|
178
|
+
- - ">="
|
201
179
|
- !ruby/object:Gem::Version
|
202
180
|
version: '0'
|
203
181
|
type: :development
|
204
182
|
prerelease: false
|
205
183
|
version_requirements: !ruby/object:Gem::Requirement
|
206
184
|
requirements:
|
207
|
-
- - "
|
185
|
+
- - ">="
|
208
186
|
- !ruby/object:Gem::Version
|
209
187
|
version: '0'
|
210
188
|
- !ruby/object:Gem::Dependency
|
211
189
|
name: pry-byebug
|
212
190
|
requirement: !ruby/object:Gem::Requirement
|
213
191
|
requirements:
|
214
|
-
- - "
|
192
|
+
- - ">="
|
215
193
|
- !ruby/object:Gem::Version
|
216
|
-
version: '
|
194
|
+
version: '0'
|
217
195
|
type: :development
|
218
196
|
prerelease: false
|
219
197
|
version_requirements: !ruby/object:Gem::Requirement
|
220
198
|
requirements:
|
221
|
-
- - "
|
199
|
+
- - ">="
|
222
200
|
- !ruby/object:Gem::Version
|
223
|
-
version: '
|
201
|
+
version: '0'
|
224
202
|
- !ruby/object:Gem::Dependency
|
225
203
|
name: pry-stack_explorer
|
226
204
|
requirement: !ruby/object:Gem::Requirement
|
227
205
|
requirements:
|
228
|
-
- - "
|
206
|
+
- - ">="
|
229
207
|
- !ruby/object:Gem::Version
|
230
208
|
version: '0'
|
231
209
|
type: :development
|
232
210
|
prerelease: false
|
233
211
|
version_requirements: !ruby/object:Gem::Requirement
|
234
212
|
requirements:
|
235
|
-
- - "
|
213
|
+
- - ">="
|
236
214
|
- !ruby/object:Gem::Version
|
237
215
|
version: '0'
|
238
216
|
- !ruby/object:Gem::Dependency
|
@@ -379,16 +357,16 @@ dependencies:
|
|
379
357
|
name: yard
|
380
358
|
requirement: !ruby/object:Gem::Requirement
|
381
359
|
requirements:
|
382
|
-
- - "
|
360
|
+
- - ">="
|
383
361
|
- !ruby/object:Gem::Version
|
384
|
-
version:
|
362
|
+
version: 0.9.20
|
385
363
|
type: :development
|
386
364
|
prerelease: false
|
387
365
|
version_requirements: !ruby/object:Gem::Requirement
|
388
366
|
requirements:
|
389
|
-
- - "
|
367
|
+
- - ">="
|
390
368
|
- !ruby/object:Gem::Version
|
391
|
-
version:
|
369
|
+
version: 0.9.20
|
392
370
|
- !ruby/object:Gem::Dependency
|
393
371
|
name: coveralls
|
394
372
|
requirement: !ruby/object:Gem::Requirement
|
@@ -403,6 +381,34 @@ dependencies:
|
|
403
381
|
- - ">="
|
404
382
|
- !ruby/object:Gem::Version
|
405
383
|
version: '0'
|
384
|
+
- !ruby/object:Gem::Dependency
|
385
|
+
name: sequel
|
386
|
+
requirement: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - "~>"
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: '5'
|
391
|
+
type: :development
|
392
|
+
prerelease: false
|
393
|
+
version_requirements: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - "~>"
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '5'
|
398
|
+
- !ruby/object:Gem::Dependency
|
399
|
+
name: activerecord
|
400
|
+
requirement: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - ">"
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '4'
|
405
|
+
type: :development
|
406
|
+
prerelease: false
|
407
|
+
version_requirements: !ruby/object:Gem::Requirement
|
408
|
+
requirements:
|
409
|
+
- - ">"
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: '4'
|
406
412
|
description:
|
407
413
|
email:
|
408
414
|
- blanquer@gmail.com
|
@@ -414,7 +420,6 @@ extra_rdoc_files: []
|
|
414
420
|
files:
|
415
421
|
- ".gitignore"
|
416
422
|
- ".rspec"
|
417
|
-
- ".ruby-version"
|
418
423
|
- ".simplecov"
|
419
424
|
- ".travis.yml"
|
420
425
|
- CHANGELOG.md
|
@@ -439,6 +444,7 @@ files:
|
|
439
444
|
- lib/api_browser/app/js/controllers/type.js
|
440
445
|
- lib/api_browser/app/js/directives/attribute_description.js
|
441
446
|
- lib/api_browser/app/js/directives/attribute_table.js
|
447
|
+
- lib/api_browser/app/js/directives/conditional_requirements.js
|
442
448
|
- lib/api_browser/app/js/directives/fixed_if_fits.js
|
443
449
|
- lib/api_browser/app/js/directives/highlight.js
|
444
450
|
- lib/api_browser/app/js/directives/menu_item.js
|
@@ -456,10 +462,12 @@ files:
|
|
456
462
|
- lib/api_browser/app/js/factories/template_for.js
|
457
463
|
- lib/api_browser/app/js/filters/attribute_name.js
|
458
464
|
- lib/api_browser/app/js/filters/friendly_json.js
|
465
|
+
- lib/api_browser/app/js/filters/has_requirement.js
|
459
466
|
- lib/api_browser/app/js/filters/header_info.js
|
460
467
|
- lib/api_browser/app/js/filters/is_empty.js
|
461
468
|
- lib/api_browser/app/js/filters/markdown.js
|
462
469
|
- lib/api_browser/app/js/filters/resource_name.js
|
470
|
+
- lib/api_browser/app/js/filters/tag_requirement.js
|
463
471
|
- lib/api_browser/app/sass/modules/_body.scss
|
464
472
|
- lib/api_browser/app/sass/modules/_cloke.scss
|
465
473
|
- lib/api_browser/app/sass/modules/_header.scss
|
@@ -489,9 +497,12 @@ files:
|
|
489
497
|
- lib/api_browser/app/views/trait.html
|
490
498
|
- lib/api_browser/app/views/type.html
|
491
499
|
- lib/api_browser/app/views/type/details.html
|
500
|
+
- lib/api_browser/app/views/types/embedded/array.html
|
492
501
|
- lib/api_browser/app/views/types/embedded/default.html
|
493
502
|
- lib/api_browser/app/views/types/embedded/field-selector.html
|
494
503
|
- lib/api_browser/app/views/types/embedded/links.html
|
504
|
+
- lib/api_browser/app/views/types/embedded/requirements.html
|
505
|
+
- lib/api_browser/app/views/types/embedded/single_req.html
|
495
506
|
- lib/api_browser/app/views/types/embedded/struct.html
|
496
507
|
- lib/api_browser/app/views/types/label/link.html
|
497
508
|
- lib/api_browser/app/views/types/label/primitive.html
|
@@ -539,10 +550,16 @@ files:
|
|
539
550
|
- lib/praxis/exceptions/invalid_trait.rb
|
540
551
|
- lib/praxis/exceptions/stage_not_found.rb
|
541
552
|
- lib/praxis/exceptions/validation.rb
|
553
|
+
- lib/praxis/extensions/attribute_filtering/active_record_filter_query_builder.rb
|
554
|
+
- lib/praxis/extensions/attribute_filtering/filtering_params.rb
|
555
|
+
- lib/praxis/extensions/attribute_filtering/sequel_filter_query_builder.rb
|
542
556
|
- lib/praxis/extensions/field_expansion.rb
|
543
557
|
- lib/praxis/extensions/field_selection.rb
|
558
|
+
- lib/praxis/extensions/field_selection/active_record_query_selector.rb
|
544
559
|
- lib/praxis/extensions/field_selection/field_selector.rb
|
545
|
-
- lib/praxis/extensions/
|
560
|
+
- lib/praxis/extensions/field_selection/sequel_query_selector.rb
|
561
|
+
- lib/praxis/extensions/rails_compat.rb
|
562
|
+
- lib/praxis/extensions/rails_compat/request_methods.rb
|
546
563
|
- lib/praxis/extensions/rendering.rb
|
547
564
|
- lib/praxis/file_group.rb
|
548
565
|
- lib/praxis/handlers/json.rb
|
@@ -550,8 +567,11 @@ files:
|
|
550
567
|
- lib/praxis/handlers/www_form.rb
|
551
568
|
- lib/praxis/handlers/xml.rb
|
552
569
|
- lib/praxis/links.rb
|
570
|
+
- lib/praxis/mapper/active_model_compat.rb
|
571
|
+
- lib/praxis/mapper/resource.rb
|
572
|
+
- lib/praxis/mapper/selector_generator.rb
|
573
|
+
- lib/praxis/mapper/sequel_compat.rb
|
553
574
|
- lib/praxis/media_type.rb
|
554
|
-
- lib/praxis/media_type_collection.rb
|
555
575
|
- lib/praxis/media_type_identifier.rb
|
556
576
|
- lib/praxis/middleware_app.rb
|
557
577
|
- lib/praxis/multipart/parser.rb
|
@@ -559,7 +579,8 @@ files:
|
|
559
579
|
- lib/praxis/notifications.rb
|
560
580
|
- lib/praxis/plugin.rb
|
561
581
|
- lib/praxis/plugin_concern.rb
|
562
|
-
- lib/praxis/plugins/
|
582
|
+
- lib/praxis/plugins/mapper_plugin.rb
|
583
|
+
- lib/praxis/plugins/rails_plugin.rb
|
563
584
|
- lib/praxis/request.rb
|
564
585
|
- lib/praxis/request_stages/action.rb
|
565
586
|
- lib/praxis/request_stages/load_request.rb
|
@@ -568,6 +589,7 @@ files:
|
|
568
589
|
- lib/praxis/request_stages/validate.rb
|
569
590
|
- lib/praxis/request_stages/validate_params_and_headers.rb
|
570
591
|
- lib/praxis/request_stages/validate_payload.rb
|
592
|
+
- lib/praxis/request_superclassing.rb
|
571
593
|
- lib/praxis/resource_definition.rb
|
572
594
|
- lib/praxis/response.rb
|
573
595
|
- lib/praxis/response_definition.rb
|
@@ -583,7 +605,6 @@ files:
|
|
583
605
|
- lib/praxis/routing_config.rb
|
584
606
|
- lib/praxis/simple_media_type.rb
|
585
607
|
- lib/praxis/stage.rb
|
586
|
-
- lib/praxis/stats.rb
|
587
608
|
- lib/praxis/tasks.rb
|
588
609
|
- lib/praxis/tasks/api_docs.rb
|
589
610
|
- lib/praxis/tasks/console.rb
|
@@ -617,20 +638,24 @@ files:
|
|
617
638
|
- spec/praxis/controller_spec.rb
|
618
639
|
- spec/praxis/dispatcher_spec.rb
|
619
640
|
- spec/praxis/extensions/field_expansion_spec.rb
|
641
|
+
- spec/praxis/extensions/field_selection/active_record_query_selector_spec.rb
|
620
642
|
- spec/praxis/extensions/field_selection/field_selector_spec.rb
|
643
|
+
- spec/praxis/extensions/field_selection/sequel_query_selector_spec.rb
|
644
|
+
- spec/praxis/extensions/field_selection/support/spec_resources_active_model.rb
|
645
|
+
- spec/praxis/extensions/field_selection/support/spec_resources_sequel.rb
|
621
646
|
- spec/praxis/extensions/rendering_spec.rb
|
622
647
|
- spec/praxis/file_group_spec.rb
|
623
648
|
- spec/praxis/handlers/json_spec.rb
|
624
649
|
- spec/praxis/handlers/xml_spec.rb
|
625
650
|
- spec/praxis/links_spec.rb
|
626
|
-
- spec/praxis/
|
651
|
+
- spec/praxis/mapper/resource_spec.rb
|
652
|
+
- spec/praxis/mapper/selector_generator_spec.rb
|
627
653
|
- spec/praxis/media_type_identifier_spec.rb
|
628
654
|
- spec/praxis/media_type_spec.rb
|
629
655
|
- spec/praxis/middleware_app_spec.rb
|
630
656
|
- spec/praxis/multipart/parser_spec.rb
|
631
657
|
- spec/praxis/notifications_spec.rb
|
632
658
|
- spec/praxis/plugin_concern_spec.rb
|
633
|
-
- spec/praxis/plugins/praxis_mapper_plugin_spec.rb
|
634
659
|
- spec/praxis/request_spec.rb
|
635
660
|
- spec/praxis/request_stages/action_spec.rb
|
636
661
|
- spec/praxis/request_stages/request_stage_spec.rb
|
@@ -644,7 +669,6 @@ files:
|
|
644
669
|
- spec/praxis/router_spec.rb
|
645
670
|
- spec/praxis/routing_config_spec.rb
|
646
671
|
- spec/praxis/stage_spec.rb
|
647
|
-
- spec/praxis/stats_spec.rb
|
648
672
|
- spec/praxis/trait_spec.rb
|
649
673
|
- spec/praxis/types/fuzzy_hash_spec.rb
|
650
674
|
- spec/praxis/types/multipart_array/part_definition_spec.rb
|
@@ -656,7 +680,6 @@ files:
|
|
656
680
|
- spec/spec_app/app/controllers/base_class.rb
|
657
681
|
- spec/spec_app/app/controllers/instances.rb
|
658
682
|
- spec/spec_app/app/controllers/volumes.rb
|
659
|
-
- spec/spec_app/app/models/person.rb
|
660
683
|
- spec/spec_app/app/responses/bulk_response.rb
|
661
684
|
- spec/spec_app/app/responses/multipart.rb
|
662
685
|
- spec/spec_app/app/responses/other_response.rb
|
@@ -678,10 +701,12 @@ files:
|
|
678
701
|
- spec/spec_app/design/resources/volume_snapshots.rb
|
679
702
|
- spec/spec_app/design/resources/volumes.rb
|
680
703
|
- spec/spec_helper.rb
|
704
|
+
- spec/support/be_deep_equal_matcher.rb
|
681
705
|
- spec/support/spec_authorization_plugin.rb
|
682
706
|
- spec/support/spec_complex_authentication_plugin.rb
|
683
707
|
- spec/support/spec_media_types.rb
|
684
708
|
- spec/support/spec_resource_definitions.rb
|
709
|
+
- spec/support/spec_resources.rb
|
685
710
|
- spec/support/spec_simple_authentication_plugin.rb
|
686
711
|
- tasks/loader.thor
|
687
712
|
- tasks/thor/app.rb
|
@@ -711,7 +736,7 @@ files:
|
|
711
736
|
- tasks/thor/templates/generator/empty_app/docs/app.js
|
712
737
|
- tasks/thor/templates/generator/empty_app/docs/styles.scss
|
713
738
|
- tasks/thor/templates/generator/empty_app/spec/spec_helper.rb
|
714
|
-
homepage: https://github.com/
|
739
|
+
homepage: https://github.com/praxis/praxis
|
715
740
|
licenses:
|
716
741
|
- MIT
|
717
742
|
metadata: {}
|
@@ -726,12 +751,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
726
751
|
version: '2.1'
|
727
752
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
728
753
|
requirements:
|
729
|
-
- - "
|
754
|
+
- - ">"
|
730
755
|
- !ruby/object:Gem::Version
|
731
|
-
version:
|
756
|
+
version: 1.3.1
|
732
757
|
requirements: []
|
733
758
|
rubyforge_project:
|
734
|
-
rubygems_version: 2.
|
759
|
+
rubygems_version: 2.6.14
|
735
760
|
signing_key:
|
736
761
|
specification_version: 4
|
737
762
|
summary: Building APIs the way you want it.
|