factual-api 1.3.7 → 1.3.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v1.3.8
2
+ * adding user param for table and facets #15
3
+
1
4
  ## v1.3.7
2
5
  * adding clear_blanks param to clear
3
6
 
data/README.md CHANGED
@@ -59,7 +59,7 @@ factual.table("places").select(:name, :website)
59
59
 
60
60
  `````ruby
61
61
  # Return highly rated U.S. restaurants in Los Angeles with WiFi
62
- factual.table("restaurants-us")
62
+ factual.table("restaurants")
63
63
  .filters({"locality" => "los angeles", "rating" => {"$gte" => 4}, "wifi" => true}).rows
64
64
  ````
65
65
 
@@ -84,7 +84,7 @@ query.first
84
84
 
85
85
  ````ruby
86
86
  # Returns georeferenced attributes generated by Factual
87
- query = factual.geopulse(34.06021,-118.41828).select("commercial_density", "commercial_profile", "income", "race")
87
+ query = factual.geopulse(34.06021,-118.41828).select("area_statistics", "income", "housing")
88
88
  query.first["income"]
89
89
  ````
90
90
 
@@ -135,6 +135,8 @@ query.total_count
135
135
 
136
136
  # Where to Get Help
137
137
 
138
+ https://github.com/Factual/factual-ruby-driver/wiki/Debug-and-Support
139
+
138
140
  If you think you've identified a specific bug in this driver, please file an issue in the github repo. Please be as specific as you can, including:
139
141
 
140
142
  * What you did to surface the bug
data/lib/factual/api.rb CHANGED
@@ -4,7 +4,7 @@ require 'timeout'
4
4
 
5
5
  class Factual
6
6
  class API
7
- VERSION = "1.3.7"
7
+ VERSION = "1.3.8"
8
8
  API_V3_HOST = "api.v3.factual.com"
9
9
  DRIVER_VERSION_TAG = "factual-ruby-driver-v" + VERSION
10
10
  PARAM_ALIASES = { :search => :q, :sort_asc => :sort }
@@ -8,7 +8,7 @@ class Factual
8
8
  :filters, :search, :geo,
9
9
  :select,
10
10
  :limit, :min_count,
11
- :include_count
11
+ :include_count, :user
12
12
  ]
13
13
 
14
14
  def initialize(api, path, params = {})
@@ -8,7 +8,7 @@ class Factual
8
8
  :filters, :search, :geo,
9
9
  :sort, :select,
10
10
  :limit, :offset,
11
- :include_count
11
+ :include_count, :user
12
12
  ]
13
13
 
14
14
  def initialize(api, path, params = {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factual-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-26 00:00:00.000000000 Z
13
+ date: 2013-05-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: oauth