u_s_census 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -5,3 +5,7 @@
5
5
  ## v0.0.3
6
6
 
7
7
  * clean up
8
+
9
+ ## v0.0.4
10
+
11
+ * bugfix
@@ -1,3 +1,3 @@
1
1
  module USCensus
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/u_s_census.rb CHANGED
@@ -36,7 +36,7 @@ module USCensus
36
36
  def self.census_acs_2010(key, states = "*", api_variables = ["B02001_001E"])
37
37
  states = fips_codes(states)
38
38
  api_variables = api_variables.join(',')
39
- url = HOST + "acs5?key=#{key}&get=B02001_001E,NAME&for=state:#{states}"
39
+ url = HOST + "acs5?key=#{key}&get=#{api_variables},NAME&for=state:#{states}"
40
40
  output = open(url)
41
41
  return parse(output,key)
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: u_s_census
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: