br_danfe 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/br_danfe/danfe.rb +1 -1
- data/lib/br_danfe/version.rb +1 -1
- data/spec/br_danfe/danfe_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ee172260d715084b86c871a5ead98885b63b2b0454f01a2e93e6ae92b037e35
|
4
|
+
data.tar.gz: 10cd171994c43ac42d125c420be63ba7e5306f83e1b774747800aa4db3d4c73c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d34a51f182faaa209ee39ce439c6a7826d6f8f992d52e3b657f8d3833c42a88e4ceb733d23165d4bc6afc1d00d8d7f965c51abd6f9bb35232ae07c0061c17e91
|
7
|
+
data.tar.gz: 0bae891e43b160928cdeea7840a88ceadfcd27031a53b9df0219935ed67cdfef20e183893abdd2c277829a696bb2dde734ade9cffcb408b18d04d4144d844f84
|
data/Gemfile.lock
CHANGED
data/lib/br_danfe/danfe.rb
CHANGED
@@ -6,7 +6,7 @@ module BrDanfe
|
|
6
6
|
|
7
7
|
def self.create_danfe(xml)
|
8
8
|
nfe_code = '55'
|
9
|
-
xml['mod'] == nfe_code ? DanfeLib::Nfe.new(xml) : DanfeLib::Nfce.new(xml)
|
9
|
+
xml['ide > mod'] == nfe_code ? DanfeLib::Nfe.new(xml) : DanfeLib::Nfce.new(xml)
|
10
10
|
end
|
11
11
|
private_class_method :create_danfe
|
12
12
|
end
|
data/lib/br_danfe/version.rb
CHANGED
data/spec/br_danfe/danfe_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_danfe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ASSEINFO
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: barby
|