rethinkdb 2.2.0.0 → 2.2.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/net.rb +4 -1
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60798aad43b5c77c2292e67e6e4fe8ebe9fbf867
4
- data.tar.gz: fafdffd9312c75094c91e0406cba41d07d0d1236
3
+ metadata.gz: 497be4bbd22c3d26333bf444dd3b18ac6a43b266
4
+ data.tar.gz: 1fb31eff8ddaa4b95e6879392bbbcfbef88b7ee5
5
5
  SHA512:
6
- metadata.gz: a5ad8f76496580b2846cf705a2892dfc0b66478640993c987eb44837e06de2cda5c8aad237c0312b6619b76333cf504def55affa08d133bb6dceefadff405daf
7
- data.tar.gz: 342b60a7d467a1d698c104c2c73594311cd46cc553820dd85efc81f38f93ddd504ad9d20d58a255d431737c5a3020edf5275c16bfd1379face343d8d30a33a81
6
+ metadata.gz: 0ed222627be32310587d20dc8e94a50b82ca7048b997ff316b34e1eddd42218e53bd60274db89269249a845c3672101b12c6877b8681a45468dabd2e26c447c1
7
+ data.tar.gz: 15a66b9e1446c3b86a6fe9c0902d08109d21c2bd337b5409a217a24b7d73a1e5954ef4995abed96a8819f447c499ab128a308fb17bc679222f2c373e77d5f1aa
data/lib/net.rb CHANGED
@@ -52,8 +52,11 @@ module RethinkDB
52
52
  end
53
53
  def handle(m, args, caller)
54
54
  if !stopped?
55
- if method(m).arity == args.size
55
+ mar = method(m).arity
56
+ if mar == args.size
56
57
  send(m, *args)
58
+ elsif mar == 0
59
+ send(m)
57
60
  else
58
61
  send(m, *args, caller)
59
62
  end
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: 2.2.0.0
4
+ version: 2.2.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: 2015-11-12 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -30,13 +30,13 @@ executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files: []
32
32
  files:
33
- - lib/ql2.pb.rb
34
33
  - lib/exc.rb
35
34
  - lib/func.rb
36
35
  - lib/net.rb
37
- - lib/rpp.rb
38
36
  - lib/rethinkdb.rb
37
+ - lib/rpp.rb
39
38
  - lib/shim.rb
39
+ - lib/ql2.pb.rb
40
40
  homepage: http://rethinkdb.com
41
41
  licenses:
42
42
  - Apache-2