oa-webmoney 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/oa-webmoney/version.rb +1 -1
- data/lib/oa-webmoney/webmoney.rb +2 -2
- metadata +2 -2
data/lib/oa-webmoney/version.rb
CHANGED
data/lib/oa-webmoney/webmoney.rb
CHANGED
@@ -60,7 +60,7 @@ module OmniAuth
|
|
60
60
|
|
61
61
|
def callback_phase
|
62
62
|
if request.params["WmLogin_KeeperRetStr"] == "Canceled"
|
63
|
-
return fail!(:canceled, ERROR_MESSAGES[:canceled])
|
63
|
+
return fail!(:canceled, OmniAuth::Error.new(ERROR_MESSAGES[:canceled]))
|
64
64
|
end
|
65
65
|
|
66
66
|
# work around for local development
|
@@ -98,7 +98,7 @@ module OmniAuth
|
|
98
98
|
when 201 then :ip_differs
|
99
99
|
end
|
100
100
|
|
101
|
-
return fail!(status, ERROR_MESSAGES[status]) unless status == :successful
|
101
|
+
return fail!(status, OmniAuth::Error.new(ERROR_MESSAGES[status])) unless status == :successful
|
102
102
|
|
103
103
|
super
|
104
104
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oa-webmoney
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: webmoney
|