br_invoices_pdf 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/br_invoices_pdf/nfce/parser/emission_details.rb +5 -1
- data/lib/br_invoices_pdf/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: 4db27e960365ab38cc03f0174e028dae88695614
|
4
|
+
data.tar.gz: c7010dc175297fa2f1144ee8f494666fc378ecd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a61e51e4ae2eec0178d0d5926888e6d4c029ac22015b61f9b0dca9748244695bb3e3f23d2494fdd6b7472e781d21c4116a7061bcd0e7dd38550af09b8490b881
|
7
|
+
data.tar.gz: 8fef4ffb173e94d7cae3e436e225b3c676935412a1eba1d575ea006e9317acc37af832cb5fc1755d12082100acb908151bffe29df67120f30cb99058993ebb4b
|
data/CHANGELOG.md
CHANGED
@@ -63,7 +63,11 @@ module BrInvoicesPdf
|
|
63
63
|
private_class_method :check_url
|
64
64
|
|
65
65
|
def locate_element_to_date(xml, path)
|
66
|
-
|
66
|
+
element = locate_element(xml, path)
|
67
|
+
|
68
|
+
Time.parse(element).utc
|
69
|
+
rescue StandardError => _e
|
70
|
+
Time.parse("#{element[0..18]}-03:00").utc
|
67
71
|
end
|
68
72
|
private_class_method :locate_element_to_date
|
69
73
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_invoices_pdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thiago Ribeiro
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: barby
|