makesure 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/makesure.rb +1 -2
- data/lib/makesure/version.rb +1 -1
- data/makesure.gemspec +79 -0
- metadata +5 -4
data/lib/makesure.rb
CHANGED
@@ -26,7 +26,6 @@ module Makesure
|
|
26
26
|
load(file)
|
27
27
|
abort "No system specifications found" unless Makesure.systems.size > 0
|
28
28
|
Makesure.log "Loaded #{Makesure.systems.size} system specifications"
|
29
|
-
true
|
30
29
|
rescue Exception => e
|
31
30
|
if e.instance_of?(SystemExit)
|
32
31
|
raise
|
@@ -34,7 +33,7 @@ module Makesure
|
|
34
33
|
Makesure.warn "There was an error loading #{file}"
|
35
34
|
Makesure.warn "\t" + e.message
|
36
35
|
Makesure.warn "\t" + e.backtrace.join("\n\t")
|
37
|
-
|
36
|
+
abort "Couldn't load your Makesurefile"
|
38
37
|
end
|
39
38
|
end
|
40
39
|
|
data/lib/makesure/version.rb
CHANGED
data/makesure.gemspec
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{makesure}
|
8
|
+
s.version = "0.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Eric Waller"]
|
12
|
+
s.date = %q{2011-02-25}
|
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
|
+
s.email = %q{eric@seatgeek.com}
|
15
|
+
s.executables = ["makesure", "makesure-runner"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE.txt",
|
18
|
+
"README.rdoc"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
".bundle/config",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"LICENSE.txt",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"bin/makesure",
|
28
|
+
"bin/makesure-runner",
|
29
|
+
"lib/makesure.rb",
|
30
|
+
"lib/makesure/cmd.rb",
|
31
|
+
"lib/makesure/cron.rb",
|
32
|
+
"lib/makesure/runner.rb",
|
33
|
+
"lib/makesure/summarize.rb",
|
34
|
+
"lib/makesure/system.rb",
|
35
|
+
"lib/makesure/verify.rb",
|
36
|
+
"lib/makesure/version.rb",
|
37
|
+
"makesure.gemspec",
|
38
|
+
"test/helper.rb",
|
39
|
+
"test/test_makesure.rb"
|
40
|
+
]
|
41
|
+
s.homepage = %q{http://github.com/seatgeek/makesure}
|
42
|
+
s.licenses = ["MIT"]
|
43
|
+
s.require_paths = ["lib"]
|
44
|
+
s.rubygems_version = %q{1.3.7}
|
45
|
+
s.summary = %q{Continuous (Production) Verification: Define and Monitor Systems in Ruby}
|
46
|
+
s.test_files = [
|
47
|
+
"test/helper.rb",
|
48
|
+
"test/test_makesure.rb"
|
49
|
+
]
|
50
|
+
|
51
|
+
if s.respond_to? :specification_version then
|
52
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
53
|
+
s.specification_version = 3
|
54
|
+
|
55
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
56
|
+
s.add_runtime_dependency(%q<pony>, [">= 1.0"])
|
57
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
59
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
60
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
61
|
+
s.add_runtime_dependency(%q<pony>, [">= 1.0"])
|
62
|
+
else
|
63
|
+
s.add_dependency(%q<pony>, [">= 1.0"])
|
64
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
65
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
66
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
67
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
68
|
+
s.add_dependency(%q<pony>, [">= 1.0"])
|
69
|
+
end
|
70
|
+
else
|
71
|
+
s.add_dependency(%q<pony>, [">= 1.0"])
|
72
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
73
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
74
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
75
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
76
|
+
s.add_dependency(%q<pony>, [">= 1.0"])
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
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
|
+
- 2
|
9
|
+
version: 0.0.2
|
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-25 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -128,6 +128,7 @@ files:
|
|
128
128
|
- lib/makesure/system.rb
|
129
129
|
- lib/makesure/verify.rb
|
130
130
|
- lib/makesure/version.rb
|
131
|
+
- makesure.gemspec
|
131
132
|
- test/helper.rb
|
132
133
|
- test/test_makesure.rb
|
133
134
|
has_rdoc: true
|
@@ -144,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
145
|
requirements:
|
145
146
|
- - ">="
|
146
147
|
- !ruby/object:Gem::Version
|
147
|
-
hash: -
|
148
|
+
hash: -201522179
|
148
149
|
segments:
|
149
150
|
- 0
|
150
151
|
version: "0"
|