ey_stonith 0.4.3.pre → 0.4.3.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ey_stonith.gemspec +1 -1
- data/lib/ey_stonith/commands.rb +17 -17
- data/lib/ey_stonith/timer.rb +1 -1
- metadata +25 -25
data/ey_stonith.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "ey_stonith"
|
6
|
-
s.version = "0.4.3.pre"
|
6
|
+
s.version = "0.4.3.pre.1"
|
7
7
|
s.summary = "Shoot The Other Node In The Head (with a nerf gun)"
|
8
8
|
s.description = s.summary
|
9
9
|
s.has_rdoc = true
|
data/lib/ey_stonith/commands.rb
CHANGED
@@ -3,26 +3,26 @@ module EY
|
|
3
3
|
module Commands
|
4
4
|
|
5
5
|
dir = 'ey_stonith/commands/'
|
6
|
-
|
7
|
-
|
6
|
+
autoload :Abstract, dir + 'abstract'
|
7
|
+
autoload :NotFound, dir + 'not_found'
|
8
8
|
|
9
|
-
COMMANDS = {
|
10
|
-
'check'
|
11
|
-
'claim'
|
12
|
-
'commands'
|
13
|
-
'cron'
|
14
|
-
'help'
|
15
|
-
'info'
|
16
|
-
'notify'
|
17
|
-
'resume'
|
18
|
-
'reset'
|
19
|
-
'status'
|
20
|
-
'stop'
|
21
|
-
'takeover'
|
22
|
-
}
|
9
|
+
COMMANDS = Hash.new(:NotFound).merge({
|
10
|
+
'check' => :Check,
|
11
|
+
'claim' => :Claim,
|
12
|
+
'commands' => :Commands,
|
13
|
+
'cron' => :Cron,
|
14
|
+
'help' => :Help,
|
15
|
+
'info' => :Info,
|
16
|
+
'notify' => :Notify,
|
17
|
+
'resume' => :Resume,
|
18
|
+
'reset' => :Reset,
|
19
|
+
'status' => :Status,
|
20
|
+
'stop' => :Stop,
|
21
|
+
'takeover' => :Takeover,
|
22
|
+
})
|
23
23
|
|
24
24
|
COMMANDS.each do |command, klass|
|
25
|
-
|
25
|
+
autoload klass, dir + command
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.invoke(argv)
|
data/lib/ey_stonith/timer.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_stonith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.3.pre
|
4
|
+
version: 0.4.3.pre.1
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -17,7 +17,7 @@ date: 2012-02-10 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: json
|
20
|
-
requirement: &
|
20
|
+
requirement: &2153146280 !ruby/object:Gem::Requirement
|
21
21
|
none: false
|
22
22
|
requirements:
|
23
23
|
- - ! '>='
|
@@ -25,10 +25,10 @@ dependencies:
|
|
25
25
|
version: '0'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
|
-
version_requirements: *
|
28
|
+
version_requirements: *2153146280
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: sinatra
|
31
|
-
requirement: &
|
31
|
+
requirement: &2153145080 !ruby/object:Gem::Requirement
|
32
32
|
none: false
|
33
33
|
requirements:
|
34
34
|
- - ~>
|
@@ -36,10 +36,10 @@ dependencies:
|
|
36
36
|
version: '1.0'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
|
-
version_requirements: *
|
39
|
+
version_requirements: *2153145080
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: ruby-debug19
|
42
|
-
requirement: &
|
42
|
+
requirement: &2153143660 !ruby/object:Gem::Requirement
|
43
43
|
none: false
|
44
44
|
requirements:
|
45
45
|
- - ! '>='
|
@@ -47,10 +47,10 @@ dependencies:
|
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
|
-
version_requirements: *
|
50
|
+
version_requirements: *2153143660
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
name: rspec
|
53
|
-
requirement: &
|
53
|
+
requirement: &2153142120 !ruby/object:Gem::Requirement
|
54
54
|
none: false
|
55
55
|
requirements:
|
56
56
|
- - ! '>='
|
@@ -58,10 +58,10 @@ dependencies:
|
|
58
58
|
version: '0'
|
59
59
|
type: :development
|
60
60
|
prerelease: false
|
61
|
-
version_requirements: *
|
61
|
+
version_requirements: *2153142120
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: cucumber
|
64
|
-
requirement: &
|
64
|
+
requirement: &2153173620 !ruby/object:Gem::Requirement
|
65
65
|
none: false
|
66
66
|
requirements:
|
67
67
|
- - ! '>='
|
@@ -69,10 +69,10 @@ dependencies:
|
|
69
69
|
version: '0'
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
|
-
version_requirements: *
|
72
|
+
version_requirements: *2153173620
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: open4
|
75
|
-
requirement: &
|
75
|
+
requirement: &2153172520 !ruby/object:Gem::Requirement
|
76
76
|
none: false
|
77
77
|
requirements:
|
78
78
|
- - ! '>='
|
@@ -80,10 +80,10 @@ dependencies:
|
|
80
80
|
version: '0'
|
81
81
|
type: :development
|
82
82
|
prerelease: false
|
83
|
-
version_requirements: *
|
83
|
+
version_requirements: *2153172520
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: aruba
|
86
|
-
requirement: &
|
86
|
+
requirement: &2153170980 !ruby/object:Gem::Requirement
|
87
87
|
none: false
|
88
88
|
requirements:
|
89
89
|
- - =
|
@@ -91,10 +91,10 @@ dependencies:
|
|
91
91
|
version: 0.3.2
|
92
92
|
type: :development
|
93
93
|
prerelease: false
|
94
|
-
version_requirements: *
|
94
|
+
version_requirements: *2153170980
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: rake
|
97
|
-
requirement: &
|
97
|
+
requirement: &2153169320 !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
100
100
|
- - ! '>='
|
@@ -102,10 +102,10 @@ dependencies:
|
|
102
102
|
version: '0'
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
|
-
version_requirements: *
|
105
|
+
version_requirements: *2153169320
|
106
106
|
- !ruby/object:Gem::Dependency
|
107
107
|
name: randexp
|
108
|
-
requirement: &
|
108
|
+
requirement: &2153189760 !ruby/object:Gem::Requirement
|
109
109
|
none: false
|
110
110
|
requirements:
|
111
111
|
- - ! '>='
|
@@ -113,10 +113,10 @@ dependencies:
|
|
113
113
|
version: '0'
|
114
114
|
type: :development
|
115
115
|
prerelease: false
|
116
|
-
version_requirements: *
|
116
|
+
version_requirements: *2153189760
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: cucumber
|
119
|
-
requirement: &
|
119
|
+
requirement: &2153187400 !ruby/object:Gem::Requirement
|
120
120
|
none: false
|
121
121
|
requirements:
|
122
122
|
- - ! '>='
|
@@ -124,10 +124,10 @@ dependencies:
|
|
124
124
|
version: '0'
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
|
-
version_requirements: *
|
127
|
+
version_requirements: *2153187400
|
128
128
|
- !ruby/object:Gem::Dependency
|
129
129
|
name: realweb
|
130
|
-
requirement: &
|
130
|
+
requirement: &2153185060 !ruby/object:Gem::Requirement
|
131
131
|
none: false
|
132
132
|
requirements:
|
133
133
|
- - ~>
|
@@ -135,10 +135,10 @@ dependencies:
|
|
135
135
|
version: 0.1.4
|
136
136
|
type: :development
|
137
137
|
prerelease: false
|
138
|
-
version_requirements: *
|
138
|
+
version_requirements: *2153185060
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rack-client
|
141
|
-
requirement: &
|
141
|
+
requirement: &2153206000 !ruby/object:Gem::Requirement
|
142
142
|
none: false
|
143
143
|
requirements:
|
144
144
|
- - ! '>='
|
@@ -146,7 +146,7 @@ dependencies:
|
|
146
146
|
version: '0'
|
147
147
|
type: :development
|
148
148
|
prerelease: false
|
149
|
-
version_requirements: *
|
149
|
+
version_requirements: *2153206000
|
150
150
|
description: Shoot The Other Node In The Head (with a nerf gun)
|
151
151
|
email: awsmdev@engineyard.com
|
152
152
|
executables:
|