rethinkdb 1.10.0.0 → 1.10.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 +6 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59e79e6d9c3439b65c7eb4d100996304062ea23a
|
4
|
+
data.tar.gz: f56d759a19a9db15fe6affbd712c54a5cdee2e5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79020581d60bd00e3fe43f49e14ac3c4d6282ace1655ce019aa6bd1f8502289668cc287d178a9b2f852b5579917a759a7e583ffac3b3ecb99d08f061604c5054
|
7
|
+
data.tar.gz: e17aa512ff7ef6710b17dae2386ae650e1956d5fba4e27b7780a133e133362fa6e1dd0d60720871a4535f5838077ff2ffca6014b1bd8efbd9e07f225f365d84d
|
data/lib/func.rb
CHANGED
@@ -58,8 +58,13 @@ module RethinkDB
|
|
58
58
|
}
|
59
59
|
end
|
60
60
|
|
61
|
+
old_m = m
|
61
62
|
m = @@rewrites[m] || m
|
62
|
-
|
63
|
+
begin
|
64
|
+
termtype = Term::TermType.const_get(m.to_s.upcase)
|
65
|
+
rescue NameError => e
|
66
|
+
unbound_if(true, old_m)
|
67
|
+
end
|
63
68
|
unbound_if(!termtype, m)
|
64
69
|
|
65
70
|
if (opt_offset = @@optarg_offsets[m])
|