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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dc1e0a0157c5377beab0c664ebec12005b11af97c38e65da93026dd7f87448f
4
- data.tar.gz: 7d38c45b6fcf72a5b22807fceaf0ddad6257a98f2b29932de8f843aceff4d04a
3
+ metadata.gz: 4ee172260d715084b86c871a5ead98885b63b2b0454f01a2e93e6ae92b037e35
4
+ data.tar.gz: 10cd171994c43ac42d125c420be63ba7e5306f83e1b774747800aa4db3d4c73c
5
5
  SHA512:
6
- metadata.gz: 2ff693f6fe6c62cb6345767764a4cf231faf93ceb08f9a3188b38c3d62d8941373ce740fec2d4771b352272dbdd098b534a5f885fb9de7802c0c679067fa54f5
7
- data.tar.gz: 493d8c6ec7bdb1a5da8701450a6cedffec08cab7141856a873246aadf0a466fb11959abdb7fa522d80f9f8516a668e70b71409cdc0b29266333462442a91aced
6
+ metadata.gz: d34a51f182faaa209ee39ce439c6a7826d6f8f992d52e3b657f8d3833c42a88e4ceb733d23165d4bc6afc1d00d8d7f965c51abd6f9bb35232ae07c0061c17e91
7
+ data.tar.gz: 0bae891e43b160928cdeea7840a88ceadfcd27031a53b9df0219935ed67cdfef20e183893abdd2c277829a696bb2dde734ade9cffcb408b18d04d4144d844f84
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- br_danfe (0.13.1)
4
+ br_danfe (0.13.2)
5
5
  barby (= 0.5.1)
6
6
  br_documents (>= 0.1.3)
7
7
  i18n (>= 0.8.6)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = '0.13.1'.freeze
2
+ VERSION = '0.13.2'.freeze
3
3
  end
@@ -8,6 +8,11 @@ describe BrDanfe::Danfe do
8
8
  <infNFe>
9
9
  <ide>
10
10
  <mod>#{mod}</mod>
11
+ <NFref>
12
+ <refNFP>
13
+ <mod>04</mod>
14
+ </refNFP>
15
+ </NFref>
11
16
  </ide>
12
17
  </infNFe>
13
18
  </NFe>
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.1
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-06 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: barby