wordtree 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module WordTree
21
21
  end
22
22
 
23
23
  def save(book)
24
- result = @r.table('books').insert(book.metadata, :upsert => true).run(@rdb)
24
+ result = @r.table('books').insert(book.metadata, :conflict => :update).run(@rdb)
25
25
  return result["replaced"] == 1 || result["inserted"] == 1 || result["unchanged"] == 1
26
26
  end
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Wordtree
2
- VERSION = "0.1.2"
2
+ VERSION = "0.2.0"
3
3
  end
data/wordtree.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_dependency "archivist-client", ">= 0.1.7"
24
24
  spec.add_dependency "retriable"
25
25
  spec.add_dependency "simhash", "0.2.5"
26
- spec.add_dependency "rethinkdb", "~> 1.13.0"
26
+ spec.add_dependency "rethinkdb", "~> 1.14.0"
27
27
 
28
28
  spec.add_development_dependency "bundler", "~> 1.3"
29
29
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordtree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
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: 2014-09-01 00:00:00.000000000 Z
12
+ date: 2014-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: virtus
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ~>
100
100
  - !ruby/object:Gem::Version
101
- version: 1.13.0
101
+ version: 1.14.0
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ~>
108
108
  - !ruby/object:Gem::Version
109
- version: 1.13.0
109
+ version: 1.14.0
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: bundler
112
112
  requirement: !ruby/object:Gem::Requirement