makesure 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/makesure/cron.rb +4 -1
- data/lib/makesure/version.rb +1 -1
- data/lib/makesure.rb +1 -0
- data/makesure.gemspec +2 -2
- metadata +4 -4
data/lib/makesure/cron.rb
CHANGED
@@ -22,7 +22,10 @@ module Makesure
|
|
22
22
|
def build_crontab_output
|
23
23
|
chdir = Makesure.chdir || File.dirname(Makesure.makesurefile)
|
24
24
|
crontab = ""
|
25
|
-
crontab << "# Autogenerated by makesure: you probably don't want to edit this file\n"
|
25
|
+
crontab << "# Autogenerated by makesure: you probably don't want to edit this file\n\n"
|
26
|
+
crontab << "# Cron environment\n"
|
27
|
+
crontab << (Makesure.cron_env || "# customize this by setting Makesure.cron_env in your Makesurefile")
|
28
|
+
crontab << "\n"
|
26
29
|
Makesure.systems.each do |s|
|
27
30
|
uid = s.uid || Makesure.uid
|
28
31
|
crontab << "\n"
|
data/lib/makesure/version.rb
CHANGED
data/lib/makesure.rb
CHANGED
data/makesure.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{makesure}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Eric Waller"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-28}
|
13
13
|
s.description = %q{Makesure is a set of tools to define, verify and monitor systems in a unix environment. It allows you to schedule commands that constitue a system via cron (and monitors the execution of those commands), it gives you a way to verify the state of a system (and alerts you when there are problems), and it provides a simple mechanism for collecting statistics about that system.}
|
14
14
|
s.email = %q{eric@seatgeek.com}
|
15
15
|
s.executables = ["makesure", "makesure-runner"]
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Eric Waller
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-02-
|
17
|
+
date: 2011-02-28 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
147
147
|
requirements:
|
148
148
|
- - ">="
|
149
149
|
- !ruby/object:Gem::Version
|
150
|
-
hash:
|
150
|
+
hash: 611779293
|
151
151
|
segments:
|
152
152
|
- 0
|
153
153
|
version: "0"
|