polyrex-links 0.1.8 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a55eb5dc1b4b5a707bd3f9a44fbc7cec6884635a
4
- data.tar.gz: 8ca8073c0bee874ab3ff9a68af305a735ec73f5b
3
+ metadata.gz: d595f1d5699111f14c78b86b8a4a107a2937c836
4
+ data.tar.gz: 972b27803771af0620a03bb613746b21ef550100
5
5
  SHA512:
6
- metadata.gz: 282a294f42ea204999b3cf4c9b3c09905f4bffae8620fe570a81d9f2d54abf8bc51492e95aed1a4193dd0067c2419a58c596277c7356e244a94e15dfa01dfc03
7
- data.tar.gz: 9c0cecebac2e7428dac11b41bca4b0b0c5f5d5e559f2c9eacd54b24d1f171ac32616f892032123b75c358bc12f5c465bd94ab8d45084cbd36c0f71f4f8e5e7e6
6
+ metadata.gz: 1f58cc3bb34cbc0fef99d84d1d219dfbc3c811870f31032197cc4d9ff4e0f83f12038c55f3835d87516984da7d936a91b4c851161519816686162099f39fae27
7
+ data.tar.gz: f4ea39ede1d7fa68437ef23974e17eb391fb6b68d3ce34958796d1e8d92e4fcfa2ef529559ecbe423250c5b4551f475ae51efb8617e09aa21b7ecfb7bf15effc
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -11,8 +11,9 @@ class PolyrexLinks < Polyrex
11
11
  self.delimiter = ' # '
12
12
  end
13
13
 
14
- def locate(path)
14
+ def locate(raw_path)
15
15
 
16
+ path = raw_path.sub(/^\//,'')
16
17
  a = path.split('/')
17
18
  a2 = []
18
19
  (a2 << a.clone; a.pop) while a.any?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyrex-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -30,7 +30,7 @@ cert_chain:
30
30
  BPwFsWAbLaLB8f5sRH9pSgr7gqm3ky2fSBk//wtYHz86+AKvwZ0E3pvp6FuWl5Az
31
31
  iPQ=
32
32
  -----END CERTIFICATE-----
33
- date: 2018-03-21 00:00:00.000000000 Z
33
+ date: 2018-03-31 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: polyrex
@@ -38,20 +38,20 @@ dependencies:
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '1.1'
41
+ version: '1.2'
42
42
  - - ">="
43
43
  - !ruby/object:Gem::Version
44
- version: 1.1.13
44
+ version: 1.2.0
45
45
  type: :runtime
46
46
  prerelease: false
47
47
  version_requirements: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - "~>"
50
50
  - !ruby/object:Gem::Version
51
- version: '1.1'
51
+ version: '1.2'
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.13
54
+ version: 1.2.0
55
55
  description:
56
56
  email: james@jamesrobertson.eu
57
57
  executables: []
metadata.gz.sig CHANGED
Binary file