snoopy_afip 3.0.3 → 3.0.4

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
- ---
2
- SHA1:
3
- data.tar.gz: c68a0eda02cb8c4cd16f26cef5f03d4b38d2b61d
4
- metadata.gz: ec063b0a05f68d5c95e11dab6fde015a0a11f31c
5
- SHA512:
6
- data.tar.gz: a8c7aba1c7ea8b8f6e706c7bf82b265f00c2cdba381d3d384bb94b0b49f87b2e4f298a00b65efd1171c7f5aa473029d5e6cc8949709fc64813c3a78903f41e41
7
- metadata.gz: e9e98d363f00c9416a19335029bb386dcca684ada3603b008fea92f72c5c320f04b4aeb10acc23db5259b84c221db51e8f330935aee5f55b62ee525e4a49afd8
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e25964d283e53a6ecce44bb9e47da089d46845490b1ccfa86040c491d0c68ae2
4
+ data.tar.gz: f307327754e7409b336b20ce719e833296938c8f82d0e60ef0b03aa160e02b64
5
+ SHA512:
6
+ metadata.gz: 999693f1b1c3f5f9aa943c8718f6e3ffa9faece1afe4f2ee15ada2e836a2bd80864dcd70c14c394909c80a8b185ac72cb04aa8b8ced52a6b59e928f91d85d690
7
+ data.tar.gz: 9366d0c79c6d6a76a95f3ed2251f8e46716ce6213d0f9adffd0dd431f667a161df0626ff4f8ad1eccadf95fc1ac5d1747153eb65af5d739a11d37f83a271f94c
@@ -60,7 +60,7 @@ module Snoopy
60
60
 
61
61
  unless bill.issuer_iva_cond.to_sym == Snoopy::RESPONSABLE_MONOTRIBUTO
62
62
  _alicivas = bill.alicivas.collect do |aliciva|
63
- { 'Id' => Snoopy::ALIC_IVA[aliciva[:id]], 'Importe' => aliciva[:amount], 'BaseImp' => aliciva[:taxeable_base] }
63
+ { 'Id' => Snoopy::ALIC_IVA[aliciva[:id].to_f], 'Importe' => aliciva[:amount], 'BaseImp' => aliciva[:taxeable_base] }
64
64
  end
65
65
  fecaereq["FeCAEReq"]["FeDetReq"]["FECAEDetRequest"]["Iva"] = { "AlicIva" => _alicivas }
66
66
  end
@@ -1,3 +1,3 @@
1
1
  module Snoopy
2
- VERSION = "3.0.3"
2
+ VERSION = "3.0.4"
3
3
  end
metadata CHANGED
@@ -1,78 +1,95 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: snoopy_afip
3
- version: !ruby/object:Gem::Version
4
- version: 3.0.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.0.4
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - g.edera
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2017-06-29 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ date: 2017-06-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
15
14
  name: savon
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: "2.4"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.4'
22
20
  type: :runtime
23
- version_requirements: *id001
24
- - !ruby/object:Gem::Dependency
25
- name: nokogiri
26
21
  prerelease: false
27
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
29
- - - ~>
30
- - !ruby/object:Gem::Version
31
- version: "1.6"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.6'
32
34
  type: :runtime
33
- version_requirements: *id002
34
- - !ruby/object:Gem::Dependency
35
- name: wasabi
36
35
  prerelease: false
37
- requirement: &id003 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ~>
40
- - !ruby/object:Gem::Version
41
- version: "3.2"
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: wasabi
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.2'
42
48
  type: :runtime
43
- version_requirements: *id003
44
- - !ruby/object:Gem::Dependency
45
- name: akami
46
49
  prerelease: false
47
- requirement: &id004 !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ~>
50
- - !ruby/object:Gem::Version
51
- version: "1.2"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.2'
55
+ - !ruby/object:Gem::Dependency
56
+ name: akami
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.2'
52
62
  type: :runtime
53
- version_requirements: *id004
54
- - !ruby/object:Gem::Dependency
55
- name: nori
56
63
  prerelease: false
57
- requirement: &id005 !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: "2.3"
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.2'
69
+ - !ruby/object:Gem::Dependency
70
+ name: nori
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.3'
62
76
  type: :runtime
63
- version_requirements: *id005
64
- description: "Adaptador para Web Service de Facturaci\xC3\xB3n Electr\xC3\xB3nica Argentina (AFIP)"
65
- email:
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.3'
83
+ description: Adaptador para Web Service de Facturación Electrónica Argentina (AFIP)
84
+ email:
66
85
  - gab.edera@gmail.com
67
86
  executables: []
68
-
69
87
  extensions: []
70
-
71
- extra_rdoc_files:
88
+ extra_rdoc_files:
72
89
  - LICENSE.txt
73
90
  - README.textile
74
- files:
75
- - .document
91
+ files:
92
+ - ".document"
76
93
  - CHANGELOG
77
94
  - Gemfile
78
95
  - Gemfile.lock
@@ -98,32 +115,30 @@ files:
98
115
  - spec/spec_helper.rb
99
116
  - wsaa-client.sh
100
117
  homepage: https://github.com/gedera/snoopy_afip
101
- licenses:
118
+ licenses:
102
119
  - MIT
103
120
  metadata: {}
104
-
105
121
  post_install_message:
106
122
  rdoc_options: []
107
-
108
- require_paths:
123
+ require_paths:
109
124
  - lib
110
- required_ruby_version: !ruby/object:Gem::Requirement
111
- requirements:
112
- - &id006
113
- - ">="
114
- - !ruby/object:Gem::Version
115
- version: "0"
116
- required_rubygems_version: !ruby/object:Gem::Requirement
117
- requirements:
118
- - *id006
125
+ required_ruby_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
119
135
  requirements: []
120
-
121
136
  rubyforge_project:
122
- rubygems_version: 2.6.12
137
+ rubygems_version: 2.7.6
123
138
  signing_key:
124
139
  specification_version: 4
125
140
  summary: Adaptador AFIP wsfe.
126
- test_files:
141
+ test_files:
127
142
  - spec/snoopy_afip/authorizer_spec.rb
128
143
  - spec/snoopy_afip/bill_spec.rb
129
144
  - spec/spec_helper.rb