trackerific 0.5.3 → 0.5.4
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.
- data/VERSION +1 -1
- data/lib/trackerific/services/usps.rb +2 -2
- data/trackerific.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.4
|
|
@@ -9,7 +9,7 @@ module Trackerific
|
|
|
9
9
|
# setup HTTParty
|
|
10
10
|
include HTTParty
|
|
11
11
|
format :xml
|
|
12
|
-
base_uri Rails.env.production? ? "
|
|
12
|
+
base_uri Rails.env.production? ? "http://production.shippingapis.com" : "http://testing.shippingapis.com"
|
|
13
13
|
|
|
14
14
|
class << self
|
|
15
15
|
# An Array of Regexp that matches valid USPS package IDs
|
|
@@ -65,7 +65,7 @@ module Trackerific
|
|
|
65
65
|
date = DateTime.parse(d[0..3].join(" "))
|
|
66
66
|
desc = d[4..d.length].join(" ")
|
|
67
67
|
details << Trackerific::Event.new(date, desc, "")
|
|
68
|
-
end
|
|
68
|
+
end unless tracking_info['TrackDetail'].nil?
|
|
69
69
|
# return the details
|
|
70
70
|
Trackerific::Details.new(
|
|
71
71
|
tracking_info['ID'],
|
data/trackerific.gemspec
CHANGED
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.5.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Travis Haynes
|
|
@@ -239,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
239
239
|
requirements:
|
|
240
240
|
- - ">="
|
|
241
241
|
- !ruby/object:Gem::Version
|
|
242
|
-
hash:
|
|
242
|
+
hash: -838362479169857962
|
|
243
243
|
segments:
|
|
244
244
|
- 0
|
|
245
245
|
version: "0"
|