geolookup 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.
@@ -1,3 +1,3 @@
1
1
  module Geolookup
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
@@ -1,6 +1,5 @@
1
1
  describe "Geolookup::USA::State" do
2
- let :state_lat_long do Geolookup::USA::State::STATE_LAT_LONG[1] end
3
-
2
+ let :state_lat_long do Geolookup::USA::State.name_to_lat_long("Alabama") end
4
3
  describe "#code_to_name" do
5
4
  it "should return a state name if state code matches" do
6
5
  expect(Geolookup::USA::State.code_to_name(1)).to eql("Alabama")
@@ -128,4 +127,4 @@ describe "Geolookup::USA::State" do
128
127
  expect(Geolookup::USA::State.code_to_lat_long("asdf")).to be_nil
129
128
  end
130
129
  end
131
- end
130
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geolookup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Fonacier
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-25 00:00:00.000000000 Z
12
+ date: 2014-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -70,6 +70,19 @@ files:
70
70
  - README.md
71
71
  - Rakefile
72
72
  - geolookup.gemspec
73
+ - lib/data/COUNTRY_CODE_TO_NAME.yml
74
+ - lib/data/COUNTRY_LAT_LONG.yml
75
+ - lib/data/COUNTRY_NAME_TO_CODE.yml
76
+ - lib/data/COUNTY_CODE_TO_NAME.yml
77
+ - lib/data/COUNTY_IGNORED_STATES.yml
78
+ - lib/data/COUNTY_LAT_LONG.yml
79
+ - lib/data/COUNTY_NAME_TO_CODE.yml
80
+ - lib/data/STATE_CODE_TO_DISPLAY_NAME.yml
81
+ - lib/data/STATE_CODE_TO_FULL.yml
82
+ - lib/data/STATE_CODE_TO_STATE.yml
83
+ - lib/data/STATE_FULL_STATE_NAMES.yml
84
+ - lib/data/STATE_LAT_LONG.yml
85
+ - lib/data/STATE_NAME_TO_CODE.yml
73
86
  - lib/geolookup.rb
74
87
  - lib/geolookup/country.rb
75
88
  - lib/geolookup/usa/county.rb