sdbcli 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sdbcli +1 -1
- data/lib/sdbcli/sdb-runner.rb +5 -1
- metadata +1 -1
data/bin/sdbcli
CHANGED
data/lib/sdbcli/sdb-runner.rb
CHANGED
@@ -148,7 +148,11 @@ module SimpleDB
|
|
148
148
|
end
|
149
149
|
|
150
150
|
if parsed.ruby
|
151
|
-
|
151
|
+
begin
|
152
|
+
items = items.instance_eval(parsed.ruby.strip)
|
153
|
+
rescue SyntaxError => e
|
154
|
+
raise e.message
|
155
|
+
end
|
152
156
|
end
|
153
157
|
|
154
158
|
if inline and items.kind_of?(Array)
|