solidus_mp_dois 0.0.14 → 0.0.15

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
  SHA256:
3
- metadata.gz: eb956fb58c63e4cae3e5314e2d9249384c0ec41a59be411af3a0b530281769e3
4
- data.tar.gz: 68a9332bf90f336b9fbf9195f616cc480e55ca1a5ab58fb84afb66051b87b770
3
+ metadata.gz: 30c14f69b919ec67e8cd4039617e00db73aafc0800601dfbb9f9b54bb6c4d806
4
+ data.tar.gz: f0eabd288617eafad33009eb823be6e2f8662d5f9c7b2c4fedf357e184e48bad
5
5
  SHA512:
6
- metadata.gz: 8b9562a0f079359eb0afcb4e1beede5cc87412ae1169071c545c88e61af326b375d83114a74373dbc24d9e27875ae318e1b3afc946ec704772f14eabaa52363a
7
- data.tar.gz: 83e9bf7c1af82a7b48dc1bdcad506a0531c32a8efaa182d8f79ede1c44e02e82f061f89aa8fa4503f446b96e918ee95f207328aee0370991ccc256d22ab367d3
6
+ metadata.gz: 12a7acf12b95d84c415359d2eda2a95b96013f04b9d6140409f301deaf4be0d445e819363ff25efe28e17b6bb953dae8f363d40bcd99bcf98dec160c1bd07902
7
+ data.tar.gz: d89395de7733b8a9bf65dc48c54538315602fa6cc20f62f39af2403775bea3d75b7e56f115f750bee7d47daee46b30447d8c54be92bfdb99bce23f57f92b87ee
@@ -40,7 +40,7 @@
40
40
 
41
41
  <div class="field">
42
42
  <%= label_tag :expiration, "Expiração" %>
43
- <%= text_field_tag :expiration, payment.source.try(:expiration)&.in_time_zone('America/Sao_Paulo')&.strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
43
+ <%= text_field_tag :expiration, payment.source.expiration.in_time_zone('America/Sao_Paulo').strftime("%d/%m/%Y às %H:%M"), class:"fullwidth", disabled: true %>
44
44
  </div>
45
45
  </div>
46
46
 
@@ -1,5 +1 @@
1
- if payment_source.respond_to?(:card_brand)
2
- json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :card_brand, :installments, :last_four_digits)
3
- else
4
- json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :credit_card_brand, :installments, :last_four_digits)
5
- end
1
+ json.call(payment_source, :id, :external_id, :tax_id, :email, :status, :card_brand, :installments, :last_four_digits)
@@ -1,5 +1 @@
1
- if payment_source.respond_to?(:expiration)
2
- json.call(payment_source, :id, :external_id, :status, :amount, :expiration, :email, :tax_id, :payment_method_id, :qr_code)
3
- else
4
- json.call(payment_source, :id, :external_id, :status, :amount, :expiration_date, :email, :tax_id, :payment_method_id, :qr_code)
5
- end
1
+ json.call(payment_source, :id, :external_id, :status, :amount, :expiration, :email, :tax_id, :payment_method_id, :qr_code)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp_dois
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todas Essas Coisas