correios-sro-xml 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +5 -2
- data/lib/correios/sro/tracker.rb +1 -1
- data/lib/correios/sro/version.rb +1 -1
- data/spec/correios/sro/tracker_spec.rb +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f21ec9834de91823e94f0a5ec26e6df2720e74a
|
4
|
+
data.tar.gz: 598278274cbade71440cc9fd9c8633662896bfbc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6096c528bec14922417ea7329bef0fa52250857dd0096985f4072763acecfa576ff7cb2b27b324fe2716f6ac3753991827dd8d0ec7ffc7a42bc82ecf6b24c38
|
7
|
+
data.tar.gz: 4c39bf433e71d8d31adabd67ac53a6703e6105390a90a96ee146e236494bcd90d93f9dbd05613a91526db8a7a125b73e3dccfc50adf4315d7f0a3aad11a2dabd
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
== Version 0.3.0
|
2
|
+
- New: {Pull Request #3: Added support to Correios::SRO::Tracker#get to accept a list as argument}[https://github.com/prodis/correios-sro-xml/pull/3].
|
3
|
+
|
1
4
|
== Version 0.2.1
|
2
5
|
- New: User and password can be set on configuration.
|
3
6
|
|
@@ -19,10 +22,10 @@
|
|
19
22
|
- Fix: The correct place to encode is in Parser, not WebService.
|
20
23
|
|
21
24
|
== Version 0.0.3
|
22
|
-
- Fix: {
|
25
|
+
- Fix: {Pull Request #2: Problema de encoding}[https://github.com/prodis/correios-sro-xml/pull/2].
|
23
26
|
|
24
27
|
== Version 0.0.2
|
25
|
-
- Improvement: {
|
28
|
+
- Improvement: {Pull Request #1: Incluindo campo hora}[https://github.com/prodis/correios-sro-xml/pull/1].
|
26
29
|
|
27
30
|
== Version 0.0.1
|
28
31
|
- First version, unstable yet.
|
data/lib/correios/sro/tracker.rb
CHANGED
data/lib/correios/sro/version.rb
CHANGED
@@ -64,6 +64,12 @@ describe Correios::SRO::Tracker do
|
|
64
64
|
context "to many objects" do
|
65
65
|
let(:response) { Fixture.load :sro_many_objects }
|
66
66
|
|
67
|
+
it "accepts a list as argument" do
|
68
|
+
objects = subject.get(["SI047624825BR", "SX104110463BR"])
|
69
|
+
|
70
|
+
expect(objects.size).to eql 2
|
71
|
+
end
|
72
|
+
|
67
73
|
it "sets objects numbers" do
|
68
74
|
subject.get("SI047624825BR", "SX104110463BR")
|
69
75
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: correios-sro-xml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prodis a.k.a. Fernando Hamasaki de Amorim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: log-me
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.
|
200
|
+
rubygems_version: 2.4.8
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Tracking Objects System from Correios - SRO (Sistema de Rastreamento de Objetos
|