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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/func.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4e0169e5ee9d1e485620a64a58339dcfef57923
4
- data.tar.gz: 5d6cc674b334f220424674e79488530bf5076c75
3
+ metadata.gz: 59e79e6d9c3439b65c7eb4d100996304062ea23a
4
+ data.tar.gz: f56d759a19a9db15fe6affbd712c54a5cdee2e5a
5
5
  SHA512:
6
- metadata.gz: b77846ce19dbc6a56f2031174972041c296180d79fbc962b8a50cc7b895d59fce2d3c9ec6b62f140b425684e1f56f75586aeba305dc11a6545f60bed3672e6e6
7
- data.tar.gz: 1111f5b383b53b512698337fcb991b719108fd90d5fb07059318391df9ce8d31695413583065d32827df04fe983354ff88c1844e636c96c618dfa4949c163b44
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
- termtype = Term::TermType.const_get(m.to_s.upcase)
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])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rethinkdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0.0
4
+ version: 1.10.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RethinkDB Inc.