get_link_list 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/get_link_list/helper.rb +4 -3
- data/lib/get_link_list/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c0b53141880acb8b4609b04bc13e466b844b91b
|
4
|
+
data.tar.gz: c2a7673c5bd66ad5765f0e98d0f52ba5d1fdb6be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa988b76d0629a9d440eb7c7f5103f0755028d619f50da45cfeac2b6ccca7549ab5def1108acd752846a7c2f922c700ef800be4bac74fa6e1bc39ae52c75b1f
|
7
|
+
data.tar.gz: 18aa3fde665a89e8d8390ab3fe33248b3a050e2290952c0d64f7a02e84da5d44236f96c1468304dcb370d381348b543a9ac74abac336303caf0d30bfa76ffd4a
|
data/lib/get_link_list/helper.rb
CHANGED
@@ -19,9 +19,10 @@ module GetLinkList
|
|
19
19
|
|
20
20
|
private
|
21
21
|
def match_initial_path_segment(path)
|
22
|
-
path= path.sub(/\(.:format\)/, "")
|
23
|
-
path.sub(/:(.*)id/, "1")
|
24
|
-
path.sub(/\(\/:locale\)/, "\/"+ GetLinkList.config.default_lang)
|
22
|
+
path = path.sub(/\(.:format\)/, "")
|
23
|
+
path = path.sub(/:(.*)id/, "1")
|
24
|
+
path = path.sub(/\(\/:locale\)/, "\/"+ GetLinkList.config.default_lang)
|
25
|
+
return path
|
25
26
|
end
|
26
27
|
|
27
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: get_link_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- candle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: It showed your rails project GET path
|
14
14
|
email:
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.5.1
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: This Gem display rails GET path automatically
|