fips-county-codes 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fips-county-codes"
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ray Pereda"]
@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
25
25
  "Rakefile",
26
26
  "VERSION",
27
27
  "fips-county-codes.gemspec",
28
+ "lib/fips_county_codes.rb",
28
29
  "lib/national.txt",
29
- "lib/nist_codes.rb",
30
30
  "test/fips_lookups_spec.rb",
31
31
  "test/helper.rb"
32
32
  ]
@@ -1,4 +1,4 @@
1
- module NistCodes
1
+ module FipsCountyCodes
2
2
  fips = {}
3
3
  state_county = {}
4
4
 
@@ -3,12 +3,12 @@ require_relative 'helper'
3
3
  describe 'Mapping (State, County) between (NISTCodes Code)' do
4
4
  it 'looks up a fips for a state and county' do
5
5
 
6
- NistCodes::FIPS['CA']['Los Angeles'].should == 6037
7
- NistCodes::FIPS['CA']['Los Angeles County'].should == 6037
6
+ FipsCountyCodes::FIPS['CA']['Los Angeles'].should == 6037
7
+ FipsCountyCodes::FIPS['CA']['Los Angeles County'].should == 6037
8
8
 
9
9
  end
10
10
 
11
11
  it 'looks up a state and county' do
12
- NistCodes::STATE_COUNTY[6037].should == ['CA', 'Los Angeles County']
12
+ FipsCountyCodes::STATE_COUNTY[6037].should == ['CA', 'Los Angeles County']
13
13
  end
14
14
  end
@@ -10,4 +10,4 @@ end
10
10
 
11
11
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
12
12
  $LOAD_PATH.unshift(File.dirname(__FILE__))
13
- require 'nist_codes'
13
+ require 'fips_county_codes'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fips-county-codes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,8 +76,8 @@ files:
76
76
  - Rakefile
77
77
  - VERSION
78
78
  - fips-county-codes.gemspec
79
+ - lib/fips_county_codes.rb
79
80
  - lib/national.txt
80
- - lib/nist_codes.rb
81
81
  - test/fips_lookups_spec.rb
82
82
  - test/helper.rb
83
83
  homepage: http://github.com/raypereda/fips-county-codes
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: 1431569481171012525
98
+ hash: -1412392971802506870
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements: