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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/shim.rb +10 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b14d4516dee0a85107a2f9e59e508df5d6282245
4
- data.tar.gz: cdb4c4f58579fe6bc7996782d5101cb3aa0bc40e
3
+ metadata.gz: 6404fb1e375e70acca63b1ac2745e6996490e304
4
+ data.tar.gz: 2e1a86399ecf72a57cd24548b7bae8d83890743b
5
5
  SHA512:
6
- metadata.gz: d4fdf55ab09026bd76c33f3803863f896f8c92c5a0b1f5f8dd69744fb672dde9f80913eefd46774d60c6af6d7863f407f48cfc44b080d64ee573b10c57865ffa
7
- data.tar.gz: 522abfe5ea3458ce2ddbbb5cd8e400a6709d7e8c97a986877e976bf450026112f7a3369ab885eb5f1abb7e1c116736d53283e96a758c78d37955a64fb2f74280
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.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-08-26 00:00:00.000000000 Z
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: