vlad-status 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,6 @@ require 'hoe'
6
6
  Hoe.plugin :hg
7
7
 
8
8
  Hoe.spec 'vlad-status' do
9
- #self.rubyforge_name = 'vlad-status'
10
9
  developer('Joshua P. Mervine', 'joshua@mervine.net')
11
10
  extra_deps << ['vlad', '~> 2.0']
12
11
  clean_globs << '.yardoc'
@@ -2,7 +2,7 @@ require 'vlad'
2
2
 
3
3
  module Vlad
4
4
  module Status
5
- VERSION = '0.0.1' #:nodoc:
5
+ VERSION = '0.0.2' #:nodoc:
6
6
  end
7
7
  end
8
8
 
@@ -29,18 +29,14 @@ namespace :vlad do
29
29
 
30
30
  end
31
31
 
32
- namespace :web do
33
- desc "Status of web servers."
34
- remote_task :status, :roles => :web do
35
- run status_cmd(web.to_s)
36
- end
32
+ desc "Status of web servers."
33
+ remote_task :status_web do
34
+ run status_cmd(web.to_s)
37
35
  end
38
36
 
39
- namespace :app do
40
- desc "Status of app servers."
41
- remote_task :status, :roles => :app do
42
- run status_cmd(app.to_s)
43
- end
37
+ desc "Status of app servers."
38
+ remote_task :status_app do
39
+ run status_cmd(app.to_s)
44
40
  end
45
41
 
46
42
  end
@@ -1,8 +1,9 @@
1
1
  require "test/unit"
2
- require "vlad/push"
2
+ require "vlad/status"
3
3
 
4
4
  class TestVladPush < Test::Unit::TestCase
5
5
  def test_sanity
6
- flunk "write tests or I will kneecap you"
6
+ assert system("rake -T vlad")
7
+ assert system("rake -T vald | grep status")
7
8
  end
8
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vlad-status
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua P. Mervine