factual 0.1.2 → 0.1.3

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 CHANGED
@@ -45,3 +45,9 @@ results = resolve.search_by_values({:name => 'name', :latitude => 37.63326, :lon
45
45
  INSTALLATION
46
46
  ============
47
47
  gem install factual
48
+
49
+
50
+ TODO
51
+ ====
52
+ 1. integrate OAuth
53
+ 2. more robust error handling
@@ -19,9 +19,9 @@ module Factual
19
19
  # select: fields to include in the query response
20
20
  # sort: field_name:(asc|desc), $distance:(asc|desc), or $relevance:(asc|desc)
21
21
 
22
- def search_table(optional = {})
22
+ def search_table(table_id, optional = {})
23
23
  optional[:geo] = create_geo_filter(optional[:geo]) if optional[:geo].exists?
24
- PlacesResponse.new(@client.class.get("/t/<table_id>", :query => optional))
24
+ PlacesResponse.new(@client.class.get("/t/#{table_id}", :query => optional))
25
25
  end
26
26
 
27
27
  private
@@ -1,3 +1,3 @@
1
1
  module Factual
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: factual
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.2
5
+ version: 0.1.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Justin Copeland