fips-county-codes 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +71 -26
- data/LICENSE.txt +1 -1
- data/README.rdoc +6 -17
- data/Rakefile +7 -2
- data/VERSION +1 -1
- data/fips-county-codes.gemspec +29 -27
- metadata +27 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ec7abb04494b745ac169f878cafddb30beaa6893
|
4
|
+
data.tar.gz: f6e716ed9b1d24111dbbf435f768acf8d4fb47bd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 808b8e81c6d3feecb392380b33916d34dc831c81d74018250dc353db869d745a37107e35a1d2e76de783a18751bb9a078aa3900d0ef6aaa9b3e125b82072b424
|
7
|
+
data.tar.gz: 7f4aadafa23a6718ac305c8538a71b01ccaf983ba00a89dabfd2ba78570db69c10d3834b4c30a904ba3cb6b317cfbed1cc50c7d0ebd807a1e5a3633446571054
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,41 +1,86 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
addressable (2.4.0)
|
5
|
+
builder (3.2.3)
|
6
|
+
coderay (1.1.1)
|
7
|
+
descendants_tracker (0.0.4)
|
8
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
+
diff-lcs (1.3)
|
10
|
+
faraday (0.9.2)
|
11
|
+
multipart-post (>= 1.2, < 3)
|
12
|
+
git (1.3.0)
|
13
|
+
github_api (0.16.0)
|
14
|
+
addressable (~> 2.4.0)
|
15
|
+
descendants_tracker (~> 0.0.4)
|
16
|
+
faraday (~> 0.8, < 0.10)
|
17
|
+
hashie (>= 3.4)
|
18
|
+
mime-types (>= 1.16, < 3.0)
|
19
|
+
oauth2 (~> 1.0)
|
20
|
+
hashie (3.5.6)
|
21
|
+
highline (1.7.8)
|
22
|
+
jeweler (2.3.7)
|
23
|
+
builder
|
24
|
+
bundler (>= 1)
|
9
25
|
git (>= 1.2.5)
|
26
|
+
github_api (~> 0.16.0)
|
27
|
+
highline (>= 1.6.15)
|
28
|
+
nokogiri (>= 1.5.10)
|
29
|
+
psych (~> 2.2)
|
10
30
|
rake
|
11
31
|
rdoc
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
+
semver2
|
33
|
+
jwt (1.5.6)
|
34
|
+
method_source (0.8.2)
|
35
|
+
mime-types (2.99.3)
|
36
|
+
mini_portile2 (2.2.0)
|
37
|
+
multi_json (1.12.1)
|
38
|
+
multi_xml (0.6.0)
|
39
|
+
multipart-post (2.0.0)
|
40
|
+
nokogiri (1.8.0)
|
41
|
+
mini_portile2 (~> 2.2.0)
|
42
|
+
oauth2 (1.4.0)
|
43
|
+
faraday (>= 0.8, < 0.13)
|
44
|
+
jwt (~> 1.0)
|
45
|
+
multi_json (~> 1.3)
|
46
|
+
multi_xml (~> 0.5)
|
47
|
+
rack (>= 1.2, < 3)
|
48
|
+
pry (0.10.4)
|
49
|
+
coderay (~> 1.1.0)
|
50
|
+
method_source (~> 0.8.1)
|
51
|
+
slop (~> 3.4)
|
52
|
+
pry-nav (0.2.4)
|
53
|
+
pry (>= 0.9.10, < 0.11.0)
|
54
|
+
psych (2.2.4)
|
55
|
+
rack (2.0.3)
|
56
|
+
rake (12.0.0)
|
57
|
+
rdoc (5.1.0)
|
58
|
+
rspec (3.6.0)
|
59
|
+
rspec-core (~> 3.6.0)
|
60
|
+
rspec-expectations (~> 3.6.0)
|
61
|
+
rspec-mocks (~> 3.6.0)
|
62
|
+
rspec-core (3.6.0)
|
63
|
+
rspec-support (~> 3.6.0)
|
64
|
+
rspec-expectations (3.6.0)
|
65
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
+
rspec-support (~> 3.6.0)
|
67
|
+
rspec-mocks (3.6.0)
|
68
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
69
|
+
rspec-support (~> 3.6.0)
|
70
|
+
rspec-support (3.6.0)
|
71
|
+
semver2 (3.4.2)
|
72
|
+
slop (3.6.0)
|
73
|
+
thread_safe (0.3.6)
|
32
74
|
|
33
75
|
PLATFORMS
|
34
76
|
ruby
|
35
77
|
|
36
78
|
DEPENDENCIES
|
37
79
|
bundler
|
38
|
-
jeweler
|
80
|
+
jeweler
|
39
81
|
pry
|
40
82
|
pry-nav
|
41
83
|
rspec
|
84
|
+
|
85
|
+
BUNDLED WITH
|
86
|
+
1.15.1
|
data/LICENSE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,19 +1,8 @@
|
|
1
1
|
= fips-county-codes
|
2
|
+
To use:
|
3
|
+
require "fips_county_codes"
|
2
4
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
-
* Fork the project.
|
10
|
-
* Start a feature/bugfix branch.
|
11
|
-
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2013 Ray Pereda. See LICENSE.txt for
|
18
|
-
further details.
|
19
|
-
|
5
|
+
These test cases show the usage:
|
6
|
+
* FipsCountyCodes::FIPS['CA']['Los Angeles'].should == 6037
|
7
|
+
* FipsCountyCodes::FIPS['CA']['Los Angeles County'].should == 6037
|
8
|
+
* FipsCountyCodes::STATE_COUNTY[6037].should == ['CA', 'Los Angeles County']
|
data/Rakefile
CHANGED
@@ -18,8 +18,13 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/raypereda/fips-county-codes"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = %Q{data structures for querying FIPS codes}
|
21
|
-
|
22
|
-
|
21
|
+
gem.description = <<-EOF
|
22
|
+
fips-county-code provides two hashes for converting between state and county pairs to FIPS codes.
|
23
|
+
The FIPS county code is a five-digit Federal Information Processing Standards (FIPS).
|
24
|
+
It uniquely identifies counties and county equivalents in the United States.
|
25
|
+
This may be useful to you if you are processing voter data.
|
26
|
+
EOF
|
27
|
+
gem.email = "raypereda@gmail.com"
|
23
28
|
gem.authors = ["Ray Pereda"]
|
24
29
|
# dependencies defined in Gemfile
|
25
30
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/fips-county-codes.gemspec
CHANGED
@@ -2,15 +2,18 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: fips-county-codes 0.5.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name = "fips-county-codes"
|
8
|
-
s.version = "0.
|
8
|
+
s.name = "fips-county-codes".freeze
|
9
|
+
s.version = "0.5.0"
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.
|
12
|
-
s.
|
13
|
-
s.
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Ray Pereda".freeze]
|
14
|
+
s.date = "2017-07-15"
|
15
|
+
s.description = " fips-county-code provides two hashes for converting between state and county pairs to FIPS codes. \n The FIPS county code is a five-digit Federal Information Processing Standards (FIPS). \n It uniquely identifies counties and county equivalents in the United States.\n This may be useful to you if you are processing voter data.\n".freeze
|
16
|
+
s.email = "raypereda@gmail.com".freeze
|
14
17
|
s.extra_rdoc_files = [
|
15
18
|
"LICENSE.txt",
|
16
19
|
"README.rdoc"
|
@@ -30,34 +33,33 @@ Gem::Specification.new do |s|
|
|
30
33
|
"test/fips_lookups_spec.rb",
|
31
34
|
"test/helper.rb"
|
32
35
|
]
|
33
|
-
s.homepage = "http://github.com/raypereda/fips-county-codes"
|
34
|
-
s.licenses = ["MIT"]
|
35
|
-
s.
|
36
|
-
s.
|
37
|
-
s.summary = "data structures for querying FIPS codes"
|
36
|
+
s.homepage = "http://github.com/raypereda/fips-county-codes".freeze
|
37
|
+
s.licenses = ["MIT".freeze]
|
38
|
+
s.rubygems_version = "2.6.12".freeze
|
39
|
+
s.summary = "data structures for querying FIPS codes".freeze
|
38
40
|
|
39
41
|
if s.respond_to? :specification_version then
|
40
|
-
s.specification_version =
|
42
|
+
s.specification_version = 4
|
41
43
|
|
42
44
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
-
s.add_development_dependency(%q<pry
|
44
|
-
s.add_development_dependency(%q<pry-nav
|
45
|
-
s.add_development_dependency(%q<rspec
|
46
|
-
s.add_development_dependency(%q<bundler
|
47
|
-
s.add_development_dependency(%q<jeweler
|
45
|
+
s.add_development_dependency(%q<pry>.freeze, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<pry-nav>.freeze, [">= 0"])
|
47
|
+
s.add_development_dependency(%q<rspec>.freeze, [">= 0"])
|
48
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<jeweler>.freeze, [">= 0"])
|
48
50
|
else
|
49
|
-
s.add_dependency(%q<pry
|
50
|
-
s.add_dependency(%q<pry-nav
|
51
|
-
s.add_dependency(%q<rspec
|
52
|
-
s.add_dependency(%q<bundler
|
53
|
-
s.add_dependency(%q<jeweler
|
51
|
+
s.add_dependency(%q<pry>.freeze, [">= 0"])
|
52
|
+
s.add_dependency(%q<pry-nav>.freeze, [">= 0"])
|
53
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
54
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
55
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
54
56
|
end
|
55
57
|
else
|
56
|
-
s.add_dependency(%q<pry
|
57
|
-
s.add_dependency(%q<pry-nav
|
58
|
-
s.add_dependency(%q<rspec
|
59
|
-
s.add_dependency(%q<bundler
|
60
|
-
s.add_dependency(%q<jeweler
|
58
|
+
s.add_dependency(%q<pry>.freeze, [">= 0"])
|
59
|
+
s.add_dependency(%q<pry-nav>.freeze, [">= 0"])
|
60
|
+
s.add_dependency(%q<rspec>.freeze, [">= 0"])
|
61
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
62
|
+
s.add_dependency(%q<jeweler>.freeze, [">= 0"])
|
61
63
|
end
|
62
64
|
end
|
63
65
|
|
metadata
CHANGED
@@ -1,106 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fips-county-codes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ray Pereda
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: pry
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: pry-nav
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: bundler
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: jeweler
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
75
|
+
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
94
|
-
description:
|
95
|
-
|
82
|
+
version: '0'
|
83
|
+
description: " fips-county-code provides two hashes for converting between state
|
84
|
+
and county pairs to FIPS codes. \n The FIPS county code is a five-digit Federal
|
85
|
+
Information Processing Standards (FIPS). \n It uniquely identifies counties and
|
86
|
+
county equivalents in the United States.\n This may be useful to you if you are
|
87
|
+
processing voter data.\n"
|
88
|
+
email: raypereda@gmail.com
|
96
89
|
executables: []
|
97
90
|
extensions: []
|
98
91
|
extra_rdoc_files:
|
99
92
|
- LICENSE.txt
|
100
93
|
- README.rdoc
|
101
94
|
files:
|
102
|
-
- .document
|
103
|
-
- .rvmrc
|
95
|
+
- ".document"
|
96
|
+
- ".rvmrc"
|
104
97
|
- Gemfile
|
105
98
|
- Gemfile.lock
|
106
99
|
- LICENSE.txt
|
@@ -115,29 +108,25 @@ files:
|
|
115
108
|
homepage: http://github.com/raypereda/fips-county-codes
|
116
109
|
licenses:
|
117
110
|
- MIT
|
111
|
+
metadata: {}
|
118
112
|
post_install_message:
|
119
113
|
rdoc_options: []
|
120
114
|
require_paths:
|
121
115
|
- lib
|
122
116
|
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
117
|
requirements:
|
125
|
-
- -
|
118
|
+
- - ">="
|
126
119
|
- !ruby/object:Gem::Version
|
127
120
|
version: '0'
|
128
|
-
segments:
|
129
|
-
- 0
|
130
|
-
hash: 4483815509762998968
|
131
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
122
|
requirements:
|
134
|
-
- -
|
123
|
+
- - ">="
|
135
124
|
- !ruby/object:Gem::Version
|
136
125
|
version: '0'
|
137
126
|
requirements: []
|
138
127
|
rubyforge_project:
|
139
|
-
rubygems_version:
|
128
|
+
rubygems_version: 2.6.12
|
140
129
|
signing_key:
|
141
|
-
specification_version:
|
130
|
+
specification_version: 4
|
142
131
|
summary: data structures for querying FIPS codes
|
143
132
|
test_files: []
|