notifyme 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/notifyme/start.rb +2 -2
  2. metadata +62 -53
@@ -1,6 +1,6 @@
1
1
  module NotifyMe
2
2
 
3
- VERSION = '1.1.2'
3
+ VERSION = '1.1.3'
4
4
  DEFAULT_CONFIG_FILE = "/root/.notifyme/notifyme_config.rb"
5
5
 
6
6
  autoload :Task, 'notifyme/task'
@@ -197,8 +197,8 @@ end
197
197
  begin
198
198
  if task.logger.can_log? task
199
199
  task.logger << task
200
- syslog_error task.name, task.command, task.result.to_s
201
200
  task.logger.add_log_history task
201
+ syslog_error task.name, "!", task.result.to_s
202
202
  end
203
203
  rescue Exception => e
204
204
  syslog_error task.name, "save_error_log", e.to_s + "\n" + e.backtrace.join("\n")
metadata CHANGED
@@ -1,99 +1,108 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: notifyme
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.3
4
5
  prerelease:
5
- version: 1.1.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - xianhua.zhou
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2013-01-15 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: daemons
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
23
21
  version: 1.1.0
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: json_pure
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.1.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: json_pure
32
+ requirement: !ruby/object:Gem::Requirement
30
33
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
34
37
  version: 1.4.2
35
38
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: http_request.rb
39
39
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
41
  none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 1.4.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: http_request.rb
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
45
53
  version: 1.1.13
46
54
  type: :runtime
47
- version_requirements: *id003
48
- description: NotifyMe takes care more than one tasks and process their results for you, it's similar to *NIX's cronjob but can do more.
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.1.13
62
+ description: NotifyMe takes care more than one tasks and process their results for
63
+ you, it's similar to *NIX's cronjob but can do more.
49
64
  email: xianhua.zhou@gmail.com
50
- executables:
65
+ executables:
51
66
  - notifyme_daemon
52
67
  - notifyme
53
68
  extensions: []
54
-
55
69
  extra_rdoc_files: []
56
-
57
- files:
58
- - lib/notifyme.rb
59
- - lib/notifyme/log.rb
70
+ files:
71
+ - lib/vendor/smtp_add_tls_support.rb
72
+ - lib/notifyme/check.rb
73
+ - lib/notifyme/log/file.rb
60
74
  - lib/notifyme/log/mail.rb
61
75
  - lib/notifyme/log/stdout.rb
62
- - lib/notifyme/log/file.rb
76
+ - lib/notifyme/log.rb
63
77
  - lib/notifyme/start.rb
64
- - lib/notifyme/check.rb
65
78
  - lib/notifyme/task.rb
66
- - lib/vendor/smtp_add_tls_support.rb
79
+ - lib/notifyme.rb
67
80
  - INSTALL
68
81
  - notifyme_config.rb
69
82
  - bin/notifyme_daemon
70
83
  - bin/notifyme
71
84
  homepage: http://github.com/xianhuazhou/NotifyMe
72
85
  licenses: []
73
-
74
86
  post_install_message:
75
87
  rdoc_options: []
76
-
77
- require_paths:
88
+ require_paths:
78
89
  - lib
79
- required_ruby_version: !ruby/object:Gem::Requirement
90
+ required_ruby_version: !ruby/object:Gem::Requirement
80
91
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- version: "0"
85
- required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
97
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
91
102
  requirements: []
92
-
93
103
  rubyforge_project: notifyme
94
104
  rubygems_version: 1.8.24
95
105
  signing_key:
96
106
  specification_version: 3
97
107
  summary: It's a kind of cronjob.
98
108
  test_files: []
99
-