census_api 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/census_api/client.rb +1 -1
- data/lib/census_api/version.rb +1 -1
- data/spec/support/census_examples.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c53cd28cfb5e25ffe09f1b7cb9b3e65f4dc350a4
|
4
|
+
data.tar.gz: 1ddefcdec5e8a53be784ed65afa4be1b72886076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b186c3a3ce6f225680c9b6693feda4300cfe94b5d8d20b63594c99c99f81afce952f4147011c145f3ee7c808353634ea47b27920440ec1f541b33eb214c17db7
|
7
|
+
data.tar.gz: 2ac5084552f5b1616fc19ff0c87d8116b774a36eff680a17f1d98cc46d599a1673a92f70e0c8788f7d38e2a6a8bcaf3480ce26bb59dcb3947a2ad8fcc723091b
|
data/lib/census_api/client.rb
CHANGED
@@ -5,7 +5,7 @@ module CensusApi
|
|
5
5
|
# an options hash, including fields, level and within. Within is optional.
|
6
6
|
class Client
|
7
7
|
require 'http'
|
8
|
-
$census_connection = HTTP.persistent "
|
8
|
+
$census_connection = HTTP.persistent "https://api.census.gov"
|
9
9
|
|
10
10
|
attr_reader :api_key, :api_vintage, :options
|
11
11
|
attr_accessor :dataset
|
data/lib/census_api/version.rb
CHANGED
@@ -63,8 +63,8 @@ module CensusExamples
|
|
63
63
|
['B00001_001E', 'COUNTY:001', 'STATE:06'],
|
64
64
|
['B00001_001E', 'COUSUB', 'STATE:02+COUNTY:290'],
|
65
65
|
['B00001_001E', 'COUSUB:86690', 'STATE:02+COUNTY:290'],
|
66
|
-
['B00001_001E', 'SUBMCD', 'STATE:72+COUNTY:127+COUSUB:79693'],
|
67
|
-
['B00001_001E', 'SUBMCD:02350', 'STATE:72+COUNTY:127+COUSUB:79693'],
|
66
|
+
#['B00001_001E', 'SUBMCD', 'STATE:72+COUNTY:127+COUSUB:79693'],
|
67
|
+
#['B00001_001E', 'SUBMCD:02350', 'STATE:72+COUNTY:127+COUSUB:79693'],
|
68
68
|
['B00001_001E', 'PLACE', 'STATE:02+COUNTY:290+COUSUB:86690'],
|
69
69
|
['B00001_001E', 'PLACE:05750', 'STATE:02+COUNTY:290+COUSUB:86690'],
|
70
70
|
['B00001_001E', 'TRACT', 'STATE:02+COUNTY:290+COUSUB:86690+PLACE:05750'],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: census_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty Rauber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|