rethinkdb 1.4.0.0 → 1.4.0.1

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.
Files changed (3) hide show
  1. data/lib/net.rb +1 -0
  2. data/lib/rethinkdb.rb +18 -0
  3. metadata +8 -8
data/lib/net.rb CHANGED
@@ -11,6 +11,7 @@ module RethinkDB
11
11
  end
12
12
 
13
13
  class RQL
14
+ @@default_conn = nil
14
15
  def self.set_default_conn c; @@default_conn = c; end
15
16
  def run(c=@@default_conn, opts=nil)
16
17
  # $f.puts "("+RPP::pp(@body)+"),"
data/lib/rethinkdb.rb CHANGED
@@ -1,6 +1,24 @@
1
1
  # Copyright 2010-2012 RethinkDB, all rights reserved.
2
2
  require 'rubygems'
3
3
  require 'ql2.pb.rb'
4
+
5
+ if 2**63 != 9223372036854775808
6
+ puts "WARNING: Ruby believes 2**63 = #{2**63} rather than 9223372036854775808!"
7
+ puts "Consider upgrading your verison of Ruby."
8
+ puts "Hot-patching ruby_protobuf to compensate..."
9
+ rethinkdb_verbose, $VERBOSE = $VERBOSE, nil
10
+ module Protobuf
11
+ module Field
12
+ class VarintField < BaseField
13
+ INT64_MAX = 9223372036854775807
14
+ INT64_MIN = -9223372036854775808
15
+ UINT64_MAX = 18446744073709551615
16
+ end
17
+ end
18
+ end
19
+ $VERBOSE = rethinkdb_verbose
20
+ end
21
+
4
22
  require 'socket'
5
23
  require 'pp'
6
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rethinkdb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 127
4
+ hash: 125
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
9
  - 0
10
- - 0
11
- version: 1.4.0.0
10
+ - 1
11
+ version: 1.4.0.1
12
12
  platform: ruby
13
13
  authors:
14
14
  - RethinkDB Inc.
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2013-03-15 00:00:00 Z
19
+ date: 2013-03-18 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: json
@@ -55,13 +55,13 @@ extensions: []
55
55
  extra_rdoc_files: []
56
56
 
57
57
  files:
58
- - lib/exc.rb
59
58
  - lib/func.rb
60
- - lib/net.rb
59
+ - lib/shim.rb
60
+ - lib/exc.rb
61
61
  - lib/ql2.pb.rb
62
- - lib/rethinkdb.rb
63
62
  - lib/rpp.rb
64
- - lib/shim.rb
63
+ - lib/net.rb
64
+ - lib/rethinkdb.rb
65
65
  homepage: http://rethinkdb.com
66
66
  licenses:
67
67
  - Apache-2