fyi 1.1.0 → 1.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/fyi.rb +3 -3
  2. data/lib/fyi/version.rb +1 -1
  3. metadata +10 -10
data/lib/fyi.rb CHANGED
@@ -19,15 +19,15 @@ class Fyi
19
19
  start_stopwatch
20
20
  status, stdout, stderr = systemu @command
21
21
  stop_stopwatch
22
- status.exitstatus.to_i == 0 ? run_succeeded(stdout) : run_failed(stdout, stderr)
22
+ status.exitstatus.to_i == 0 ? run_succeeded(stdout, stderr) : run_failed(stdout, stderr)
23
23
  rescue Object => e
24
24
  run_failed('', e.to_s)
25
25
  end
26
26
 
27
27
  private
28
28
 
29
- def run_succeeded output
30
- notify :success, duration, output
29
+ def run_succeeded output, error
30
+ notify :success, duration, output, error
31
31
  end
32
32
 
33
33
  def run_failed output, error
@@ -1,3 +1,3 @@
1
1
  class Fyi
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fyi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-25 00:00:00.000000000 Z
12
+ date: 2012-10-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &2153492000 !ruby/object:Gem::Requirement
16
+ requirement: &2160200000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - =
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.2.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2153492000
24
+ version_requirements: *2160200000
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: mail
27
- requirement: &2153491460 !ruby/object:Gem::Requirement
27
+ requirement: &2160199500 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 2.4.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2153491460
35
+ version_requirements: *2160199500
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: systemu
38
- requirement: &2153490780 !ruby/object:Gem::Requirement
38
+ requirement: &2160234600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 2.4.0
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *2153490780
46
+ version_requirements: *2160234600
47
47
  description: Find out what cron is doing.
48
48
  email: boss@airbladesoftware.com
49
49
  executables:
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: 1551681380249218475
81
+ hash: 3750240573240443090
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: 1551681380249218475
90
+ hash: 3750240573240443090
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 1.8.11