rethinkdb 1.14.0.0 → 1.14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shim.rb +10 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6404fb1e375e70acca63b1ac2745e6996490e304
|
4
|
+
data.tar.gz: 2e1a86399ecf72a57cd24548b7bae8d83890743b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1eeab6b06a8dde5eecddf36013c1ee8bfdacff6796782f0b68ec0cd5124973951ef68e6f66ec71940179b4c5ea9657d6521f4f5ffd93cfe873ea4d6591446340
|
7
|
+
data.tar.gz: 0476edb9168f7a8ac28385461af37132da1ac510207ed054df70c8c3e0e8ffb7a84302290a0a3100ee76210f31174d5d34452357341fc2f692cc31bdb0ff9599
|
data/lib/shim.rb
CHANGED
@@ -5,6 +5,16 @@ module RethinkDB
|
|
5
5
|
|
6
6
|
# Use a dummy object for binary data so we don't lose track of the data type
|
7
7
|
class Binary < String
|
8
|
+
def inspect
|
9
|
+
out = ''
|
10
|
+
if length > 0
|
11
|
+
arr = [ ]
|
12
|
+
byteslice(0, 6).each_byte{|c| arr << sprintf('%02x', c.ord)}
|
13
|
+
out = sprintf(', \'%s%s\'', arr.join(' '), length > 6 ? '...' : '')
|
14
|
+
end
|
15
|
+
return sprintf('<binary, %d byte%s%s>',
|
16
|
+
length, length == 1 ? '' : 's', out)
|
17
|
+
end
|
8
18
|
end
|
9
19
|
|
10
20
|
module Shim
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rethinkdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.0.
|
4
|
+
version: 1.14.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RethinkDB Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -32,10 +32,10 @@ extra_rdoc_files: []
|
|
32
32
|
files:
|
33
33
|
- lib/ql2.pb.rb
|
34
34
|
- lib/exc.rb
|
35
|
-
- lib/func.rb
|
36
|
-
- lib/net.rb
|
37
35
|
- lib/rethinkdb.rb
|
36
|
+
- lib/func.rb
|
38
37
|
- lib/rpp.rb
|
38
|
+
- lib/net.rb
|
39
39
|
- lib/shim.rb
|
40
40
|
homepage: http://rethinkdb.com
|
41
41
|
licenses:
|