solidus_mp_dois 0.0.12 → 0.0.13

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: 74e7c22a9ffdc640e96a03feaa6c0861e27bbb9dca376665a0712728a322374b
4
- data.tar.gz: 034cedccb5784dc40a60d1380c65af9605b620b0d97acfe043b05a6d3c18a8ad
3
+ metadata.gz: '0926eff6dae3c609d064fa086107ae6f6062997332e07684ea58eee548a3d853'
4
+ data.tar.gz: e4feaed3314e1b037321c11500067e5362519ace502e62aeabeadc7283acfdc0
5
5
  SHA512:
6
- metadata.gz: 9c407881be2d45eee817d5eb092d9594f61d009e0bce234ce77cdb130116d635bdae77b335ace42d103dbf1e8906ae69887980825ce78d718ccfb6d49193f08f
7
- data.tar.gz: b6071db18ddd76e2acbf53e37cb18590a600df4c8d72206d53a7c5e7f962a4dbdb294cad80474c67f5b90187d83b5ea5048b937757a86cdc2e95db771bda9746
6
+ metadata.gz: 07dea6d4c7910b9e451100d590483c3519d823b2f086704fca23037e672a26cd6f0784135b58f1f6806d0af99cf0a9860740871ab0331ecddde7490a3e22cbef
7
+ data.tar.gz: 64dd6c53d1c9a4968849e6d52aad79a6899b5515054309b5d59e1a025ce5996da0ab82c0a1c0a9f8f186b8820b11576ddd4ef7b57c50b4a21b0a574efc57d8f6
@@ -8,7 +8,7 @@
8
8
 
9
9
  <div class="field">
10
10
  <%= label_tag :external_id, "ID" %>
11
- <%= text_field_tag :txid, payment.source.external_id, class:"fullwidth", disabled: true %>
11
+ <%= text_field_tag :external_id, payment.source.external_id, class:"fullwidth", disabled: true %>
12
12
  </div>
13
13
 
14
14
  <div class="field">
@@ -45,7 +45,7 @@
45
45
 
46
46
  <div class="field">
47
47
  <%= label_tag :card_brand, "Bandeira" %>
48
- <%= text_field_tag :card_brand, payment.source.card_brand.upcase, class:"fullwidth", disabled: true %>
48
+ <%= text_field_tag :card_brand, payment.source.try(:card_brand)&.upcase, class:"fullwidth", disabled: true %>
49
49
  </div>
50
50
 
51
51
  <div class="field">
@@ -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.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.try(: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
 
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp_dois
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todas Essas Coisas
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2024-12-17 00:00:00.000000000 Z
@@ -72,7 +72,7 @@ files:
72
72
  homepage: https://github.com/todasessascoisas/solidus_mp_dois
73
73
  licenses: []
74
74
  metadata: {}
75
- post_install_message:
75
+ post_install_message:
76
76
  rdoc_options: []
77
77
  require_paths:
78
78
  - lib
@@ -87,8 +87,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubygems_version: 3.5.10
91
- signing_key:
90
+ rubygems_version: 3.5.3
91
+ signing_key:
92
92
  specification_version: 4
93
93
  summary: ''
94
94
  test_files: []