catarse_pagarme 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/app/views/catarse_pagarme/pagarme/review.html.slim +19 -17
- 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: 1849aec5b93ff2bd49c5fc9477c5485a8a439ab7
|
4
|
+
data.tar.gz: ad4662c7a69f5c7015a7694fe9f8247aaf20a243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec81cd041634d74ac9482645c69e8caf6582a94fb841c2cc81bf81c86f79a0fd767aa2e3e9a2a5c85de6317b261488b9f20b6abafdd04b2646f86693f064fdc3
|
7
|
+
data.tar.gz: dc3bba10c3b1cd73f7d9fa61c29ab6a6a6db07525e42fed6a09655faabcce1326799b0f83fe528bed8eec9b683deb9160e905a8070058ac855be86a7c97e3d76
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
catarse_pagarme (2.3.
|
4
|
+
catarse_pagarme (2.3.5)
|
5
5
|
pagarme (~> 1.9.5)
|
6
6
|
rails (~> 4.0)
|
7
7
|
|
@@ -53,7 +53,7 @@ GEM
|
|
53
53
|
minitest (5.4.0)
|
54
54
|
multi_json (1.10.1)
|
55
55
|
netrc (0.8.0)
|
56
|
-
pagarme (1.9.
|
56
|
+
pagarme (1.9.8)
|
57
57
|
multi_json
|
58
58
|
rest-client
|
59
59
|
pg (0.17.1)
|
@@ -92,7 +92,7 @@ GEM
|
|
92
92
|
rspec-core (~> 2.14.0)
|
93
93
|
rspec-expectations (~> 2.14.0)
|
94
94
|
rspec-mocks (~> 2.14.0)
|
95
|
-
sprockets (2.12.
|
95
|
+
sprockets (2.12.3)
|
96
96
|
hike (~> 1.2)
|
97
97
|
multi_json (~> 1.0)
|
98
98
|
rack (~> 1.0)
|
@@ -18,26 +18,28 @@
|
|
18
18
|
= form_tag 'javascript:void(0);', :class => 'pagarme' do
|
19
19
|
div[class="my-credit-cards w-form back-payment-form-creditcard records-choice #{(current_user.credit_cards.present? ? '' : 'w-hidden')}"]
|
20
20
|
- current_user.credit_cards.each_with_index do |credit_card, i|
|
21
|
+
= label_tag "payment_subscription_card_#{credit_card.subscription_id}" do
|
22
|
+
.w-row.creditcard-records
|
23
|
+
.w-col.w-col-1
|
24
|
+
.w-radio.w-clearfix.back-payment-credit-card-radio-field
|
25
|
+
= radio_button_tag :payment_subscription_card, credit_card.subscription_id, i == 0, {"data-stored" => true}
|
26
|
+
.w-col.w-col-2
|
27
|
+
.fontsize-small.fontweight-semibold.text-success
|
28
|
+
= credit_card.card_brand.upcase
|
29
|
+
.w-col.w-col-5
|
30
|
+
.fontsize-small.fontweight-semibold.u-marginbottom-20
|
31
|
+
= "XXXX.XXXX.XXXX.#{credit_card.last_digits}"
|
32
|
+
.w-col.w-col-4
|
33
|
+
- if @contribution.value.to_f >= CatarsePagarme.configuration.minimum_value_for_installment.to_f
|
34
|
+
= select_tag :payment_card_installments, options_for_select(installments_for_select(@contribution)), class: 'w-select text-field text-field-creditcard'
|
35
|
+
= label_tag :payment_subscription_card_0 do
|
21
36
|
.w-row.creditcard-records
|
22
37
|
.w-col.w-col-1
|
23
38
|
.w-radio.w-clearfix.back-payment-credit-card-radio-field
|
24
|
-
= radio_button_tag :payment_subscription_card,
|
25
|
-
.w-col.w-col-
|
26
|
-
.fontsize-small.fontweight-semibold.
|
27
|
-
=
|
28
|
-
.w-col.w-col-5
|
29
|
-
.fontsize-small.fontweight-semibold.u-marginbottom-20
|
30
|
-
= "XXXX.XXXX.XXXX.#{credit_card.last_digits}"
|
31
|
-
.w-col.w-col-4
|
32
|
-
- if @contribution.value.to_f >= CatarsePagarme.configuration.minimum_value_for_installment.to_f
|
33
|
-
= select_tag :payment_card_installments, options_for_select(installments_for_select(@contribution)), class: 'w-select text-field text-field-creditcard'
|
34
|
-
.w-row.creditcard-records
|
35
|
-
.w-col.w-col-1
|
36
|
-
.w-radio.w-clearfix.back-payment-credit-card-radio-field
|
37
|
-
= radio_button_tag :payment_subscription_card, 0
|
38
|
-
.w-col.w-col-11
|
39
|
-
.fontsize-small.fontweight-semibold.fontcolor-secondary
|
40
|
-
= t('projects.contributions.edit.form_labels.user_another_card')
|
39
|
+
= radio_button_tag :payment_subscription_card, 0
|
40
|
+
.w-col.w-col-11
|
41
|
+
.fontsize-small.fontweight-semibold.fontcolor-secondary
|
42
|
+
= t('projects.contributions.edit.form_labels.user_another_card')
|
41
43
|
div[class="w-form formwrapper type_card_data #{(current_user.credit_cards.present? ? 'w-hidden' : '')}"]
|
42
44
|
.w-row
|
43
45
|
.w-col.w-col-12
|
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: 2.3.
|
4
|
+
version: 2.3.5
|
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-11-
|
12
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|