eye-patch 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c67ea00ce5acf6b770d2432fa1259fbf1c400f6d
4
- data.tar.gz: 9af06994b60b4d72344f8370eaaea8aa63acdabb
3
+ metadata.gz: fa3f944d90fb6e80960b4b9202c30c488fc3ac4c
4
+ data.tar.gz: 47d532b023bbce9d8142fd15b264e150fd2ef727
5
5
  SHA512:
6
- metadata.gz: 61a31c56c3d8c493085f0bf8a370644a52e215dde0fb76ae52f10c142f83aa185cacbcc2dac51600dd7c3d43ce9552338e1bd14354449361a72ba7a84ce2cc90
7
- data.tar.gz: ee3ffef88c5c60f49af92d74f0851c7004a088863a8ea3bd0c6afc39a9c6f17dc02a2b61907fc9fbfb1751ec6584fe58abb518e891c8438d845db14f0aadee84
6
+ metadata.gz: ab0cb2cf3183db6ef3c134b15f397f474c486fd73bf0db989b9b658b408091731e6a1cca0cd171a42eb6e8962f66a00e1d428d9d38453674a451a518ca949547
7
+ data.tar.gz: feb56def454753b2b848d7fb42d73e31da936d2ee42fd94efc354451d3846056ea809a5f03c7bde3adb276a3e855e8ebe5fe33a415793399ebecaa8f307eede5
@@ -15,17 +15,19 @@ Capistrano::Configuration.instance.load do
15
15
 
16
16
  desc "Start eye with the desired configuration file"
17
17
  task :load_config, roles: -> { fetch(:eye_roles) } do
18
- run "cd #{current_path} && #{fetch(:eye_bin)} q && #{fetch(:eye_bin)} l #{fetch(:eye_config)}"
18
+ run "cd #{current_path} && #{fetch(:eye_bin)} quit"
19
+ run "cd #{current_path} && #{fetch(:eye_bin)} load #{fetch(:eye_config)}"
19
20
  end
20
21
 
21
22
  desc "Stop eye and all of its monitored tasks"
22
23
  task :stop, roles: -> { fetch(:eye_roles) } do
23
- run "cd #{current_path} && #{fetch(:eye_bin)} stop all && #{fetch(:eye_bin)} q"
24
+ run "cd #{current_path} && #{fetch(:eye_bin)} stop all"
25
+ run "cd #{current_path} && #{fetch(:eye_bin)} quit"
24
26
  end
25
27
 
26
28
  desc "Restart all tasks monitored by eye"
27
29
  task :restart, roles: -> { fetch(:eye_roles) } do
28
- run "cd #{current_path} && #{fetch(:eye_bin)} r all"
30
+ run "cd #{current_path} && #{fetch(:eye_bin)} restart all"
29
31
  end
30
32
  end
31
33
 
@@ -19,8 +19,8 @@ namespace :eye do
19
19
  on roles(fetch(:eye_roles)) do
20
20
  within current_path do
21
21
  with fetch(:eye_env) do
22
- execute fetch(:eye_bin), "q"
23
- execute fetch(:eye_bin), "l #{fetch(:eye_config)}"
22
+ execute fetch(:eye_bin), "quit"
23
+ execute fetch(:eye_bin), "load #{fetch(:eye_config)}"
24
24
  end
25
25
  end
26
26
  end
@@ -32,7 +32,7 @@ namespace :eye do
32
32
  within current_path do
33
33
  with fetch(:eye_env) do
34
34
  execute fetch(:eye_bin), "stop all"
35
- execute fetch(:eye_bin), "q"
35
+ execute fetch(:eye_bin), "quit"
36
36
  end
37
37
  end
38
38
  end
@@ -43,7 +43,7 @@ namespace :eye do
43
43
  on roles(fetch(:eye_roles)) do
44
44
  within current_path do
45
45
  with fetch(:eye_env) do
46
- execute fetch(:eye_bin), "r all"
46
+ execute fetch(:eye_bin), "restart all"
47
47
  end
48
48
  end
49
49
  end
@@ -1,5 +1,5 @@
1
1
  module Eye
2
2
  module Patch
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eye-patch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Horner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eye