carrier_info 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/carrier_info/sources/safer.rb +4 -3
- data/lib/carrier_info/version.rb +1 -1
- metadata +2 -2
@@ -177,9 +177,10 @@ module CarrierInfo
|
|
177
177
|
end
|
178
178
|
|
179
179
|
def parse_out_of_service_date
|
180
|
-
parse_standard_info_field("Out of Service Date")
|
181
|
-
|
182
|
-
|
180
|
+
date_parts = parse_standard_info_field("Out of Service Date").split("/").collect(&:to_i)
|
181
|
+
if date_parts.count == 3
|
182
|
+
Date.new(date_parts[2], date_parts[0], date_parts[1]) if date_parts.count == 3
|
183
|
+
end
|
183
184
|
end
|
184
185
|
|
185
186
|
def parse_safer_active
|
data/lib/carrier_info/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carrier_info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|