grape 1.1.0 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +128 -43
- data/LICENSE +1 -1
- data/README.md +394 -47
- data/UPGRADING.md +111 -0
- data/grape.gemspec +3 -1
- data/lib/grape.rb +98 -66
- data/lib/grape/api.rb +136 -175
- data/lib/grape/api/instance.rb +280 -0
- data/lib/grape/config.rb +32 -0
- data/lib/grape/dsl/callbacks.rb +20 -0
- data/lib/grape/dsl/desc.rb +39 -7
- data/lib/grape/dsl/inside_route.rb +12 -6
- data/lib/grape/dsl/middleware.rb +7 -0
- data/lib/grape/dsl/parameters.rb +9 -4
- data/lib/grape/dsl/routing.rb +5 -1
- data/lib/grape/dsl/validations.rb +4 -3
- data/lib/grape/eager_load.rb +18 -0
- data/lib/grape/endpoint.rb +42 -26
- data/lib/grape/error_formatter.rb +1 -1
- data/lib/grape/exceptions/base.rb +9 -1
- data/lib/grape/exceptions/invalid_response.rb +9 -0
- data/lib/grape/exceptions/validation_errors.rb +4 -2
- data/lib/grape/formatter.rb +1 -1
- data/lib/grape/locale/en.yml +2 -0
- data/lib/grape/middleware/auth/base.rb +2 -4
- data/lib/grape/middleware/base.rb +2 -0
- data/lib/grape/middleware/error.rb +9 -4
- data/lib/grape/middleware/helpers.rb +10 -0
- data/lib/grape/middleware/stack.rb +1 -1
- data/lib/grape/middleware/versioner/header.rb +4 -4
- data/lib/grape/parser.rb +1 -1
- data/lib/grape/request.rb +1 -1
- data/lib/grape/router/attribute_translator.rb +2 -0
- data/lib/grape/router/route.rb +2 -2
- data/lib/grape/util/base_inheritable.rb +34 -0
- data/lib/grape/util/endpoint_configuration.rb +6 -0
- data/lib/grape/util/inheritable_values.rb +5 -25
- data/lib/grape/util/lazy_block.rb +25 -0
- data/lib/grape/util/lazy_value.rb +95 -0
- data/lib/grape/util/reverse_stackable_values.rb +7 -36
- data/lib/grape/util/stackable_values.rb +19 -22
- data/lib/grape/validations/attributes_iterator.rb +5 -3
- data/lib/grape/validations/multiple_attributes_iterator.rb +11 -0
- data/lib/grape/validations/params_scope.rb +20 -14
- data/lib/grape/validations/single_attribute_iterator.rb +13 -0
- data/lib/grape/validations/types/custom_type_coercer.rb +1 -1
- data/lib/grape/validations/types/file.rb +1 -1
- data/lib/grape/validations/validator_factory.rb +6 -11
- data/lib/grape/validations/validators/all_or_none.rb +6 -13
- data/lib/grape/validations/validators/as.rb +2 -3
- data/lib/grape/validations/validators/at_least_one_of.rb +5 -13
- data/lib/grape/validations/validators/base.rb +11 -10
- data/lib/grape/validations/validators/coerce.rb +4 -0
- data/lib/grape/validations/validators/default.rb +1 -1
- data/lib/grape/validations/validators/exactly_one_of.rb +6 -23
- data/lib/grape/validations/validators/multiple_params_base.rb +14 -10
- data/lib/grape/validations/validators/mutual_exclusion.rb +6 -18
- data/lib/grape/validations/validators/same_as.rb +23 -0
- data/lib/grape/version.rb +1 -1
- data/spec/grape/api/defines_boolean_in_params_spec.rb +37 -0
- data/spec/grape/api/routes_with_requirements_spec.rb +59 -0
- data/spec/grape/api_remount_spec.rb +466 -0
- data/spec/grape/api_spec.rb +379 -1
- data/spec/grape/config_spec.rb +17 -0
- data/spec/grape/dsl/desc_spec.rb +40 -16
- data/spec/grape/dsl/middleware_spec.rb +8 -0
- data/spec/grape/dsl/routing_spec.rb +10 -0
- data/spec/grape/endpoint_spec.rb +40 -4
- data/spec/grape/exceptions/base_spec.rb +65 -0
- data/spec/grape/exceptions/invalid_response_spec.rb +11 -0
- data/spec/grape/exceptions/validation_errors_spec.rb +6 -4
- data/spec/grape/integration/rack_spec.rb +22 -6
- data/spec/grape/middleware/auth/dsl_spec.rb +3 -3
- data/spec/grape/middleware/base_spec.rb +8 -0
- data/spec/grape/middleware/exception_spec.rb +1 -1
- data/spec/grape/middleware/formatter_spec.rb +15 -5
- data/spec/grape/middleware/versioner/header_spec.rb +6 -0
- data/spec/grape/named_api_spec.rb +19 -0
- data/spec/grape/request_spec.rb +24 -0
- data/spec/grape/validations/multiple_attributes_iterator_spec.rb +29 -0
- data/spec/grape/validations/params_scope_spec.rb +184 -8
- data/spec/grape/validations/single_attribute_iterator_spec.rb +33 -0
- data/spec/grape/validations/validators/all_or_none_spec.rb +138 -30
- data/spec/grape/validations/validators/at_least_one_of_spec.rb +173 -29
- data/spec/grape/validations/validators/coerce_spec.rb +10 -2
- data/spec/grape/validations/validators/exactly_one_of_spec.rb +202 -38
- data/spec/grape/validations/validators/mutual_exclusion_spec.rb +184 -27
- data/spec/grape/validations/validators/same_as_spec.rb +63 -0
- data/spec/grape/validations_spec.rb +33 -21
- data/spec/spec_helper.rb +4 -1
- metadata +35 -23
- data/Appraisals +0 -32
- data/Dangerfile +0 -2
- data/Gemfile +0 -33
- data/Gemfile.lock +0 -231
- data/Guardfile +0 -10
- data/RELEASING.md +0 -111
- data/Rakefile +0 -25
- data/benchmark/simple.rb +0 -27
- data/benchmark/simple_with_type_coercer.rb +0 -22
- data/gemfiles/multi_json.gemfile +0 -35
- data/gemfiles/multi_xml.gemfile +0 -35
- data/gemfiles/rack_1.5.2.gemfile +0 -35
- data/gemfiles/rack_edge.gemfile +0 -35
- data/gemfiles/rails_3.gemfile +0 -36
- data/gemfiles/rails_4.gemfile +0 -35
- data/gemfiles/rails_5.gemfile +0 -35
- data/gemfiles/rails_edge.gemfile +0 -35
- data/pkg/grape-0.17.0.gem +0 -0
- data/pkg/grape-0.19.0.gem +0 -0
data/spec/spec_helper.rb
CHANGED
@@ -12,12 +12,15 @@ Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file|
|
|
12
12
|
require file
|
13
13
|
end
|
14
14
|
|
15
|
-
|
15
|
+
# The default value for this setting is true in a standard Rails app,
|
16
|
+
# so it should be set to true here as well to reflect that.
|
17
|
+
I18n.enforce_available_locales = true
|
16
18
|
|
17
19
|
RSpec.configure do |config|
|
18
20
|
config.include Rack::Test::Methods
|
19
21
|
config.include Spec::Support::Helpers
|
20
22
|
config.raise_errors_for_deprecations!
|
23
|
+
config.filter_run_when_matching :focus
|
21
24
|
|
22
25
|
config.before(:each) { Grape::Util::InheritableSetting.reset_global! }
|
23
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Bleigh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -101,33 +101,18 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
- Appraisals
|
105
104
|
- CHANGELOG.md
|
106
105
|
- CONTRIBUTING.md
|
107
|
-
- Dangerfile
|
108
|
-
- Gemfile
|
109
|
-
- Gemfile.lock
|
110
|
-
- Guardfile
|
111
106
|
- LICENSE
|
112
107
|
- README.md
|
113
|
-
- RELEASING.md
|
114
|
-
- Rakefile
|
115
108
|
- UPGRADING.md
|
116
|
-
- benchmark/simple.rb
|
117
|
-
- benchmark/simple_with_type_coercer.rb
|
118
|
-
- gemfiles/multi_json.gemfile
|
119
|
-
- gemfiles/multi_xml.gemfile
|
120
|
-
- gemfiles/rack_1.5.2.gemfile
|
121
|
-
- gemfiles/rack_edge.gemfile
|
122
|
-
- gemfiles/rails_3.gemfile
|
123
|
-
- gemfiles/rails_4.gemfile
|
124
|
-
- gemfiles/rails_5.gemfile
|
125
|
-
- gemfiles/rails_edge.gemfile
|
126
109
|
- grape.gemspec
|
127
110
|
- grape.png
|
128
111
|
- lib/grape.rb
|
129
112
|
- lib/grape/api.rb
|
130
113
|
- lib/grape/api/helpers.rb
|
114
|
+
- lib/grape/api/instance.rb
|
115
|
+
- lib/grape/config.rb
|
131
116
|
- lib/grape/cookies.rb
|
132
117
|
- lib/grape/dsl/api.rb
|
133
118
|
- lib/grape/dsl/callbacks.rb
|
@@ -143,6 +128,7 @@ files:
|
|
143
128
|
- lib/grape/dsl/routing.rb
|
144
129
|
- lib/grape/dsl/settings.rb
|
145
130
|
- lib/grape/dsl/validations.rb
|
131
|
+
- lib/grape/eager_load.rb
|
146
132
|
- lib/grape/endpoint.rb
|
147
133
|
- lib/grape/error_formatter.rb
|
148
134
|
- lib/grape/error_formatter/base.rb
|
@@ -154,6 +140,7 @@ files:
|
|
154
140
|
- lib/grape/exceptions/invalid_accept_header.rb
|
155
141
|
- lib/grape/exceptions/invalid_formatter.rb
|
156
142
|
- lib/grape/exceptions/invalid_message_body.rb
|
143
|
+
- lib/grape/exceptions/invalid_response.rb
|
157
144
|
- lib/grape/exceptions/invalid_version_header.rb
|
158
145
|
- lib/grape/exceptions/invalid_versioner_option.rb
|
159
146
|
- lib/grape/exceptions/invalid_with_option_for_represent.rb
|
@@ -191,6 +178,7 @@ files:
|
|
191
178
|
- lib/grape/middleware/filter.rb
|
192
179
|
- lib/grape/middleware/formatter.rb
|
193
180
|
- lib/grape/middleware/globals.rb
|
181
|
+
- lib/grape/middleware/helpers.rb
|
194
182
|
- lib/grape/middleware/stack.rb
|
195
183
|
- lib/grape/middleware/versioner.rb
|
196
184
|
- lib/grape/middleware/versioner/accept_version_header.rb
|
@@ -212,11 +200,15 @@ files:
|
|
212
200
|
- lib/grape/serve_file/file_body.rb
|
213
201
|
- lib/grape/serve_file/file_response.rb
|
214
202
|
- lib/grape/serve_file/sendfile_response.rb
|
203
|
+
- lib/grape/util/base_inheritable.rb
|
215
204
|
- lib/grape/util/content_types.rb
|
205
|
+
- lib/grape/util/endpoint_configuration.rb
|
216
206
|
- lib/grape/util/env.rb
|
217
207
|
- lib/grape/util/inheritable_setting.rb
|
218
208
|
- lib/grape/util/inheritable_values.rb
|
219
209
|
- lib/grape/util/json.rb
|
210
|
+
- lib/grape/util/lazy_block.rb
|
211
|
+
- lib/grape/util/lazy_value.rb
|
220
212
|
- lib/grape/util/registrable.rb
|
221
213
|
- lib/grape/util/reverse_stackable_values.rb
|
222
214
|
- lib/grape/util/stackable_values.rb
|
@@ -224,7 +216,9 @@ files:
|
|
224
216
|
- lib/grape/util/xml.rb
|
225
217
|
- lib/grape/validations.rb
|
226
218
|
- lib/grape/validations/attributes_iterator.rb
|
219
|
+
- lib/grape/validations/multiple_attributes_iterator.rb
|
227
220
|
- lib/grape/validations/params_scope.rb
|
221
|
+
- lib/grape/validations/single_attribute_iterator.rb
|
228
222
|
- lib/grape/validations/types.rb
|
229
223
|
- lib/grape/validations/types/build_coercer.rb
|
230
224
|
- lib/grape/validations/types/custom_type_coercer.rb
|
@@ -248,12 +242,12 @@ files:
|
|
248
242
|
- lib/grape/validations/validators/mutual_exclusion.rb
|
249
243
|
- lib/grape/validations/validators/presence.rb
|
250
244
|
- lib/grape/validations/validators/regexp.rb
|
245
|
+
- lib/grape/validations/validators/same_as.rb
|
251
246
|
- lib/grape/validations/validators/values.rb
|
252
247
|
- lib/grape/version.rb
|
253
|
-
- pkg/grape-0.17.0.gem
|
254
|
-
- pkg/grape-0.19.0.gem
|
255
248
|
- spec/grape/api/custom_validations_spec.rb
|
256
249
|
- spec/grape/api/deeply_included_options_spec.rb
|
250
|
+
- spec/grape/api/defines_boolean_in_params_spec.rb
|
257
251
|
- spec/grape/api/inherited_helpers_spec.rb
|
258
252
|
- spec/grape/api/invalid_format_spec.rb
|
259
253
|
- spec/grape/api/namespace_parameters_in_route_spec.rb
|
@@ -264,9 +258,12 @@ files:
|
|
264
258
|
- spec/grape/api/recognize_path_spec.rb
|
265
259
|
- spec/grape/api/required_parameters_in_route_spec.rb
|
266
260
|
- spec/grape/api/required_parameters_with_invalid_method_spec.rb
|
261
|
+
- spec/grape/api/routes_with_requirements_spec.rb
|
267
262
|
- spec/grape/api/shared_helpers_exactly_one_of_spec.rb
|
268
263
|
- spec/grape/api/shared_helpers_spec.rb
|
264
|
+
- spec/grape/api_remount_spec.rb
|
269
265
|
- spec/grape/api_spec.rb
|
266
|
+
- spec/grape/config_spec.rb
|
270
267
|
- spec/grape/dsl/callbacks_spec.rb
|
271
268
|
- spec/grape/dsl/configuration_spec.rb
|
272
269
|
- spec/grape/dsl/desc_spec.rb
|
@@ -282,9 +279,11 @@ files:
|
|
282
279
|
- spec/grape/dsl/validations_spec.rb
|
283
280
|
- spec/grape/endpoint_spec.rb
|
284
281
|
- spec/grape/entity_spec.rb
|
282
|
+
- spec/grape/exceptions/base_spec.rb
|
285
283
|
- spec/grape/exceptions/body_parse_errors_spec.rb
|
286
284
|
- spec/grape/exceptions/invalid_accept_header_spec.rb
|
287
285
|
- spec/grape/exceptions/invalid_formatter_spec.rb
|
286
|
+
- spec/grape/exceptions/invalid_response_spec.rb
|
288
287
|
- spec/grape/exceptions/invalid_versioner_option_spec.rb
|
289
288
|
- spec/grape/exceptions/missing_mime_type_spec.rb
|
290
289
|
- spec/grape/exceptions/missing_option_spec.rb
|
@@ -313,6 +312,7 @@ files:
|
|
313
312
|
- spec/grape/middleware/versioner/param_spec.rb
|
314
313
|
- spec/grape/middleware/versioner/path_spec.rb
|
315
314
|
- spec/grape/middleware/versioner_spec.rb
|
315
|
+
- spec/grape/named_api_spec.rb
|
316
316
|
- spec/grape/parser_spec.rb
|
317
317
|
- spec/grape/path_spec.rb
|
318
318
|
- spec/grape/presenters/presenter_spec.rb
|
@@ -324,7 +324,9 @@ files:
|
|
324
324
|
- spec/grape/util/strict_hash_configuration_spec.rb
|
325
325
|
- spec/grape/validations/attributes_iterator_spec.rb
|
326
326
|
- spec/grape/validations/instance_behaivour_spec.rb
|
327
|
+
- spec/grape/validations/multiple_attributes_iterator_spec.rb
|
327
328
|
- spec/grape/validations/params_scope_spec.rb
|
329
|
+
- spec/grape/validations/single_attribute_iterator_spec.rb
|
328
330
|
- spec/grape/validations/types_spec.rb
|
329
331
|
- spec/grape/validations/validators/all_or_none_spec.rb
|
330
332
|
- spec/grape/validations/validators/allow_blank_spec.rb
|
@@ -336,6 +338,7 @@ files:
|
|
336
338
|
- spec/grape/validations/validators/mutual_exclusion_spec.rb
|
337
339
|
- spec/grape/validations/validators/presence_spec.rb
|
338
340
|
- spec/grape/validations/validators/regexp_spec.rb
|
341
|
+
- spec/grape/validations/validators/same_as_spec.rb
|
339
342
|
- spec/grape/validations/validators/values_spec.rb
|
340
343
|
- spec/grape/validations/validators/zh-CN.yml
|
341
344
|
- spec/grape/validations_spec.rb
|
@@ -368,8 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
368
371
|
- !ruby/object:Gem::Version
|
369
372
|
version: '0'
|
370
373
|
requirements: []
|
371
|
-
|
372
|
-
rubygems_version: 2.7.6
|
374
|
+
rubygems_version: 3.0.3
|
373
375
|
signing_key:
|
374
376
|
specification_version: 4
|
375
377
|
summary: A simple Ruby framework for building REST-like APIs.
|
@@ -398,6 +400,7 @@ test_files:
|
|
398
400
|
- spec/grape/middleware/versioner/path_spec.rb
|
399
401
|
- spec/grape/middleware/versioner/param_spec.rb
|
400
402
|
- spec/grape/middleware/base_spec.rb
|
403
|
+
- spec/grape/config_spec.rb
|
401
404
|
- spec/grape/loading_spec.rb
|
402
405
|
- spec/grape/endpoint_spec.rb
|
403
406
|
- spec/grape/api_spec.rb
|
@@ -414,6 +417,7 @@ test_files:
|
|
414
417
|
- spec/grape/exceptions/validation_spec.rb
|
415
418
|
- spec/grape/exceptions/invalid_accept_header_spec.rb
|
416
419
|
- spec/grape/exceptions/missing_option_spec.rb
|
420
|
+
- spec/grape/exceptions/invalid_response_spec.rb
|
417
421
|
- spec/grape/exceptions/body_parse_errors_spec.rb
|
418
422
|
- spec/grape/exceptions/invalid_formatter_spec.rb
|
419
423
|
- spec/grape/exceptions/missing_mime_type_spec.rb
|
@@ -421,10 +425,13 @@ test_files:
|
|
421
425
|
- spec/grape/exceptions/validation_errors_spec.rb
|
422
426
|
- spec/grape/exceptions/unknown_validator_spec.rb
|
423
427
|
- spec/grape/exceptions/invalid_versioner_option_spec.rb
|
428
|
+
- spec/grape/exceptions/base_spec.rb
|
424
429
|
- spec/grape/presenters/presenter_spec.rb
|
430
|
+
- spec/grape/validations/single_attribute_iterator_spec.rb
|
425
431
|
- spec/grape/validations/attributes_iterator_spec.rb
|
426
432
|
- spec/grape/validations/params_scope_spec.rb
|
427
433
|
- spec/grape/validations/instance_behaivour_spec.rb
|
434
|
+
- spec/grape/validations/multiple_attributes_iterator_spec.rb
|
428
435
|
- spec/grape/validations/types_spec.rb
|
429
436
|
- spec/grape/validations/validators/regexp_spec.rb
|
430
437
|
- spec/grape/validations/validators/mutual_exclusion_spec.rb
|
@@ -433,6 +440,7 @@ test_files:
|
|
433
440
|
- spec/grape/validations/validators/presence_spec.rb
|
434
441
|
- spec/grape/validations/validators/all_or_none_spec.rb
|
435
442
|
- spec/grape/validations/validators/allow_blank_spec.rb
|
443
|
+
- spec/grape/validations/validators/same_as_spec.rb
|
436
444
|
- spec/grape/validations/validators/default_spec.rb
|
437
445
|
- spec/grape/validations/validators/values_spec.rb
|
438
446
|
- spec/grape/validations/validators/at_least_one_of_spec.rb
|
@@ -447,6 +455,7 @@ test_files:
|
|
447
455
|
- spec/grape/api/patch_method_helpers_spec.rb
|
448
456
|
- spec/grape/api/required_parameters_with_invalid_method_spec.rb
|
449
457
|
- spec/grape/api/nested_helpers_spec.rb
|
458
|
+
- spec/grape/api/defines_boolean_in_params_spec.rb
|
450
459
|
- spec/grape/api/invalid_format_spec.rb
|
451
460
|
- spec/grape/api/required_parameters_in_route_spec.rb
|
452
461
|
- spec/grape/api/namespace_parameters_in_route_spec.rb
|
@@ -455,8 +464,11 @@ test_files:
|
|
455
464
|
- spec/grape/api/inherited_helpers_spec.rb
|
456
465
|
- spec/grape/api/shared_helpers_spec.rb
|
457
466
|
- spec/grape/api/deeply_included_options_spec.rb
|
467
|
+
- spec/grape/api/routes_with_requirements_spec.rb
|
458
468
|
- spec/grape/api/custom_validations_spec.rb
|
459
469
|
- spec/grape/api/optional_parameters_in_route_spec.rb
|
470
|
+
- spec/grape/api_remount_spec.rb
|
471
|
+
- spec/grape/named_api_spec.rb
|
460
472
|
- spec/grape/dsl/request_response_spec.rb
|
461
473
|
- spec/grape/dsl/desc_spec.rb
|
462
474
|
- spec/grape/dsl/logger_spec.rb
|
data/Appraisals
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
appraise 'rails-3' do
|
2
|
-
gem 'rails', '3.2.19'
|
3
|
-
gem 'rack-cache', '<= 1.2' # Pin as next rack-cache version (1.3) removes Ruby1.9 support
|
4
|
-
end
|
5
|
-
|
6
|
-
appraise 'rails-4' do
|
7
|
-
gem 'rails', '4.1.6'
|
8
|
-
end
|
9
|
-
|
10
|
-
appraise 'rails-5' do
|
11
|
-
gem 'rails', '5.0.0'
|
12
|
-
end
|
13
|
-
|
14
|
-
appraise 'rack-1.5.2' do
|
15
|
-
gem 'rack', '1.5.2'
|
16
|
-
end
|
17
|
-
|
18
|
-
appraise 'rails-edge' do
|
19
|
-
gem 'rails', github: 'rails/rails'
|
20
|
-
end
|
21
|
-
|
22
|
-
appraise 'rack-edge' do
|
23
|
-
gem 'rack', github: 'rack/rack'
|
24
|
-
end
|
25
|
-
|
26
|
-
appraise 'multi_json' do
|
27
|
-
gem 'multi_json', require: 'multi_json'
|
28
|
-
end
|
29
|
-
|
30
|
-
appraise 'multi_xml' do
|
31
|
-
gem 'multi_xml', require: 'multi_xml'
|
32
|
-
end
|
data/Dangerfile
DELETED
data/Gemfile
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# when changing this file, run appraisal install ; rubocop -a gemfiles/*.gemfile
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
group :development, :test do
|
8
|
-
gem 'bundler'
|
9
|
-
gem 'hashie'
|
10
|
-
gem 'rake'
|
11
|
-
gem 'rubocop', '0.51.0'
|
12
|
-
end
|
13
|
-
|
14
|
-
group :development do
|
15
|
-
gem 'appraisal'
|
16
|
-
gem 'benchmark-ips'
|
17
|
-
gem 'guard'
|
18
|
-
gem 'guard-rspec'
|
19
|
-
gem 'guard-rubocop'
|
20
|
-
end
|
21
|
-
|
22
|
-
group :test do
|
23
|
-
gem 'cookiejar'
|
24
|
-
gem 'coveralls', '~> 0.8.17', require: false
|
25
|
-
gem 'danger-toc', '~> 0.1.2'
|
26
|
-
gem 'grape-entity', '~> 0.6'
|
27
|
-
gem 'maruku'
|
28
|
-
gem 'mime-types'
|
29
|
-
gem 'rack-jsonp', require: 'rack/jsonp'
|
30
|
-
gem 'rack-test', '~> 0.6.3'
|
31
|
-
gem 'rspec', '~> 3.0'
|
32
|
-
gem 'ruby-grape-danger', '~> 0.1.0', require: false
|
33
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,231 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
grape (1.1.0)
|
5
|
-
activesupport
|
6
|
-
builder
|
7
|
-
mustermann-grape (~> 1.0.0)
|
8
|
-
rack (>= 1.3.0)
|
9
|
-
rack-accept
|
10
|
-
virtus (>= 1.0.0)
|
11
|
-
|
12
|
-
GEM
|
13
|
-
remote: https://rubygems.org/
|
14
|
-
specs:
|
15
|
-
activesupport (5.2.0)
|
16
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
17
|
-
i18n (>= 0.7, < 2)
|
18
|
-
minitest (~> 5.1)
|
19
|
-
tzinfo (~> 1.1)
|
20
|
-
addressable (2.5.2)
|
21
|
-
public_suffix (>= 2.0.2, < 4.0)
|
22
|
-
appraisal (2.2.0)
|
23
|
-
bundler
|
24
|
-
rake
|
25
|
-
thor (>= 0.14.0)
|
26
|
-
ast (2.4.0)
|
27
|
-
axiom-types (0.1.1)
|
28
|
-
descendants_tracker (~> 0.0.4)
|
29
|
-
ice_nine (~> 0.11.0)
|
30
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
31
|
-
benchmark-ips (2.7.2)
|
32
|
-
builder (3.2.3)
|
33
|
-
claide (1.0.2)
|
34
|
-
claide-plugins (0.9.2)
|
35
|
-
cork
|
36
|
-
nap
|
37
|
-
open4 (~> 1.3)
|
38
|
-
coderay (1.1.2)
|
39
|
-
coercible (1.0.0)
|
40
|
-
descendants_tracker (~> 0.0.1)
|
41
|
-
colored (1.2)
|
42
|
-
colored2 (3.1.2)
|
43
|
-
concurrent-ruby (1.0.5)
|
44
|
-
cookiejar (0.3.3)
|
45
|
-
cork (0.3.0)
|
46
|
-
colored2 (~> 3.1)
|
47
|
-
coveralls (0.8.22)
|
48
|
-
json (>= 1.8, < 3)
|
49
|
-
simplecov (~> 0.16.1)
|
50
|
-
term-ansicolor (~> 1.3)
|
51
|
-
thor (~> 0.19.4)
|
52
|
-
tins (~> 1.6)
|
53
|
-
danger (4.0.5)
|
54
|
-
claide (~> 1.0)
|
55
|
-
claide-plugins (>= 0.9.2)
|
56
|
-
colored (~> 1.2)
|
57
|
-
cork (~> 0.1)
|
58
|
-
faraday (~> 0.9)
|
59
|
-
faraday-http-cache (~> 1.0)
|
60
|
-
git (~> 1)
|
61
|
-
kramdown (~> 1.5)
|
62
|
-
octokit (~> 4.2)
|
63
|
-
terminal-table (~> 1)
|
64
|
-
danger-changelog (0.2.1)
|
65
|
-
danger-plugin-api (~> 1.0)
|
66
|
-
danger-plugin-api (1.0.0)
|
67
|
-
danger (> 2.0)
|
68
|
-
danger-toc (0.1.2)
|
69
|
-
activesupport
|
70
|
-
danger-plugin-api (~> 1.0)
|
71
|
-
kramdown
|
72
|
-
descendants_tracker (0.0.4)
|
73
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
74
|
-
diff-lcs (1.3)
|
75
|
-
docile (1.3.1)
|
76
|
-
equalizer (0.0.11)
|
77
|
-
faraday (0.15.2)
|
78
|
-
multipart-post (>= 1.2, < 3)
|
79
|
-
faraday-http-cache (1.3.1)
|
80
|
-
faraday (~> 0.8)
|
81
|
-
ffi (1.9.25)
|
82
|
-
formatador (0.2.5)
|
83
|
-
git (1.4.0)
|
84
|
-
grape-entity (0.7.1)
|
85
|
-
activesupport (>= 4.0)
|
86
|
-
multi_json (>= 1.3.2)
|
87
|
-
guard (2.14.2)
|
88
|
-
formatador (>= 0.2.4)
|
89
|
-
listen (>= 2.7, < 4.0)
|
90
|
-
lumberjack (>= 1.0.12, < 2.0)
|
91
|
-
nenv (~> 0.1)
|
92
|
-
notiffany (~> 0.0)
|
93
|
-
pry (>= 0.9.12)
|
94
|
-
shellany (~> 0.0)
|
95
|
-
thor (>= 0.18.1)
|
96
|
-
guard-compat (1.2.1)
|
97
|
-
guard-rspec (4.7.3)
|
98
|
-
guard (~> 2.1)
|
99
|
-
guard-compat (~> 1.1)
|
100
|
-
rspec (>= 2.99.0, < 4.0)
|
101
|
-
guard-rubocop (1.3.0)
|
102
|
-
guard (~> 2.0)
|
103
|
-
rubocop (~> 0.20)
|
104
|
-
hashie (3.5.7)
|
105
|
-
i18n (1.0.1)
|
106
|
-
concurrent-ruby (~> 1.0)
|
107
|
-
ice_nine (0.11.2)
|
108
|
-
json (2.1.0)
|
109
|
-
kramdown (1.17.0)
|
110
|
-
listen (3.1.5)
|
111
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
112
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
113
|
-
ruby_dep (~> 1.2)
|
114
|
-
lumberjack (1.0.13)
|
115
|
-
maruku (0.7.3)
|
116
|
-
method_source (0.9.0)
|
117
|
-
mime-types (3.1)
|
118
|
-
mime-types-data (~> 3.2015)
|
119
|
-
mime-types-data (3.2016.0521)
|
120
|
-
minitest (5.11.3)
|
121
|
-
multi_json (1.13.1)
|
122
|
-
multipart-post (2.0.0)
|
123
|
-
mustermann (1.0.2)
|
124
|
-
mustermann-grape (1.0.0)
|
125
|
-
mustermann (~> 1.0.0)
|
126
|
-
nap (1.1.0)
|
127
|
-
nenv (0.3.0)
|
128
|
-
notiffany (0.1.1)
|
129
|
-
nenv (~> 0.1)
|
130
|
-
shellany (~> 0.0)
|
131
|
-
octokit (4.9.0)
|
132
|
-
sawyer (~> 0.8.0, >= 0.5.3)
|
133
|
-
open4 (1.3.4)
|
134
|
-
parallel (1.12.1)
|
135
|
-
parser (2.5.1.2)
|
136
|
-
ast (~> 2.4.0)
|
137
|
-
powerpack (0.1.2)
|
138
|
-
pry (0.11.3)
|
139
|
-
coderay (~> 1.1.0)
|
140
|
-
method_source (~> 0.9.0)
|
141
|
-
public_suffix (3.0.2)
|
142
|
-
rack (2.0.5)
|
143
|
-
rack-accept (0.4.5)
|
144
|
-
rack (>= 0.4)
|
145
|
-
rack-jsonp (1.3.1)
|
146
|
-
rack
|
147
|
-
rack-test (0.6.3)
|
148
|
-
rack (>= 1.0)
|
149
|
-
rainbow (2.2.2)
|
150
|
-
rake
|
151
|
-
rake (12.3.1)
|
152
|
-
rb-fsevent (0.10.3)
|
153
|
-
rb-inotify (0.9.10)
|
154
|
-
ffi (>= 0.5.0, < 2)
|
155
|
-
rspec (3.7.0)
|
156
|
-
rspec-core (~> 3.7.0)
|
157
|
-
rspec-expectations (~> 3.7.0)
|
158
|
-
rspec-mocks (~> 3.7.0)
|
159
|
-
rspec-core (3.7.1)
|
160
|
-
rspec-support (~> 3.7.0)
|
161
|
-
rspec-expectations (3.7.0)
|
162
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
163
|
-
rspec-support (~> 3.7.0)
|
164
|
-
rspec-mocks (3.7.0)
|
165
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
166
|
-
rspec-support (~> 3.7.0)
|
167
|
-
rspec-support (3.7.1)
|
168
|
-
rubocop (0.51.0)
|
169
|
-
parallel (~> 1.10)
|
170
|
-
parser (>= 2.3.3.1, < 3.0)
|
171
|
-
powerpack (~> 0.1)
|
172
|
-
rainbow (>= 2.2.2, < 3.0)
|
173
|
-
ruby-progressbar (~> 1.7)
|
174
|
-
unicode-display_width (~> 1.0, >= 1.0.1)
|
175
|
-
ruby-grape-danger (0.1.1)
|
176
|
-
danger (~> 4.0.1)
|
177
|
-
danger-changelog (~> 0.2.0)
|
178
|
-
ruby-progressbar (1.9.0)
|
179
|
-
ruby_dep (1.5.0)
|
180
|
-
sawyer (0.8.1)
|
181
|
-
addressable (>= 2.3.5, < 2.6)
|
182
|
-
faraday (~> 0.8, < 1.0)
|
183
|
-
shellany (0.0.1)
|
184
|
-
simplecov (0.16.1)
|
185
|
-
docile (~> 1.1)
|
186
|
-
json (>= 1.8, < 3)
|
187
|
-
simplecov-html (~> 0.10.0)
|
188
|
-
simplecov-html (0.10.2)
|
189
|
-
term-ansicolor (1.6.0)
|
190
|
-
tins (~> 1.0)
|
191
|
-
terminal-table (1.8.0)
|
192
|
-
unicode-display_width (~> 1.1, >= 1.1.1)
|
193
|
-
thor (0.19.4)
|
194
|
-
thread_safe (0.3.6)
|
195
|
-
tins (1.16.3)
|
196
|
-
tzinfo (1.2.5)
|
197
|
-
thread_safe (~> 0.1)
|
198
|
-
unicode-display_width (1.4.0)
|
199
|
-
virtus (1.0.5)
|
200
|
-
axiom-types (~> 0.1)
|
201
|
-
coercible (~> 1.0)
|
202
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
203
|
-
equalizer (~> 0.0, >= 0.0.9)
|
204
|
-
|
205
|
-
PLATFORMS
|
206
|
-
ruby
|
207
|
-
|
208
|
-
DEPENDENCIES
|
209
|
-
appraisal
|
210
|
-
benchmark-ips
|
211
|
-
bundler
|
212
|
-
cookiejar
|
213
|
-
coveralls (~> 0.8.17)
|
214
|
-
danger-toc (~> 0.1.2)
|
215
|
-
grape!
|
216
|
-
grape-entity (~> 0.6)
|
217
|
-
guard
|
218
|
-
guard-rspec
|
219
|
-
guard-rubocop
|
220
|
-
hashie
|
221
|
-
maruku
|
222
|
-
mime-types
|
223
|
-
rack-jsonp
|
224
|
-
rack-test (~> 0.6.3)
|
225
|
-
rake
|
226
|
-
rspec (~> 3.0)
|
227
|
-
rubocop (= 0.51.0)
|
228
|
-
ruby-grape-danger (~> 0.1.0)
|
229
|
-
|
230
|
-
BUNDLED WITH
|
231
|
-
1.16.3
|