wovnrb 0.1.51 → 0.1.52

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: 4f1d4f9efc3b309a88b88e8a6b7e5fea999f002d
4
- data.tar.gz: 19787f03dc9757f2a5e3b1ded0c3ffc25e494847
3
+ metadata.gz: 1ed6e20ceb033c8aded1017ee0169efe87d5fc8f
4
+ data.tar.gz: adf93478f9e03352754b791ec71c1d802d64d0d6
5
5
  SHA512:
6
- metadata.gz: db2060f65d08939188cc429e0965f1e040dfa49f7564ad32d344c8305e2a0ac9b13878474b2a99cb09379ecb51f2685bd0ad0ffcf206a97295a626bbb5100126
7
- data.tar.gz: 66af408ff029d7bf32ead3fb7d6600f2838655f8d25dc3e45f0f5bb472dc1cc29f17156b0ce167e28573635aa99968a745b3f8fe5fe7b32e354db89e47467a12
6
+ metadata.gz: 8961a2ec5c5ffcc90a6f967e03e220f21b945a644bcb9318aa4ed75fbf21e2bc3b89c2cc52ab885adb463b96b3b1148e2d87349783eff6c80ba4e09c42478b40
7
+ data.tar.gz: b9b6adb3bd8281a21a47d9ca3f8e8c0a311d234ab764a014e015013b329fe525e0f166d7247128df85b7f7961929eb76b9913f30703e9c80be34886b0648de3f
@@ -163,7 +163,8 @@ module Wovnrb
163
163
  end
164
164
 
165
165
  def out(headers)
166
- if headers.has_key?("Location")
166
+ r = Regexp.new("//" + @host)
167
+ if headers.has_key?("Location") && headers["Location"] =~ r
167
168
  case @settings['url_pattern']
168
169
  when 'query'
169
170
  if headers["Location"] =~ /\?/
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = "0.1.51"
2
+ VERSION = "0.1.52"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wovnrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.51
4
+ version: 0.1.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandford