hirobumi-with_ruby 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/with_ruby/version.rb +1 -1
- data/lib/with_ruby.rb +1 -2
- metadata +1 -1
data/lib/with_ruby/version.rb
CHANGED
data/lib/with_ruby.rb
CHANGED
@@ -16,7 +16,6 @@ module WithRuby
|
|
16
16
|
io.puts(build(command, options))
|
17
17
|
ret = YAML.load(io.read)
|
18
18
|
end
|
19
|
-
|
20
19
|
raise(ret) if ret.is_a?(Exception)
|
21
20
|
|
22
21
|
ret
|
@@ -34,7 +33,7 @@ module WithRuby
|
|
34
33
|
"rescue Exception => boom\n" +
|
35
34
|
" STDOUT.puts(YAML.dump(boom))\n" +
|
36
35
|
"end\n" +
|
37
|
-
"__END__"
|
36
|
+
"__END__\n"
|
38
37
|
end
|
39
38
|
|
40
39
|
def build_params(options)
|