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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb2bafa0e0a1b75b6a93fa1778dd40c54219432e
4
- data.tar.gz: adf3e204daec16a1289de0e46bee1ec44bc671d8
3
+ metadata.gz: a7904998e13c1873d3703d59fe9878ad169b3419
4
+ data.tar.gz: fd590ad18104fba154cc8f3ad512cd509c7235de
5
5
  SHA512:
6
- metadata.gz: 9bb02c8a7a92beb003b97c6f234ff6a1a5dbb88b65fbc66704e8dd6662d6286914604782c508c4fc9e0c8e78efeea48b31ff39658ee5ded220b173f5cd6704c2
7
- data.tar.gz: 87933a4c3c441771cfdb2f83f9fbac6060a6fd59bd9f3737ce6ebd88dd214f692627bea45d77b684d51cd0febb09927f6e1f3f697d31f1e200ab9c5519d9dd02
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.request_uri rescue nil)
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.request_uri+"-->\n"
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"
@@ -1,3 +1,3 @@
1
1
  module Trustlink
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-01 00:00:00.000000000 Z
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: http://www.trustlink.ru
115
+ homepage: https://github.com/iRet/trustlink
116
116
  licenses: []
117
117
  metadata: {}
118
118
  post_install_message: