correios-sro 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/correios-sro.rb +1 -1
  3. metadata +1 -1
data/README.rdoc CHANGED
@@ -19,7 +19,7 @@ Tracking object system from Correios (Brazil)
19
19
  package.status.each do |status|
20
20
  puts status.date
21
21
  puts status.place
22
- puts status.status
22
+ puts status.track
23
23
  puts status.details
24
24
  end
25
25
 
data/lib/correios-sro.rb CHANGED
@@ -27,7 +27,7 @@ class CorreiosSRO
27
27
  track << Status.new.tap { |s|
28
28
  s.date = DateTime.strptime(value.search('data').inner_text, '%d/%m/%Y %H:%M')
29
29
  s.place = value.search('local').inner_text
30
- s.status = value.search('situacao').inner_text
30
+ s.track = value.search('situacao').inner_text
31
31
  s.details = value.search('detalhes').inner_text
32
32
  }
33
33
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: correios-sro
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.0
5
+ version: 1.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Caio Tarifa