trackerific 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
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? ? "https://secure.shippingapis.com" : "http://testing.shippingapis.com"
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{trackerific}
8
- s.version = "0.5.3"
8
+ s.version = "0.5.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Travis Haynes"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 3
9
- version: 0.5.3
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: 4454713478306083063
242
+ hash: -838362479169857962
243
243
  segments:
244
244
  - 0
245
245
  version: "0"