afipws 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.envrc +2 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +16 -11
- data/.ruby-version +1 -1
- data/.travis.yml +1 -1
- data/{lib/CHANGELOG.md → CHANGELOG.md} +1 -1
- data/Gemfile.lock +52 -62
- data/README.md +1 -1
- data/afipws.gemspec +2 -3
- data/lib/afipws/version.rb +1 -1
- data/shell.nix +6 -0
- data/spec/spec_helper.rb +0 -1
- metadata +12 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c62722b5dadabc183a975922b0177b63d8bce82c24fafdd35e74240856b25d8e
|
4
|
+
data.tar.gz: b1a0f1ce2a252d730fee01a0830fc3d2142b50df33c13864b95854bdffa856ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 969630cf2f9cb2b9ae629a61f0c0cdfe79832825ea6a6fe43745d341b5b29b1117ce230567ed0e9fd27ff22f73936135bf1c4cfc6aed856fb5090ec1eeadd9eb
|
7
|
+
data.tar.gz: 4601ea842fcd9d84ed968fd6e8a0d11e7304353b92782dfe79ad18d6894d8c8eada013b893d8ea0f424ac004722cee6edd9e879513204d7cb354321dfb16ad75
|
data/.envrc
ADDED
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -46,9 +46,6 @@ Style/Next:
|
|
46
46
|
Style/NumericPredicate:
|
47
47
|
Enabled: false
|
48
48
|
|
49
|
-
Style/NumericLiterals:
|
50
|
-
Enabled: false
|
51
|
-
|
52
49
|
Style/SymbolArray:
|
53
50
|
Enabled: false
|
54
51
|
|
@@ -58,19 +55,31 @@ Style/MutableConstant:
|
|
58
55
|
Style/RescueModifier:
|
59
56
|
Enabled: false
|
60
57
|
|
58
|
+
Style/HashEachMethods:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
Style/HashTransformKeys:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
Style/HashTransformValues:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Layout/LineLength:
|
68
|
+
Max: 120
|
69
|
+
|
61
70
|
Layout/SpaceInsideHashLiteralBraces:
|
62
71
|
Enabled: false
|
63
72
|
|
64
73
|
Layout/MultilineMethodCallIndentation:
|
65
74
|
Enabled: false
|
66
75
|
|
67
|
-
Layout/
|
76
|
+
Layout/TrailingEmptyLines:
|
68
77
|
Enabled: false
|
69
78
|
|
70
|
-
Layout/
|
79
|
+
Layout/FirstArrayElementIndentation:
|
71
80
|
EnforcedStyle: consistent
|
72
81
|
|
73
|
-
Layout/
|
82
|
+
Layout/ParameterAlignment:
|
74
83
|
EnforcedStyle: with_fixed_indentation
|
75
84
|
|
76
85
|
Layout/SpaceInLambdaLiteral:
|
@@ -82,10 +91,6 @@ Metrics:
|
|
82
91
|
Bundler:
|
83
92
|
Enabled: false
|
84
93
|
|
85
|
-
Lint/Void:
|
86
|
-
Exclude:
|
87
|
-
- spec/**/*.rb
|
88
|
-
|
89
94
|
Lint/AssignmentInCondition:
|
90
95
|
Enabled: false
|
91
96
|
|
@@ -101,5 +106,5 @@ Lint/AmbiguousOperator:
|
|
101
106
|
Lint/AmbiguousBlockAssociation:
|
102
107
|
Enabled: false
|
103
108
|
|
104
|
-
Naming/
|
109
|
+
Naming/MethodParameterName:
|
105
110
|
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5
|
1
|
+
2.7.5
|
data/.travis.yml
CHANGED
@@ -13,4 +13,4 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
|
|
13
13
|
|
14
14
|
### Changed
|
15
15
|
|
16
|
-
- Rename Afipws::WSError to Afipws::Error
|
16
|
+
- Rename `Afipws::WSError` to `Afipws::Error`, and create subclasses to distinguish between different types of errors.
|
data/Gemfile.lock
CHANGED
@@ -1,42 +1,40 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
afipws (2.
|
4
|
+
afipws (2.1.0)
|
5
5
|
activesupport
|
6
6
|
builder
|
7
7
|
httpclient
|
8
8
|
nokogiri
|
9
|
-
savon (~> 2.
|
9
|
+
savon (~> 2.12.0)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: http://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (
|
14
|
+
activesupport (7.0.2.2)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
-
i18n (>=
|
17
|
-
minitest (
|
18
|
-
tzinfo (~>
|
19
|
-
|
20
|
-
addressable (2.7.0)
|
16
|
+
i18n (>= 1.6, < 2)
|
17
|
+
minitest (>= 5.1)
|
18
|
+
tzinfo (~> 2.0)
|
19
|
+
addressable (2.8.0)
|
21
20
|
public_suffix (>= 2.0.2, < 5.0)
|
22
21
|
akami (1.3.1)
|
23
22
|
gyoku (>= 0.4.0)
|
24
23
|
nokogiri
|
25
|
-
ast (2.4.
|
24
|
+
ast (2.4.2)
|
26
25
|
builder (3.2.4)
|
27
|
-
|
28
|
-
|
29
|
-
concurrent-ruby (1.1.7)
|
26
|
+
coderay (1.1.3)
|
27
|
+
concurrent-ruby (1.1.9)
|
30
28
|
diff-lcs (1.3)
|
31
|
-
ffi (1.
|
32
|
-
formatador (
|
33
|
-
guard (2.
|
29
|
+
ffi (1.15.5)
|
30
|
+
formatador (1.1.0)
|
31
|
+
guard (2.18.0)
|
34
32
|
formatador (>= 0.2.4)
|
35
33
|
listen (>= 2.7, < 4.0)
|
36
34
|
lumberjack (>= 1.0.12, < 2.0)
|
37
35
|
nenv (~> 0.1)
|
38
36
|
notiffany (~> 0.0)
|
39
|
-
pry (>= 0.
|
37
|
+
pry (>= 0.13.0)
|
40
38
|
shellany (~> 0.0)
|
41
39
|
thor (>= 0.18.1)
|
42
40
|
guard-compat (1.2.1)
|
@@ -47,46 +45,42 @@ GEM
|
|
47
45
|
gyoku (1.3.1)
|
48
46
|
builder (>= 2.1.2)
|
49
47
|
httpclient (2.8.3)
|
50
|
-
httpi (2.
|
48
|
+
httpi (2.5.0)
|
51
49
|
rack
|
52
50
|
socksify
|
53
|
-
i18n (1.
|
51
|
+
i18n (1.10.0)
|
54
52
|
concurrent-ruby (~> 1.0)
|
55
|
-
jaro_winkler (1.5.
|
56
|
-
listen (3.1
|
57
|
-
rb-fsevent (~> 0.
|
58
|
-
rb-inotify (~> 0.9, >= 0.9.
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
mini_portile2 (2.4.0)
|
63
|
-
minitest (5.14.2)
|
53
|
+
jaro_winkler (1.5.4)
|
54
|
+
listen (3.7.1)
|
55
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
56
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
57
|
+
lumberjack (1.2.8)
|
58
|
+
method_source (1.0.0)
|
59
|
+
minitest (5.15.0)
|
64
60
|
mocha (0.9.10)
|
65
61
|
rake
|
66
62
|
nenv (0.3.0)
|
67
|
-
nokogiri (1.
|
68
|
-
|
63
|
+
nokogiri (1.13.1-arm64-darwin)
|
64
|
+
racc (~> 1.4)
|
69
65
|
nori (2.6.0)
|
70
|
-
notiffany (0.1.
|
66
|
+
notiffany (0.1.3)
|
71
67
|
nenv (~> 0.1)
|
72
68
|
shellany (~> 0.0)
|
73
|
-
parallel (1.
|
74
|
-
parser (
|
75
|
-
ast (~> 2.4.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
byebug (~> 11.0)
|
82
|
-
pry (~> 0.10)
|
83
|
-
public_suffix (4.0.5)
|
69
|
+
parallel (1.21.0)
|
70
|
+
parser (3.1.0.0)
|
71
|
+
ast (~> 2.4.1)
|
72
|
+
pry (0.14.1)
|
73
|
+
coderay (~> 1.1)
|
74
|
+
method_source (~> 1.0)
|
75
|
+
public_suffix (4.0.6)
|
76
|
+
racc (1.6.0)
|
84
77
|
rack (2.2.3)
|
85
|
-
rainbow (3.
|
78
|
+
rainbow (3.1.1)
|
86
79
|
rake (13.0.1)
|
87
|
-
rb-fsevent (0.
|
88
|
-
rb-inotify (0.
|
89
|
-
ffi (
|
80
|
+
rb-fsevent (0.11.1)
|
81
|
+
rb-inotify (0.10.1)
|
82
|
+
ffi (~> 1.0)
|
83
|
+
rexml (3.2.5)
|
90
84
|
rspec (3.7.0)
|
91
85
|
rspec-core (~> 3.7.0)
|
92
86
|
rspec-expectations (~> 3.7.0)
|
@@ -100,36 +94,33 @@ GEM
|
|
100
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
95
|
rspec-support (~> 3.7.0)
|
102
96
|
rspec-support (3.7.1)
|
103
|
-
rubocop (0.
|
97
|
+
rubocop (0.80.1)
|
104
98
|
jaro_winkler (~> 1.5.1)
|
105
99
|
parallel (~> 1.10)
|
106
|
-
parser (>= 2.
|
107
|
-
powerpack (~> 0.1)
|
100
|
+
parser (>= 2.7.0.1)
|
108
101
|
rainbow (>= 2.2.2, < 4.0)
|
102
|
+
rexml
|
109
103
|
ruby-progressbar (~> 1.7)
|
110
|
-
unicode-display_width (
|
111
|
-
ruby-progressbar (1.
|
112
|
-
|
113
|
-
savon (2.11.2)
|
104
|
+
unicode-display_width (>= 1.4.0, < 1.7)
|
105
|
+
ruby-progressbar (1.11.0)
|
106
|
+
savon (2.12.1)
|
114
107
|
akami (~> 1.2)
|
115
108
|
builder (>= 2.1.2)
|
116
109
|
gyoku (~> 1.2)
|
117
110
|
httpi (~> 2.3)
|
118
|
-
nokogiri (>= 1.
|
111
|
+
nokogiri (>= 1.8.1)
|
119
112
|
nori (~> 2.4)
|
120
113
|
wasabi (~> 3.4)
|
121
114
|
shellany (0.0.1)
|
122
115
|
socksify (1.7.1)
|
123
|
-
thor (
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
wasabi (3.6.1)
|
116
|
+
thor (1.2.1)
|
117
|
+
tzinfo (2.0.4)
|
118
|
+
concurrent-ruby (~> 1.0)
|
119
|
+
unicode-display_width (1.6.1)
|
120
|
+
wasabi (3.7.0)
|
129
121
|
addressable
|
130
122
|
httpi (~> 2.0)
|
131
123
|
nokogiri (>= 1.4.2)
|
132
|
-
zeitwerk (2.4.0)
|
133
124
|
|
134
125
|
PLATFORMS
|
135
126
|
ruby
|
@@ -139,9 +130,8 @@ DEPENDENCIES
|
|
139
130
|
guard-rspec
|
140
131
|
mocha
|
141
132
|
pry
|
142
|
-
pry-byebug
|
143
133
|
rspec
|
144
|
-
rubocop
|
134
|
+
rubocop (~> 0.80.0)
|
145
135
|
|
146
136
|
BUNDLED WITH
|
147
137
|
2.1.4
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Ruby client para los web services de la AFIP.
|
4
4
|
|
5
|
-
[![Build Status](https://travis-ci.
|
5
|
+
[![Build Status](https://app.travis-ci.com/eeng/afipws.svg?branch=master)](https://app.travis-ci.com/eeng/afipws)
|
6
6
|
|
7
7
|
## Servicios Disponibles
|
8
8
|
|
data/afipws.gemspec
CHANGED
@@ -21,11 +21,10 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_development_dependency 'rspec'
|
22
22
|
s.add_development_dependency 'mocha'
|
23
23
|
s.add_development_dependency 'guard-rspec'
|
24
|
-
s.add_development_dependency 'rubocop'
|
24
|
+
s.add_development_dependency 'rubocop', '~> 0.80.0'
|
25
25
|
s.add_development_dependency 'pry'
|
26
|
-
s.add_development_dependency 'pry-byebug'
|
27
26
|
s.add_dependency "builder"
|
28
|
-
s.add_dependency "savon", '~> 2.
|
27
|
+
s.add_dependency "savon", '~> 2.12.0'
|
29
28
|
s.add_dependency "httpclient"
|
30
29
|
s.add_dependency "nokogiri"
|
31
30
|
s.add_dependency "activesupport"
|
data/lib/afipws/version.rb
CHANGED
data/shell.nix
ADDED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: afipws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emmanuel Nicolau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 1980-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.80.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.80.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: pry
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: pry-byebug
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: builder
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +100,14 @@ dependencies:
|
|
114
100
|
requirements:
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
103
|
+
version: 2.12.0
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.
|
110
|
+
version: 2.12.0
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: httpclient
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,11 +158,13 @@ executables:
|
|
172
158
|
extensions: []
|
173
159
|
extra_rdoc_files: []
|
174
160
|
files:
|
161
|
+
- ".envrc"
|
175
162
|
- ".gitignore"
|
176
163
|
- ".rspec"
|
177
164
|
- ".rubocop.yml"
|
178
165
|
- ".ruby-version"
|
179
166
|
- ".travis.yml"
|
167
|
+
- CHANGELOG.md
|
180
168
|
- Gemfile
|
181
169
|
- Gemfile.lock
|
182
170
|
- Guardfile
|
@@ -185,7 +173,6 @@ files:
|
|
185
173
|
- Rakefile
|
186
174
|
- afipws.gemspec
|
187
175
|
- bin/console
|
188
|
-
- lib/CHANGELOG.md
|
189
176
|
- lib/afipws.rb
|
190
177
|
- lib/afipws/client.rb
|
191
178
|
- lib/afipws/core_ext/hash.rb
|
@@ -202,6 +189,7 @@ files:
|
|
202
189
|
- lib/afipws/ws_constancia_inscripcion.rb
|
203
190
|
- lib/afipws/wsaa.rb
|
204
191
|
- lib/afipws/wsfe.rb
|
192
|
+
- shell.nix
|
205
193
|
- spec/afipws/client_spec.rb
|
206
194
|
- spec/afipws/core_ext/hash_spec.rb
|
207
195
|
- spec/afipws/persona_service_a100_spec.rb
|
@@ -291,8 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
291
279
|
- !ruby/object:Gem::Version
|
292
280
|
version: '0'
|
293
281
|
requirements: []
|
294
|
-
|
295
|
-
rubygems_version: 2.7.3
|
282
|
+
rubygems_version: 3.2.26
|
296
283
|
signing_key:
|
297
284
|
specification_version: 4
|
298
285
|
summary: Ruby client para los web services de la AFIP
|