grape-path-helpers 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/grape-path-helpers.gemspec +6 -6
- data/lib/grape-path-helpers/decorated_route.rb +4 -4
- data/lib/grape-path-helpers/version.rb +1 -1
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1218eb9de9f194f6cbcf51e76bdb4be68cfa641c
|
4
|
+
data.tar.gz: 7e3af2e54ddff24e32e3ea53e9efbd29eaabddc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7d43750369cb3a535f2f3e010be78fa8e68993dee480225c51f7a83e4edae88140f63089cc570ca55b7bda50495019ade19a01fb5a57cc95aae986765743120
|
7
|
+
data.tar.gz: 3e0392e00e37c18d512966b02fc702d4655072a05cecc5a88c6b4268a474da1ed28d13e6acd1a4b60ae28e6c188a91958529bec80b134c5492f10befc96086a4
|
data/Gemfile.lock
CHANGED
@@ -2,17 +2,17 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
grape-path-helpers (1.0.0)
|
5
|
-
activesupport
|
5
|
+
activesupport (~> 4)
|
6
6
|
grape (~> 1.0)
|
7
|
-
rake
|
7
|
+
rake (~> 12)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
13
|
-
|
14
|
-
i18n (>= 0.7, < 2)
|
12
|
+
activesupport (4.2.10)
|
13
|
+
i18n (~> 0.7)
|
15
14
|
minitest (~> 5.1)
|
15
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
16
16
|
tzinfo (~> 1.1)
|
17
17
|
ast (2.4.0)
|
18
18
|
axiom-types (0.1.1)
|
@@ -28,14 +28,14 @@ GEM
|
|
28
28
|
thread_safe (~> 0.3, >= 0.3.1)
|
29
29
|
diff-lcs (1.3)
|
30
30
|
equalizer (0.0.11)
|
31
|
-
grape (1.0.
|
31
|
+
grape (1.0.3)
|
32
32
|
activesupport
|
33
33
|
builder
|
34
34
|
mustermann-grape (~> 1.0.0)
|
35
35
|
rack (>= 1.3.0)
|
36
36
|
rack-accept
|
37
37
|
virtus (>= 1.0.0)
|
38
|
-
i18n (
|
38
|
+
i18n (0.9.5)
|
39
39
|
concurrent-ruby (~> 1.0)
|
40
40
|
ice_nine (0.11.2)
|
41
41
|
method_source (0.9.0)
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
69
|
rspec-support (~> 3.7.0)
|
70
70
|
rspec-support (3.7.1)
|
71
|
-
rubocop (0.
|
71
|
+
rubocop (0.56.0)
|
72
72
|
parallel (~> 1.10)
|
73
73
|
parser (>= 2.5)
|
74
74
|
powerpack (~> 0.1)
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
thread_safe (0.3.6)
|
80
80
|
tzinfo (1.2.5)
|
81
81
|
thread_safe (~> 0.1)
|
82
|
-
unicode-display_width (1.3.
|
82
|
+
unicode-display_width (1.3.3)
|
83
83
|
virtus (1.0.5)
|
84
84
|
axiom-types (~> 0.1)
|
85
85
|
coercible (~> 1.0)
|
@@ -91,9 +91,9 @@ PLATFORMS
|
|
91
91
|
|
92
92
|
DEPENDENCIES
|
93
93
|
grape-path-helpers!
|
94
|
-
pry
|
95
|
-
rspec
|
96
|
-
rubocop
|
94
|
+
pry (~> 0.11)
|
95
|
+
rspec (~> 3.7)
|
96
|
+
rubocop (~> 0.56)
|
97
97
|
|
98
98
|
BUNDLED WITH
|
99
99
|
1.16.2
|
data/grape-path-helpers.gemspec
CHANGED
@@ -9,13 +9,13 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.authors = ['Drew Blessing', 'Harper Henn']
|
10
10
|
gem.email = ''
|
11
11
|
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
12
|
-
gem.homepage = 'https://
|
12
|
+
gem.homepage = 'https://gitlab.com/gitlab-org/grape-path-helpers'
|
13
13
|
|
14
|
-
gem.add_runtime_dependency 'activesupport'
|
14
|
+
gem.add_runtime_dependency 'activesupport', '~> 4'
|
15
15
|
gem.add_runtime_dependency 'grape', '~> 1.0'
|
16
|
-
gem.add_runtime_dependency 'rake'
|
16
|
+
gem.add_runtime_dependency 'rake', '~> 12'
|
17
17
|
|
18
|
-
gem.add_development_dependency 'pry'
|
19
|
-
gem.add_development_dependency 'rspec'
|
20
|
-
gem.add_development_dependency 'rubocop'
|
18
|
+
gem.add_development_dependency 'pry', '~> 0.11'
|
19
|
+
gem.add_development_dependency 'rspec', '~> 3.7'
|
20
|
+
gem.add_development_dependency 'rubocop', '~> 0.56'
|
21
21
|
end
|
@@ -62,13 +62,13 @@ module GrapePathHelpers
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def route_versions
|
65
|
-
if route_version.
|
66
|
-
|
67
|
-
|
65
|
+
return [nil] if route_version.nil? || route_version.empty?
|
66
|
+
|
67
|
+
if route_version.is_a?(String)
|
68
68
|
version_pattern = /[^\[",\]\s]+/
|
69
69
|
route_version.scan(version_pattern)
|
70
70
|
else
|
71
|
-
|
71
|
+
route_version
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-path-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drew Blessing
|
@@ -15,16 +15,16 @@ dependencies:
|
|
15
15
|
name: activesupport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '4'
|
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
|
-
version: '
|
27
|
+
version: '4'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: grape
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,58 +43,58 @@ dependencies:
|
|
43
43
|
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
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
|
-
version: '
|
55
|
+
version: '12'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: pry
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0'
|
62
|
+
version: '0.11'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
69
|
+
version: '0.11'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: rspec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '
|
76
|
+
version: '3.7'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '
|
83
|
+
version: '3.7'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: rubocop
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - "~>"
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
90
|
+
version: '0.56'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '0'
|
97
|
+
version: '0.56'
|
98
98
|
description: Route path helpers for Grape
|
99
99
|
email: ''
|
100
100
|
executables: []
|
@@ -127,7 +127,7 @@ files:
|
|
127
127
|
- spec/grape_path_helpers/named_route_matcher_spec.rb
|
128
128
|
- spec/spec_helper.rb
|
129
129
|
- spec/support/api.rb
|
130
|
-
homepage: https://
|
130
|
+
homepage: https://gitlab.com/gitlab-org/grape-path-helpers
|
131
131
|
licenses:
|
132
132
|
- MIT
|
133
133
|
metadata: {}
|