go_to_param 0.0.2 → 0.0.3

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: 215153cc8a15d43896a220800cbd869135dcc05d
4
- data.tar.gz: e0f6533003427b3167d444b64551343c95dbd1fe
3
+ metadata.gz: 3cf1dbb6559624700c2d9e1ac097660437fb7adc
4
+ data.tar.gz: cadc020abd194ac7494f1f0c3b06a61aec778809
5
5
  SHA512:
6
- metadata.gz: 0d175624844e430d3a24c0221958677141e40503f8902f920cac9179e32f2effcee2e4a6a6ac65cc2379d64323e3bdb6d89815dda9ea61d47baf5f9f11163fca
7
- data.tar.gz: f882c0c017e88fe25cba15d49b962e0cdd6f90b0120a43cad6b74afc916d6c63f2d4dc4763c1b7ab95c898b337a39a6b98d39f4ba2b5e0a3c8a20793d6cf7dbc
6
+ metadata.gz: 4835a32bad26a5078d41aec401a4c229d144176287fa85267fac01f06d0cfb628e0a83115f2362bf4497bafe38b14ef8b6e763559c8f627ae38b76d70ad1b72a
7
+ data.tar.gz: 9fc842b80f29747b5144ecbe26534ce57f7f551dbbb006e857d9fb113eae94cfd4456994de1fbf9e017e5abd62aebf0f5210c11d61087049758eaf017deb5d0b
@@ -1,3 +1,3 @@
1
1
  module GoToParam
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/go_to_param.rb CHANGED
@@ -23,8 +23,8 @@ module GoToParam
23
23
 
24
24
  def go_to_path
25
25
  # Avoid phishing redirects.
26
- if raw_go_to_param_value.to_s.start_with?("/")
27
- raw_go_to_param_value
26
+ if go_to_param_value.to_s.start_with?("/")
27
+ go_to_param_value
28
28
  else
29
29
  nil
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_to_param
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henrik N