rethinkdb 1.12.0.0 → 1.12.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/func.rb +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94cbbfd6084015f53bb7b98e617ee23d9691061f
|
4
|
+
data.tar.gz: 1a531e1561597a134713b8c590766859221414f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81dd7d1989956cef8cc14388c6c67fb0b6f767ec81db25a0ef68450baffc84460c0039d316c273a6014e8b773d0d1c0120aa08f09403ddaa80045a29167d9d10
|
7
|
+
data.tar.gz: 0dff66cd45bb2e41b52eb956755410c8285abd47fd3d020accf2519ca02fe4f14fd72e6f5f3dc59eedeb38594c8c9cfa34f244cda01a27c4b01d337dee6fa404
|
data/lib/func.rb
CHANGED
@@ -58,7 +58,7 @@ module RethinkDB
|
|
58
58
|
termtypes = Term::TermType.constants.map{ |c| c.to_sym }
|
59
59
|
termtypes.each {|termtype|
|
60
60
|
|
61
|
-
|
61
|
+
method_body = proc { |*a, &b|
|
62
62
|
bitop = [:"|", :"&"].include?(__method__)
|
63
63
|
|
64
64
|
if [:<, :<=, :>, :>=, :+, :-, :*, :/, :%].include?(__method__)
|
@@ -100,8 +100,10 @@ module RethinkDB
|
|
100
100
|
return RQL.new(t, bitop)
|
101
101
|
}
|
102
102
|
|
103
|
+
define_method(termtype.downcase, &method_body)
|
104
|
+
|
103
105
|
[*@@method_aliases[termtype.downcase]].each{|method_alias|
|
104
|
-
define_method method_alias,
|
106
|
+
define_method method_alias, &method_body
|
105
107
|
}
|
106
108
|
}
|
107
109
|
|
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.12.0.
|
4
|
+
version: 1.12.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-03-
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -62,9 +62,9 @@ files:
|
|
62
62
|
- lib/ql2.pb.rb
|
63
63
|
- lib/rethinkdb.rb
|
64
64
|
- lib/rpp.rb
|
65
|
-
- lib/func.rb
|
66
65
|
- lib/net.rb
|
67
66
|
- lib/shim.rb
|
67
|
+
- lib/func.rb
|
68
68
|
homepage: http://rethinkdb.com
|
69
69
|
licenses:
|
70
70
|
- Apache-2
|