trustlink 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/trustlink.rb +2 -2
- data/lib/trustlink/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: a7904998e13c1873d3703d59fe9878ad169b3419
|
4
|
+
data.tar.gz: fd590ad18104fba154cc8f3ad512cd509c7235de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec099202aec0d76ae81889e04a031590a4ea8a5b67aaf78624a4211881ae923075fb497fc1ca3947106d4feed75369564fbc870f1d6500e22341d4164b8f581
|
7
|
+
data.tar.gz: fd5d18a9b1b8c7722bf9b95d5650370e61ece2e440bde4185dd54e3fa10754e93a5854d9c5bb2d6bdab2329404ac771a2989a0e6f91f3b1e5b1d11fa51328720
|
data/lib/trustlink.rb
CHANGED
@@ -50,7 +50,7 @@ module Trustlink
|
|
50
50
|
|
51
51
|
@is_static = options[:is_static].present?
|
52
52
|
|
53
|
-
self.request_uri = options[:request_uri].present? ? options[:request_uri] : (self.request.
|
53
|
+
self.request_uri = options[:request_uri].present? ? options[:request_uri] : (self.request.original_url rescue nil)
|
54
54
|
self.request_uri = self.request_uri.gsub(/\?.*$/, '').gsub(/\/+/, '/') if @is_static && self.request_uri.present?
|
55
55
|
|
56
56
|
|
@@ -211,7 +211,7 @@ module Trustlink
|
|
211
211
|
|
212
212
|
result += self.error.to_s
|
213
213
|
|
214
|
-
result += '<!--REQUEST_URI='+self.request.
|
214
|
+
result += '<!--REQUEST_URI='+self.request.original_url+"-->\n"
|
215
215
|
result += "\n<!--\n"
|
216
216
|
result += 'L '+VERSION+"\n"
|
217
217
|
result += 'REMOTE_ADDR='+self.request.remote_addr+"\n"
|
data/lib/trustlink/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trustlink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trustlink
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-02-
|
12
|
+
date: 2014-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -112,7 +112,7 @@ files:
|
|
112
112
|
- test/dummy/public/favicon.ico
|
113
113
|
- test/test_helper.rb
|
114
114
|
- test/trustlink_test.rb
|
115
|
-
homepage:
|
115
|
+
homepage: https://github.com/iRet/trustlink
|
116
116
|
licenses: []
|
117
117
|
metadata: {}
|
118
118
|
post_install_message:
|