afipws 1.3.0 → 1.3.1

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
  SHA1:
3
- metadata.gz: e083e48130414df572623a49024d5d68fc169d57
4
- data.tar.gz: c87895059bef97f564ecd82e59771a6569c6b011
3
+ metadata.gz: a7dec54b94e08d4b72c28b6a2167f05f8a440b7a
4
+ data.tar.gz: d1bc809d14736f51baf59acc9f3d511a8d117b5e
5
5
  SHA512:
6
- metadata.gz: 9beb54c5fd1c0a08c829735cd8fb05edac37a50333eccdbab3517103eb453a9804324e2293936d2af43e42d868a198c1606c4de84bb81e0e35d52cf099a689ab
7
- data.tar.gz: 91069cf8b299dfb59c6e1eac27d7ac3fbe4748f89682e6a4bca049f0fc8669d949292c8a384e9aa7578723928c3ad564d29eb270a4f6f1fc6665c0439e8d7cee
6
+ metadata.gz: 7562aa9ed71ad320ff060ce781d4ea7e311b17d787588395905985caec8e869aa237aabfd932fee7106ec3cbce6465851cf7999f91ee1de56f2cf8da71f49764
7
+ data.tar.gz: 630d69e50358f5804a98c519ffa90925c9cbd98f34746e4a77e07e47ceb0dab6101d528f9bde099cc7fdd7315a2bcd2da98e3e6b54b248739d060c3c50808427
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- afipws (1.3.0)
4
+ afipws (1.3.1)
5
5
  activesupport
6
6
  builder
7
7
  nokogiri
@@ -59,7 +59,7 @@ GEM
59
59
  mocha (0.9.10)
60
60
  rake
61
61
  nenv (0.3.0)
62
- nokogiri (1.10.4)
62
+ nokogiri (1.10.8)
63
63
  mini_portile2 (~> 2.4.0)
64
64
  nori (2.6.0)
65
65
  notiffany (0.1.1)
@@ -77,7 +77,7 @@ GEM
77
77
  pry (~> 0.10)
78
78
  rack (2.0.8)
79
79
  rainbow (3.0.0)
80
- rake (10.4.2)
80
+ rake (13.0.1)
81
81
  rb-fsevent (0.10.3)
82
82
  rb-inotify (0.9.10)
83
83
  ffi (>= 0.5.0, < 2)
@@ -136,4 +136,4 @@ DEPENDENCIES
136
136
  rubocop
137
137
 
138
138
  BUNDLED WITH
139
- 1.16.2
139
+ 2.1.4
@@ -21,7 +21,7 @@ module Afipws
21
21
 
22
22
  def get_persona id
23
23
  message = @wsaa.auth.merge(cuitRepresentada: @cuit, idPersona: id)
24
- request(:get_persona, message)[:persona_return][:datos_generales]
24
+ request(:get_persona, message)[:persona_return]
25
25
  end
26
26
 
27
27
  private
@@ -1,3 +1,3 @@
1
1
  module Afipws
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
@@ -16,7 +16,7 @@ module Afipws
16
16
  savon.expects(:get_persona)
17
17
  .with(message: message.merge(idPersona: '98765432198'))
18
18
  .returns(fixture('ws_sr_padron_a5/get_persona/success'))
19
- ws.get_persona('98765432198').should include apellido: 'ALEXA'
19
+ ws.get_persona('98765432198').should have_key :datos_generales
20
20
  end
21
21
  end
22
22
  end
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: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emmanuel Nicolau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-13 00:00:00.000000000 Z
11
+ date: 2020-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
271
  version: '0'
272
272
  requirements: []
273
273
  rubyforge_project: afipws
274
- rubygems_version: 2.5.1
274
+ rubygems_version: 2.5.2
275
275
  signing_key:
276
276
  specification_version: 4
277
277
  summary: Ruby client para los web services de la AFIP