reviewed-auth 0.2.2 → 0.2.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: 53df05ccad2a8f03cf7cc04ff7e2d2998a5ad74a
4
- data.tar.gz: 486e8d1129d05ed2e0d08da84568afff0a0e202f
3
+ metadata.gz: 542b1439dc87328027801c922afdb168bf7b9371
4
+ data.tar.gz: 2ba5ba173b70fb2c9fb438cdef0ed1ab2cc8ca28
5
5
  SHA512:
6
- metadata.gz: 48e81ee9ae5d21e1ef2b9192c74aa535d883ab2d1fb8d741b0121c9e84a48e25faf7d2f014651a54bb7be2da7b133942b22ab2c28e1dfa2d93a39cb81bac0bfe
7
- data.tar.gz: 7755f15536bf04ce9f9b8006eb910ee310c00ea797f88ae0a2062e9a1b8079ea72294bbf96433bd18df968f875229070e1f139f4941f065efae62e7ecb46d5ec
6
+ metadata.gz: 885a4b716669a52cba3aaaad67334917fa8a2623b404190b9dc8c9747e33a6dafa252c497cffdd506e7fe3b95fda7b3f9b2a41f45d0b3bcc0f3e998497cdb466
7
+ data.tar.gz: 74f1b45a62efc7f031913028c58b923f5f1e861069d9b24987c064bf423149ce8f31ff53a90c8cd4141874abe368d9cef30f01b68bdb68391873332fffa0ddee
@@ -58,7 +58,7 @@ module Reviewed
58
58
  end
59
59
 
60
60
  def return_to_url(params)
61
- uri = URI(params['return_url'])
61
+ uri = URI(params['return_url'] || 'http://www.reviewed.com')
62
62
  uri_params = params.reject { |k, v| k == 'return_url' }
63
63
  query_string = ::URI.encode_www_form(uri_params)
64
64
  uri.query = nil
@@ -1,5 +1,5 @@
1
1
  module Reviewed
2
2
  module Auth
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reviewed-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Bates