capistrano-eye 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-eye.gemspec +2 -2
- data/lib/capistrano-eye.rb +0 -0
- data/lib/capistrano/tasks/eye.rake +4 -8
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a99dfff22ac7fca7975b6704abb89e2bb71d8c9a
|
4
|
+
data.tar.gz: 29cff9a5ca4649288540c10795ff1f4b7bdd6580
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b624418c22ba87b2426432604751caed43f791f9e87b7e497ed7222fc8e01f9c885d837ee933e4841c7797fde99f9a12f1d2e22aa7af13f2ac16d3033129c6
|
7
|
+
data.tar.gz: 4443063e0f88ab9caee33d7613cad59f9af6acde1b5f4497dafc3e662b04b039ce927b3f7e221f72f23073eec177b6d6542fa1088295ae2a9a38011086c4b590
|
data/capistrano-eye.gemspec
CHANGED
@@ -4,11 +4,11 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'capistrano-eye'
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.2'
|
8
8
|
gem.authors = ['Alex Sergeyev']
|
9
9
|
gem.email = ['alex.sergeyev@gmail.com']
|
10
10
|
gem.summary = %q(Capistrano eye tasks)
|
11
|
-
gem.description = %q(Capistrano tasks
|
11
|
+
gem.description = %q(Capistrano tasks to manage and monitor processes by eye)
|
12
12
|
gem.homepage = 'http://github.com/alexsergeyev/capistrano-eye'
|
13
13
|
gem.license = 'MIT'
|
14
14
|
|
File without changes
|
@@ -2,7 +2,8 @@ namespace :eye do
|
|
2
2
|
task :load do
|
3
3
|
on release_roles(:app) do
|
4
4
|
within(release_path) do
|
5
|
-
execute :
|
5
|
+
execute :mkdir, "-pv", "$HOME/eye"
|
6
|
+
execute :eye, :load, fetch(:eye_config, "./config/#{fetch(:application)}.eye")
|
6
7
|
end
|
7
8
|
end
|
8
9
|
end
|
@@ -10,7 +11,7 @@ namespace :eye do
|
|
10
11
|
%w(start stop restart info).each do |cmd|
|
11
12
|
task cmd.to_sym do
|
12
13
|
on roles(:app) do
|
13
|
-
execute :eye, cmd.to_sym, fetch(:eye_application)
|
14
|
+
execute :eye, cmd.to_sym, fetch(:eye_application, fetch(:application))
|
14
15
|
end
|
15
16
|
end
|
16
17
|
end
|
@@ -19,9 +20,4 @@ namespace :eye do
|
|
19
20
|
before :restart, :load
|
20
21
|
end
|
21
22
|
|
22
|
-
|
23
|
-
task :defaults do
|
24
|
-
set :eye_config, fetch(:eye_config, "./config/#{fetch(:application)}.eye")
|
25
|
-
set :eye_application, fetch(:eye_application, fetch(:application))
|
26
|
-
end
|
27
|
-
end
|
23
|
+
after 'deploy:publishing', 'eye:restart'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-eye
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Sergeyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.2'
|
41
|
-
description: Capistrano tasks
|
41
|
+
description: Capistrano tasks to manage and monitor processes by eye
|
42
42
|
email:
|
43
43
|
- alex.sergeyev@gmail.com
|
44
44
|
executables: []
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- README.md
|
52
52
|
- Rakefile
|
53
53
|
- capistrano-eye.gemspec
|
54
|
+
- lib/capistrano-eye.rb
|
54
55
|
- lib/capistrano/eye.rb
|
55
56
|
- lib/capistrano/tasks/eye.rake
|
56
57
|
homepage: http://github.com/alexsergeyev/capistrano-eye
|