correios-sro 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/LICENSE +1 -1
  2. data/README.rdoc +1 -1
  3. data/lib/track.rb +4 -4
  4. metadata +30 -36
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Caio Tarifa
1
+ Copyright (c) 2011 Formaweb
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = Correios SRO
2
2
 
3
- Tracking object system from Correios (Brazil)
3
+ Tracking object system from Correios (Brazil).
4
4
 
5
5
  == Install
6
6
 
data/lib/track.rb CHANGED
@@ -1,22 +1,22 @@
1
1
  class Track
2
2
  attr_reader :number, :status
3
-
3
+
4
4
  def initialize(number)
5
5
  @number = number
6
6
  @status = Array.new
7
7
  end
8
-
8
+
9
9
  def <<(status)
10
10
  @status << status
11
11
  @status.sort! do |a, b|
12
12
  a.date <=> b.date
13
13
  end
14
14
  end
15
-
15
+
16
16
  def first
17
17
  @status.first
18
18
  end
19
-
19
+
20
20
  def last
21
21
  @status.last
22
22
  end
metadata CHANGED
@@ -1,68 +1,62 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: correios-sro
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.3
4
5
  prerelease:
5
- version: 2.0.2
6
6
  platform: ruby
7
- authors:
8
- - Caio Tarifa
7
+ authors:
8
+ - Formaweb
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-02 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-09 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: nokogiri
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70274336513220 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
20
+ - !ruby/object:Gem::Version
23
21
  version: 1.4.4
24
22
  type: :runtime
25
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70274336513220
26
25
  description: Tracking object system from Correios (Brazil).
27
- email: contato@caiotarifa.com
26
+ email: tecnologia@formaweb.com.br
28
27
  executables: []
29
-
30
28
  extensions: []
31
-
32
- extra_rdoc_files:
29
+ extra_rdoc_files:
33
30
  - README.rdoc
34
- files:
31
+ files:
35
32
  - README.rdoc
36
33
  - LICENSE
37
34
  - lib/correios-sro.rb
38
35
  - lib/status.rb
39
36
  - lib/track.rb
40
- homepage: http://github.com/caiotarifa/correios-sro
37
+ homepage: http://github.com/formaweb/correios-sro
41
38
  licenses: []
42
-
43
39
  post_install_message:
44
- rdoc_options:
40
+ rdoc_options:
45
41
  - --charset=UTF-8
46
- require_paths:
42
+ require_paths:
47
43
  - - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
44
+ required_ruby_version: !ruby/object:Gem::Requirement
49
45
  none: false
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: "0"
54
- required_rubygems_version: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
50
+ required_rubygems_version: !ruby/object:Gem::Requirement
55
51
  none: false
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: "0"
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
60
56
  requirements: []
61
-
62
57
  rubyforge_project:
63
- rubygems_version: 1.7.2
58
+ rubygems_version: 1.8.5
64
59
  signing_key:
65
60
  specification_version: 3
66
61
  summary: Tracking object system from Correios (Brazil).
67
62
  test_files: []
68
-