veritable 0.1.4.33 → 0.1.5.35

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.txt CHANGED
@@ -1,3 +1,6 @@
1
+ veritable-ruby 0.1.5 - July 18, 2012
2
+ * Updated for new analysis.similar_to return format
3
+
1
4
  veritable-ruby 0.1.4 - July 16, 2012
2
5
  * analysis.batch_predict returns an Enumerator over Prediction objects instead of a list
3
6
  * analysis.similar_to returns an Enumerator over row entries instead of a list
data/lib/veritable/api.rb CHANGED
@@ -569,9 +569,8 @@ module Veritable
569
569
  # * +return_data+ -- if +true+, the full row content will be returned. If +false+, only the '_id' field for each row will be returned. Default is +true+.
570
570
  #
571
571
  # ==== Returns
572
- # An Enumerator over row entries ordered from most similar to least similar.
573
- # Each row entry is an array with the first element being the row and
574
- # the second element being a relatedness score between 0 to 1.
572
+ # An Enumerator over row data Hashes ordered from most similar to least similar.
573
+ # Each row data Hash has a '_similarity' key containing a similarity score between 0 and 1.
575
574
  #
576
575
  # See also: https://dev.priorknowledge.com/docs/client/ruby
577
576
  def similar_to(row, column_id, opts={:max_rows => 10, :return_data => true})
@@ -1,5 +1,5 @@
1
1
  module Veritable
2
2
 
3
3
  # The current version of veritable-ruby
4
- VERSION = "0.1.4.33"
4
+ VERSION = "0.1.5.35"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veritable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.33
4
+ version: 0.1.5.35
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: 2012-07-17 00:00:00.000000000 Z
12
+ date: 2012-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  segments:
191
191
  - 0
192
- hash: -1563856652623917274
192
+ hash: -1517887521321432942
193
193
  required_rubygems_version: !ruby/object:Gem::Requirement
194
194
  none: false
195
195
  requirements:
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  version: '0'
199
199
  segments:
200
200
  - 0
201
- hash: -1563856652623917274
201
+ hash: -1517887521321432942
202
202
  requirements: []
203
203
  rubyforge_project:
204
204
  rubygems_version: 1.8.24