grape-path-helpers 1.2.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +2 -1
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +44 -33
- data/LICENSE.txt +2 -1
- data/README.md +12 -4
- data/Rakefile +1 -0
- data/grape-path-helpers.gemspec +3 -2
- data/lib/grape-path-helpers.rb +1 -1
- data/lib/grape-path-helpers/all_routes.rb +1 -1
- data/lib/grape-path-helpers/named_route_matcher.rb +6 -5
- data/lib/grape-path-helpers/route_displayer.rb +1 -1
- data/lib/grape-path-helpers/version.rb +1 -1
- data/spec/grape_path_helpers/all_routes_spec.rb +12 -3
- data/spec/grape_path_helpers/named_route_matcher_spec.rb +10 -9
- data/spec/support/api.rb +14 -5
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66a92790c192b884c021f5f6aa77544060f9386d036cfde63954b77b0930da2b
|
4
|
+
data.tar.gz: 9eb7630323cbd4adea877cf93c3c3061a14a4c14ec110a9ddf26dfe8e31b6387
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc02941d380ee7316267feedd073e02c95f542a0dcbaad3ef55e97290e761f4bb29b7de80eb4156d34eefc36344f7f336a30abcfe82b6ede0d05cf05aa2bea4e
|
7
|
+
data.tar.gz: c157b188857534b828f19a7ad28eaeeff9c004f23946ef4e3aeab30352e02460b5d200d527a68dcd43fe477d187ea555d3e58e8e7bcef9e95dd90887b65f1ee6
|
data/.gitlab-ci.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.6.1
|
4
|
+
|
5
|
+
* [Use ruby2_keywords to fix 2.7 warning](https://gitlab.com/gitlab-org/grape-path-helpers/-/merge_requests/31)
|
6
|
+
|
7
|
+
## 1.6.0
|
8
|
+
|
9
|
+
* [Extract kwargs to fix 2.7 warnings](https://gitlab.com/gitlab-org/grape-path-helpers/-/merge_requests/29)
|
10
|
+
|
11
|
+
## 1.5.0
|
12
|
+
|
13
|
+
* [Relax rake dependency](https://gitlab.com/gitlab-org/grape-path-helpers/-/merge_requests/27)
|
14
|
+
|
15
|
+
## 1.4.0
|
16
|
+
|
17
|
+
* [Support using a base class other than Grape::API::Instance](https://gitlab.com/gitlab-org/grape-path-helpers/-/merge_requests/23)
|
18
|
+
|
19
|
+
## 1.3.0
|
20
|
+
|
21
|
+
* [Upgrade to Grape 1.3.1](https://gitlab.com/gitlab-org/grape-path-helpers/-/merge_requests/21)
|
22
|
+
|
3
23
|
## 1.2.0
|
4
24
|
|
5
25
|
* [Add wildcard segments support](https://gitlab.com/gitlab-org/grape-path-helpers/merge_requests/16)
|
data/Gemfile.lock
CHANGED
@@ -1,48 +1,62 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
grape-path-helpers (1.0
|
5
|
-
activesupport
|
6
|
-
grape (~> 1.
|
7
|
-
rake (
|
4
|
+
grape-path-helpers (1.4.0)
|
5
|
+
activesupport
|
6
|
+
grape (~> 1.3)
|
7
|
+
rake (> 12)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
12
|
+
activesupport (6.0.3.4)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 0.7, < 2)
|
15
15
|
minitest (~> 5.1)
|
16
16
|
tzinfo (~> 1.1)
|
17
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
17
18
|
ast (2.4.0)
|
18
|
-
|
19
|
-
descendants_tracker (~> 0.0.4)
|
20
|
-
ice_nine (~> 0.11.0)
|
21
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
22
|
-
builder (3.2.3)
|
19
|
+
builder (3.2.4)
|
23
20
|
coderay (1.1.2)
|
24
|
-
|
25
|
-
descendants_tracker (~> 0.0.1)
|
26
|
-
concurrent-ruby (1.0.5)
|
27
|
-
descendants_tracker (0.0.4)
|
28
|
-
thread_safe (~> 0.3, >= 0.3.1)
|
21
|
+
concurrent-ruby (1.1.7)
|
29
22
|
diff-lcs (1.3)
|
30
|
-
|
31
|
-
|
23
|
+
dry-configurable (0.11.6)
|
24
|
+
concurrent-ruby (~> 1.0)
|
25
|
+
dry-core (~> 0.4, >= 0.4.7)
|
26
|
+
dry-equalizer (~> 0.2)
|
27
|
+
dry-container (0.7.2)
|
28
|
+
concurrent-ruby (~> 1.0)
|
29
|
+
dry-configurable (~> 0.1, >= 0.1.3)
|
30
|
+
dry-core (0.4.9)
|
31
|
+
concurrent-ruby (~> 1.0)
|
32
|
+
dry-equalizer (0.3.0)
|
33
|
+
dry-inflector (0.2.0)
|
34
|
+
dry-logic (1.0.8)
|
35
|
+
concurrent-ruby (~> 1.0)
|
36
|
+
dry-core (~> 0.2)
|
37
|
+
dry-equalizer (~> 0.2)
|
38
|
+
dry-types (1.4.0)
|
39
|
+
concurrent-ruby (~> 1.0)
|
40
|
+
dry-container (~> 0.3)
|
41
|
+
dry-core (~> 0.4, >= 0.4.4)
|
42
|
+
dry-equalizer (~> 0.3)
|
43
|
+
dry-inflector (~> 0.1, >= 0.1.2)
|
44
|
+
dry-logic (~> 1.0, >= 1.0.2)
|
45
|
+
grape (1.5.0)
|
32
46
|
activesupport
|
33
47
|
builder
|
48
|
+
dry-types (>= 1.1)
|
34
49
|
mustermann-grape (~> 1.0.0)
|
35
50
|
rack (>= 1.3.0)
|
36
51
|
rack-accept
|
37
|
-
|
38
|
-
i18n (1.0.1)
|
52
|
+
i18n (1.8.5)
|
39
53
|
concurrent-ruby (~> 1.0)
|
40
|
-
ice_nine (0.11.2)
|
41
54
|
method_source (0.9.0)
|
42
|
-
minitest (5.
|
43
|
-
mustermann (1.
|
44
|
-
|
45
|
-
|
55
|
+
minitest (5.14.2)
|
56
|
+
mustermann (1.1.1)
|
57
|
+
ruby2_keywords (~> 0.0.1)
|
58
|
+
mustermann-grape (1.0.1)
|
59
|
+
mustermann (>= 1.0.0)
|
46
60
|
parallel (1.12.1)
|
47
61
|
parser (2.5.1.0)
|
48
62
|
ast (~> 2.4.0)
|
@@ -50,11 +64,11 @@ GEM
|
|
50
64
|
pry (0.11.3)
|
51
65
|
coderay (~> 1.1.0)
|
52
66
|
method_source (~> 0.9.0)
|
53
|
-
rack (2.
|
67
|
+
rack (2.2.3)
|
54
68
|
rack-accept (0.4.5)
|
55
69
|
rack (>= 0.4)
|
56
70
|
rainbow (3.0.0)
|
57
|
-
rake (
|
71
|
+
rake (13.0.1)
|
58
72
|
rspec (3.7.0)
|
59
73
|
rspec-core (~> 3.7.0)
|
60
74
|
rspec-expectations (~> 3.7.0)
|
@@ -76,15 +90,12 @@ GEM
|
|
76
90
|
ruby-progressbar (~> 1.7)
|
77
91
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
78
92
|
ruby-progressbar (1.9.0)
|
93
|
+
ruby2_keywords (0.0.2)
|
79
94
|
thread_safe (0.3.6)
|
80
|
-
tzinfo (1.2.
|
95
|
+
tzinfo (1.2.7)
|
81
96
|
thread_safe (~> 0.1)
|
82
97
|
unicode-display_width (1.3.3)
|
83
|
-
|
84
|
-
axiom-types (~> 0.1)
|
85
|
-
coercible (~> 1.0)
|
86
|
-
descendants_tracker (~> 0.0, >= 0.0.3)
|
87
|
-
equalizer (~> 0.0, >= 0.0.9)
|
98
|
+
zeitwerk (2.4.1)
|
88
99
|
|
89
100
|
PLATFORMS
|
90
101
|
ruby
|
@@ -96,4 +107,4 @@ DEPENDENCIES
|
|
96
107
|
rubocop (~> 0.56)
|
97
108
|
|
98
109
|
BUNDLED WITH
|
99
|
-
1.
|
110
|
+
2.1.4
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2015 Harper Henn
|
3
|
+
Copyright (c) 2015,2016 Harper Henn
|
4
|
+
Copyright (c) 2018-2020 GitLab B.V.
|
4
5
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# grape-path-helpers
|
2
2
|
|
3
|
-
[![Build status](https://gitlab.com/gitlab-org/grape-path-helpers/badges/master/
|
3
|
+
[![Build status](https://gitlab.com/gitlab-org/grape-path-helpers/badges/master/pipeline.svg)](https://gitlab.com/gitlab-org/grape-path-helpers/commits/master)
|
4
4
|
|
5
5
|
Provides named route helpers for Grape APIs, similar to [Rails' route helpers](http://edgeguides.rubyonrails.org/routing.html#path-and-url-helpers).
|
6
6
|
|
7
|
-
**This is a fork and rename of [
|
7
|
+
**This is a fork and rename of [grape-route-helpers](https://github.com/reprah/grape-route-helpers). It [includes some fixes](CHANGELOG.md) needed for GitLab.**
|
8
8
|
|
9
9
|
### Installation
|
10
10
|
|
@@ -76,7 +76,7 @@ You can use helper methods in your REPL session by including a module:
|
|
76
76
|
Use the methods inside your Grape API actions. Given this example API:
|
77
77
|
|
78
78
|
```ruby
|
79
|
-
class ExampleAPI < Grape::API
|
79
|
+
class ExampleAPI < Grape::API::Instance
|
80
80
|
version 'v1'
|
81
81
|
prefix 'api'
|
82
82
|
format 'json'
|
@@ -127,7 +127,7 @@ api_v1_anything_path # => '/api/v1/*anything'
|
|
127
127
|
If you want to assign a custom helper name to a route, pass the `:as` option when creating your route in your API:
|
128
128
|
|
129
129
|
```ruby
|
130
|
-
class Base < Grape::API
|
130
|
+
class Base < Grape::API::Instance
|
131
131
|
get 'ping', as: 'is_the_server_running'
|
132
132
|
'pong'
|
133
133
|
end
|
@@ -169,6 +169,14 @@ end
|
|
169
169
|
|
170
170
|
6.) Create a new pull request
|
171
171
|
|
172
|
+
### Releasing
|
173
|
+
|
174
|
+
1. Update the [CHANGELOG](CHANGELOG.md).
|
175
|
+
2. Update the version in [lib/grape-path-helpers/version.rb](lib/grape-path-helpers/version.rb).
|
176
|
+
3. [Tag](https://gitlab.com/gitlab-org/grape-path-helpers/-/tags) the commit with the version number prefixed by 'v'.
|
177
|
+
4. Run `gem build grape-path-helpers` locally.
|
178
|
+
5. Run `gem push $new_file.gem` locally, where `$new_file` is the file generated by the step above.
|
179
|
+
|
172
180
|
### License
|
173
181
|
|
174
182
|
See LICENSE
|
data/Rakefile
CHANGED
data/grape-path-helpers.gemspec
CHANGED
@@ -12,8 +12,9 @@ Gem::Specification.new do |gem|
|
|
12
12
|
gem.homepage = 'https://gitlab.com/gitlab-org/grape-path-helpers'
|
13
13
|
|
14
14
|
gem.add_runtime_dependency 'activesupport'
|
15
|
-
gem.add_runtime_dependency 'grape', '~> 1.
|
16
|
-
gem.add_runtime_dependency 'rake', '
|
15
|
+
gem.add_runtime_dependency 'grape', '~> 1.3'
|
16
|
+
gem.add_runtime_dependency 'rake', '> 12'
|
17
|
+
gem.add_runtime_dependency 'ruby2_keywords', '~> 0.0.2'
|
17
18
|
|
18
19
|
gem.add_development_dependency 'pry', '~> 0.11'
|
19
20
|
gem.add_development_dependency 'rspec', '~> 3.7'
|
data/lib/grape-path-helpers.rb
CHANGED
@@ -12,5 +12,5 @@ module GrapePathHelpers
|
|
12
12
|
require 'grape-path-helpers/railtie' if defined?(Rails)
|
13
13
|
end
|
14
14
|
|
15
|
-
Grape::API.extend GrapePathHelpers::AllRoutes
|
15
|
+
Grape::API::Instance.extend GrapePathHelpers::AllRoutes
|
16
16
|
Grape::Endpoint.send(:include, GrapePathHelpers::NamedRouteMatcher)
|
@@ -3,26 +3,27 @@ module GrapePathHelpers
|
|
3
3
|
# to unknown methods will look for a route with a matching
|
4
4
|
# helper function name
|
5
5
|
module NamedRouteMatcher
|
6
|
-
def method_missing(method_id, *
|
6
|
+
def method_missing(method_id, *args)
|
7
7
|
return super unless method_id.to_s =~ /_path$/
|
8
8
|
|
9
|
-
segments =
|
9
|
+
segments = args.first || {}
|
10
10
|
|
11
|
-
route = Grape::API.decorated_routes.detect do |r|
|
11
|
+
route = Grape::API::Instance.decorated_routes.detect do |r|
|
12
12
|
route_match?(r, method_id, segments)
|
13
13
|
end
|
14
14
|
|
15
15
|
if route
|
16
|
-
route.send(method_id, *
|
16
|
+
route.send(method_id, *args)
|
17
17
|
else
|
18
18
|
super
|
19
19
|
end
|
20
20
|
end
|
21
|
+
ruby2_keywords(:method_missing)
|
21
22
|
|
22
23
|
def respond_to_missing?(method_name, _include_private = false)
|
23
24
|
return super unless method_name =~ /_path$/
|
24
25
|
|
25
|
-
Grape::API.decorated_routes.detect do |route|
|
26
|
+
Grape::API::Instance.decorated_routes.detect do |route|
|
26
27
|
return true if route.respond_to?(method_name)
|
27
28
|
end
|
28
29
|
|
@@ -3,7 +3,7 @@ module GrapePathHelpers
|
|
3
3
|
# and required arguments for every Grape::Route.
|
4
4
|
class RouteDisplayer
|
5
5
|
def route_attributes
|
6
|
-
Grape::API.decorated_routes.map do |route|
|
6
|
+
Grape::API::Instance.decorated_routes.map do |route|
|
7
7
|
{
|
8
8
|
route_path: route.route_path,
|
9
9
|
route_method: route.route_method,
|
@@ -1,7 +1,8 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
+
# rubocop:disable Metrics/BlockLength
|
3
4
|
describe GrapePathHelpers::AllRoutes do
|
4
|
-
Grape::API.extend described_class
|
5
|
+
Grape::API::Instance.extend described_class
|
5
6
|
|
6
7
|
describe '#all_routes' do
|
7
8
|
context 'when API is mounted within another API' do
|
@@ -11,7 +12,7 @@ describe GrapePathHelpers::AllRoutes do
|
|
11
12
|
mounting_api
|
12
13
|
|
13
14
|
# A route is unique if no other route shares the same set of options
|
14
|
-
all_route_options = Grape::API.all_routes.map do |r|
|
15
|
+
all_route_options = Grape::API::Instance.all_routes.map do |r|
|
15
16
|
r.instance_variable_get(:@options).merge(path: r.path)
|
16
17
|
end
|
17
18
|
|
@@ -28,10 +29,18 @@ describe GrapePathHelpers::AllRoutes do
|
|
28
29
|
it 'returns all POST routes' do
|
29
30
|
expected_routes = Spec::Support::MultiplePostsAPI.routes.map(&:path)
|
30
31
|
|
31
|
-
all_routes = Grape::API.all_routes
|
32
|
+
all_routes = Grape::API::Instance.all_routes
|
32
33
|
expect(all_routes.map(&:path)).to include(*expected_routes)
|
33
34
|
end
|
34
35
|
end
|
36
|
+
|
37
|
+
context 'when an API is created via an intermediate class' do
|
38
|
+
it 'includes those routes on both Grape::API::Instance and the base class' do
|
39
|
+
expect(Spec::Support::BaseAPI.all_routes.map(&:origin)).to include('/derived_ping')
|
40
|
+
expect(Grape::API::Instance.all_routes.map(&:origin)).to include('/derived_ping')
|
41
|
+
end
|
42
|
+
end
|
35
43
|
# rubocop:enable Metrics/LineLength
|
36
44
|
end
|
37
45
|
end
|
46
|
+
# rubocop:enable Metrics/BlockLength
|
@@ -5,7 +5,7 @@ describe GrapePathHelpers::NamedRouteMatcher do
|
|
5
5
|
include described_class
|
6
6
|
|
7
7
|
let(:routes) do
|
8
|
-
Grape::API.decorated_routes
|
8
|
+
Grape::API::Instance.decorated_routes
|
9
9
|
end
|
10
10
|
|
11
11
|
let(:ping_route) do
|
@@ -30,8 +30,8 @@ describe GrapePathHelpers::NamedRouteMatcher do
|
|
30
30
|
fake_class = Class.new do
|
31
31
|
prepend GrapePathHelpers::NamedRouteMatcher
|
32
32
|
|
33
|
-
def method_missing(
|
34
|
-
|
33
|
+
def method_missing(method_id, *args, **kwargs)
|
34
|
+
[method_id, args, kwargs] || super
|
35
35
|
end
|
36
36
|
|
37
37
|
def respond_to_missing?(_method_name, _include_private = false)
|
@@ -44,13 +44,14 @@ describe GrapePathHelpers::NamedRouteMatcher do
|
|
44
44
|
|
45
45
|
describe '#method_missing' do
|
46
46
|
it 'returns super method_missing if the method does not end with path' do
|
47
|
-
expect(Grape::API).not_to receive(:decorated_routes)
|
47
|
+
expect(Grape::API::Instance).not_to receive(:decorated_routes)
|
48
48
|
|
49
|
-
helper_class.test_method
|
49
|
+
expect(helper_class.test_method(:arg1, kwarg1: :kwarg1))
|
50
|
+
.to eq([:test_method, [:arg1], { kwarg1: :kwarg1 }])
|
50
51
|
end
|
51
52
|
|
52
53
|
it 'search for the route if the method ends with path' do
|
53
|
-
expect(Grape::API).to receive(:decorated_routes).and_call_original
|
54
|
+
expect(Grape::API::Instance).to receive(:decorated_routes).and_call_original # rubocop:disable Metrics/LineLength
|
54
55
|
|
55
56
|
helper_class.test_method_path
|
56
57
|
end
|
@@ -146,14 +147,14 @@ describe GrapePathHelpers::NamedRouteMatcher do
|
|
146
147
|
end
|
147
148
|
|
148
149
|
describe '#respond_to_missing?' do
|
149
|
-
it 'returns super if the method
|
150
|
-
expect(Grape::API).not_to receive(:decorated_routes)
|
150
|
+
it 'returns super if the method does not end with path' do
|
151
|
+
expect(Grape::API::Instance).not_to receive(:decorated_routes) # rubocop:disable Metrics/LineLength
|
151
152
|
|
152
153
|
expect(helper_class.send(:respond_to_missing?, :test)).to eq(false)
|
153
154
|
end
|
154
155
|
|
155
156
|
it 'search for the route if the method ends with path' do
|
156
|
-
expect(Grape::API).to receive(:decorated_routes).and_call_original
|
157
|
+
expect(Grape::API::Instance).to receive(:decorated_routes).and_call_original # rubocop:disable Metrics/LineLength
|
157
158
|
|
158
159
|
expect(helper_class.send(:respond_to_missing?, :test_path)).to eq(false)
|
159
160
|
end
|
data/spec/support/api.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Spec
|
2
2
|
module Support
|
3
3
|
# Test API
|
4
|
-
class API < Grape::API
|
4
|
+
class API < Grape::API::Instance
|
5
5
|
version 'v1'
|
6
6
|
prefix 'api'
|
7
7
|
format 'json'
|
@@ -48,7 +48,7 @@ module Spec
|
|
48
48
|
end
|
49
49
|
|
50
50
|
# API with more than one version
|
51
|
-
class APIWithMultipleVersions < Grape::API
|
51
|
+
class APIWithMultipleVersions < Grape::API::Instance
|
52
52
|
version %w[beta alpha v1]
|
53
53
|
|
54
54
|
get 'ping' do
|
@@ -57,13 +57,13 @@ module Spec
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# API with another API mounted inside it
|
60
|
-
class MountedAPI < Grape::API
|
60
|
+
class MountedAPI < Grape::API::Instance
|
61
61
|
mount Spec::Support::API
|
62
62
|
mount Spec::Support::APIWithMultipleVersions
|
63
63
|
end
|
64
64
|
|
65
65
|
# API with a version that would be illegal as a method name
|
66
|
-
class APIWithIllegalVersion < Grape::API
|
66
|
+
class APIWithIllegalVersion < Grape::API::Instance
|
67
67
|
version 'beta-1'
|
68
68
|
|
69
69
|
get 'ping' do
|
@@ -72,7 +72,7 @@ module Spec
|
|
72
72
|
end
|
73
73
|
|
74
74
|
# API with multiple POST routes
|
75
|
-
class MultiplePostsAPI < Grape::API
|
75
|
+
class MultiplePostsAPI < Grape::API::Instance
|
76
76
|
resource :hamlet do
|
77
77
|
post 'to_be' do
|
78
78
|
end
|
@@ -81,5 +81,14 @@ module Spec
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
end
|
84
|
+
|
85
|
+
class BaseAPI < Grape::API::Instance
|
86
|
+
end
|
87
|
+
|
88
|
+
class DerivedAPI < BaseAPI
|
89
|
+
get 'derived_ping' do
|
90
|
+
'pong'
|
91
|
+
end
|
92
|
+
end
|
84
93
|
end
|
85
94
|
end
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-path-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Blessing
|
8
8
|
- Harper Henn
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -31,28 +31,42 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '1.
|
34
|
+
version: '1.3'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '1.
|
41
|
+
version: '1.3'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - ">"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: '12'
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - ">"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '12'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: ruby2_keywords
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 0.0.2
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.0.2
|
56
70
|
- !ruby/object:Gem::Dependency
|
57
71
|
name: pry
|
58
72
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +145,7 @@ homepage: https://gitlab.com/gitlab-org/grape-path-helpers
|
|
131
145
|
licenses:
|
132
146
|
- MIT
|
133
147
|
metadata: {}
|
134
|
-
post_install_message:
|
148
|
+
post_install_message:
|
135
149
|
rdoc_options: []
|
136
150
|
require_paths:
|
137
151
|
- lib
|
@@ -146,8 +160,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
160
|
- !ruby/object:Gem::Version
|
147
161
|
version: '0'
|
148
162
|
requirements: []
|
149
|
-
rubygems_version: 3.
|
150
|
-
signing_key:
|
163
|
+
rubygems_version: 3.2.3
|
164
|
+
signing_key:
|
151
165
|
specification_version: 4
|
152
166
|
summary: Route path helpers for Grape
|
153
167
|
test_files: []
|