ms_deploy 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ms_deploy/recipes/monitoring.rb +12 -0
- data/lib/ms_deploy/version.rb +1 -1
- metadata +9 -8
@@ -0,0 +1,12 @@
|
|
1
|
+
Capistrano::Configuration.instance.load do
|
2
|
+
|
3
|
+
desc "tail production log files"
|
4
|
+
task :tail_logs, :roles => :app do
|
5
|
+
run "tail -f #{shared_path}/log/*.log" do |channel, stream, data|
|
6
|
+
trap("INT") { puts 'Interupted'; exit 0; }
|
7
|
+
puts # for an extra line break before the host name
|
8
|
+
puts "#{channel[:host]}: #{data}"
|
9
|
+
break if stream == :err
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
data/lib/ms_deploy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ms_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
|
-
requirement: &
|
16
|
+
requirement: &84089720 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *84089720
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: capistrano-ext
|
27
|
-
requirement: &
|
27
|
+
requirement: &84089390 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *84089390
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: erubis
|
38
|
-
requirement: &
|
38
|
+
requirement: &84088970 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *84088970
|
47
47
|
description: capistrano deployment task for my projects
|
48
48
|
email:
|
49
49
|
- michael.schiller@gmx.de
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- lib/ms_deploy/recipes/deploy/symlink.rb
|
64
64
|
- lib/ms_deploy/recipes/deploy/unicorn.rb
|
65
65
|
- lib/ms_deploy/recipes/info.rb
|
66
|
+
- lib/ms_deploy/recipes/monitoring.rb
|
66
67
|
- lib/ms_deploy/recipes/nginx.rb
|
67
68
|
- lib/ms_deploy/recipes/redis.rb
|
68
69
|
- lib/ms_deploy/recipes/whenever.rb
|