hirobumi-with_ruby 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ module WithRuby
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 2
6
+ TINY = 3
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirobumi-with_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hirobumi Hama