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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 315b7b8b11c7d709767c302bf355e753c1346ef5
4
- data.tar.gz: ebb01776bd5b04bbae7063b8896dd8bde25c6f38
3
+ metadata.gz: 1849aec5b93ff2bd49c5fc9477c5485a8a439ab7
4
+ data.tar.gz: ad4662c7a69f5c7015a7694fe9f8247aaf20a243
5
5
  SHA512:
6
- metadata.gz: 1ec83dabb18327ec1de2e6d5a401f409012f949d69b7bf342f882726e0fa5c60a806ed9b342266c7ca3c65723ce1899b6b5db58509872bb5c95b16f2a263358c
7
- data.tar.gz: 00bf5b62c94f94be37a070aa1742fb62d79618719601113832f4119e6766f79c9b822537f376fb92e491ea70042f79d26b486d796f7e276ad8ee350281353d32
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)
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.6)
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.2)
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, credit_card.subscription_id, i == 0, {"data-stored" => true}
25
- .w-col.w-col-2
26
- .fontsize-small.fontweight-semibold.text-success
27
- = credit_card.card_brand.upcase
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
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.3.4"
2
+ VERSION = "2.3.5"
3
3
  end
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
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-05 00:00:00.000000000 Z
12
+ date: 2014-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails