census_api 1.0.0 → 1.0.1
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.
- data/README.md +1 -1
- data/lib/census_api/request.rb +1 -1
- data/lib/census_api/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ http://www.census.gov/developers/tos/key_request.html and follow the instruction
|
|
|
13
13
|
|
|
14
14
|
To use this gem, install it with <tt>gem install census_api</tt> or add it to your Gemfile:
|
|
15
15
|
|
|
16
|
-
`gem '
|
|
16
|
+
`gem 'census_api'`
|
|
17
17
|
|
|
18
18
|
And install it with <tt>bundle install</tt>
|
|
19
19
|
|
data/lib/census_api/request.rb
CHANGED
|
@@ -60,7 +60,7 @@ module CensusApi
|
|
|
60
60
|
def self.shapes
|
|
61
61
|
return @@census_shapes if defined?( @@census_shapes)
|
|
62
62
|
@@census_shapes = {}
|
|
63
|
-
YAML.load_file(
|
|
63
|
+
YAML.load_file(File.dirname(__FILE__).to_s + '/../yml/census_shapes.yml').each{|k,v| @@census_shapes[k] = v}
|
|
64
64
|
return @@census_shapes
|
|
65
65
|
end
|
|
66
66
|
|
data/lib/census_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: census_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
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:
|
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rest-client
|