catarse_pagarme 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/catarse_pagarme/slip_controller.rb +2 -1
- data/lib/catarse_pagarme/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c78a6135f39c19946c5d24f1f5bdd8d09def18a
|
4
|
+
data.tar.gz: e364b0adc9f89218fddb11d0dff07dc79e0b3500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b2a73648a352206c5dcbcd556adf3001535f4cac34e015bf6dc93ca0c73a2df7f4135e6e4aa8c3511e4fdb4c3eb07c78d79ce2423954af3ee416be7916ce21a
|
7
|
+
data.tar.gz: fd175857d58f67c059cbe9dd53919471808cfc7280b33382a8cc45f0a7de9b700bded86f294f25fb7bcd9168f2ae1b59d1b75506c3ee080a398aa86dbd69b757
|
data/Gemfile.lock
CHANGED
@@ -19,6 +19,7 @@ module CatarsePagarme
|
|
19
19
|
def slip_attributes
|
20
20
|
{
|
21
21
|
payment_method: 'boleto',
|
22
|
+
boleto_expiration_date: 2.days.from_now.to_i,
|
22
23
|
amount: delegator.value_for_transaction,
|
23
24
|
postback_url: ipn_pagarme_url(contribution, host: CatarsePagarme.configuration.host, subdomain: CatarsePagarme.configuration.subdomain),
|
24
25
|
customer: {
|
@@ -30,7 +31,7 @@ module CatarsePagarme
|
|
30
31
|
|
31
32
|
def permitted_attributes
|
32
33
|
attrs = ActionController::Parameters.new(slip_attributes)
|
33
|
-
attrs.permit(:payment_method, :amount, :postback_url, customer: [:name, :email],
|
34
|
+
attrs.permit(:boleto_expiration_date, :payment_method, :amount, :postback_url, customer: [:name, :email],
|
34
35
|
user: [
|
35
36
|
bank_account_attributes: [
|
36
37
|
:bank_id, :account, :account_digit, :agency,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_pagarme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|