catarse_paypal_express 2.1.1 → 2.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f323901b060ab2f8cc2234ee11d938cb20c1eccb
|
4
|
+
data.tar.gz: b1e65c23abcd20e393c6bdbd95d65af8b9b0f7b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34668b07aff98ff93c42e412b0d960ca858a481c24e0c7d30d8b128d0eaf1ba1f18610987780fcab2307ccb9d8faf1753873b2a7e61290f36ce2f4a5853af3d1
|
7
|
+
data.tar.gz: ef20fa639114faa6c3cecdc5e515f0e71522afaf82a5398afcab07f58c24973c0d69b9760eba3b5cf977cd81fedfefbd3f4a5bd3fd748eb6feef22141ae71d44
|
@@ -11,10 +11,11 @@ class CatarsePaypalExpress::PaypalExpressController < ApplicationController
|
|
11
11
|
def refund
|
12
12
|
refund_request = gateway.refund(nil, backer.payment_id)
|
13
13
|
|
14
|
+
|
14
15
|
if refund_request.success?
|
15
16
|
flash[:notice] = I18n.t('projects.backers.refund.success')
|
16
17
|
else
|
17
|
-
flash[:alert] = I18n.t('projects.backers.refund.error')
|
18
|
+
flash[:alert] = refund_request.try(:message) || I18n.t('projects.backers.refund.error')
|
18
19
|
end
|
19
20
|
|
20
21
|
redirect_to main_app.admin_backers_path
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_paypal_express
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-12-
|
13
|
+
date: 2013-12-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
188
|
rubyforge_project:
|
189
|
-
rubygems_version: 2.
|
189
|
+
rubygems_version: 2.1.10
|
190
190
|
signing_key:
|
191
191
|
specification_version: 4
|
192
192
|
summary: PaypalExpress integration with Catarse
|