komagata-saimaa 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/saimaa.rb +4 -2
  2. data/saimaa.gemspec +1 -1
  3. metadata +1 -1
data/lib/saimaa.rb CHANGED
@@ -28,7 +28,8 @@ class Saimaa
28
28
 
29
29
  unless stats.to_i == 0
30
30
  if options.key?(:notify)
31
- notify(options[:notify], result)
31
+ stats, stdout, stderr = notify(options[:notify], result)
32
+ puts stdout
32
33
  else
33
34
  puts result
34
35
  end
@@ -54,7 +55,8 @@ class Saimaa
54
55
  end
55
56
 
56
57
  def notify(cmd, stdin)
57
- systemu(cmd, :stdin => stdin)
58
+ stats, stdout, stderr = systemu(cmd, :stdin => stdin)
59
+ [stats, stdout, stderr]
58
60
  end
59
61
 
60
62
  def save(project, record)
data/saimaa.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{saimaa}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Masaki Komagata"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: komagata-saimaa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaki Komagata