capistrano-clockwork 0.0.4 → 0.0.5

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: bdf163848b54560cfb5e601c80079c58bf8b2047
4
- data.tar.gz: ffe226a84a465376ead440951d33c4c832dd7513
3
+ metadata.gz: e9985554dbcb99d43a757c461bb6376b438373c2
4
+ data.tar.gz: bfc9d7b1acdda2411d1ddb65e03f3cbb1739ef32
5
5
  SHA512:
6
- metadata.gz: 888fe72ee00c903f75474419fcd9fd33f8580fe72790c7f259d514a126e1cb7719c271753418802f33bd5e3c63795ec189ca4b9ac54d427c4b1cf5887b64ffe5
7
- data.tar.gz: cdcfdf832293e20a39ad6deb5c9e4ac67a9aa5a31e33252207f469b43f43a7ecca83528edac2993afd6b00685706ab6f767ebfa9e35363cfd3275904b7da6efb
6
+ metadata.gz: 1beab525475e0fe28150ba61fdeb7a95ac5dc0d1a9fc829ec4e014c9482acdba5fe476eed4b72074136881a9c8ab6a48c6c2bd8693f1fd1422d1fcc7d24e30dc
7
+ data.tar.gz: ddee63dd8fd1c0a88d2bbb7d25bbaf23c9f8102a0504955ccbfa91f5a8a87bab17b4c6a4ba322075e7e6ae3e28111fab7156962c7f3ead8f93b21da9904bed72
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in capistrano-rvm.gemspec
4
- gemspec
3
+ # Specify your gem's dependencies in capistrano-clockwork.gemspec
4
+ gemspec
data/README.md CHANGED
@@ -8,12 +8,15 @@ Integrate clockwork gem with capistrano
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
+ gem 'daemons'
11
12
  gem 'capistrano-clockwork'
12
13
 
13
14
  or:
14
15
 
16
+ gem 'daemons'
15
17
  gem 'capistrano-clockwork', group: :development
16
18
 
19
+ Make sure the daemons gem is required in production.
17
20
  And then execute:
18
21
 
19
22
  $ bundle
@@ -39,14 +42,16 @@ To override the defaults just change it in your Capfile
39
42
  ```ruby
40
43
 
41
44
  set :clockwork_file, "clockwork.rb"
45
+
42
46
  ```
43
47
  ## To remove the default hooks
44
48
 
45
49
  By default the clockwork daemon is restarted everytime you deploy to your server
46
50
  ```ruby
47
51
 
48
- :clockwork_default_hooks = false
52
+ set :clockwork_default_hooks, false
49
53
  ```
54
+
50
55
  ## Other capistrano tasks
51
56
  By default the clockwork daemon is restarted everytime you deploy to your server
52
57
  ```bash
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'capistrano-clockwork'
6
- s.version = '0.0.4'
6
+ s.version = '0.0.5'
7
7
  s.date = '2015-05-12'
8
8
  s.summary = "Capistrano plugin to manage clockwork"
9
9
  s.description = "Capistrano plugin to manage clockwork"
@@ -20,7 +20,7 @@ namespace :clockwork do
20
20
  on roles(:app) do
21
21
  within release_path do
22
22
  with rails_env: fetch(:rails_env) do
23
- execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log stop"
23
+ execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --dir=. --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log stop"
24
24
  end
25
25
  end
26
26
  end
@@ -31,7 +31,7 @@ namespace :clockwork do
31
31
  on roles(:app) do
32
32
  within release_path do
33
33
  with rails_env: fetch(:rails_env) do
34
- execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log status"
34
+ execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --dir=. --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log status"
35
35
  end
36
36
  end
37
37
  end
@@ -42,7 +42,7 @@ namespace :clockwork do
42
42
  on roles(:app) do
43
43
  within release_path do
44
44
  with rails_env: fetch(:rails_env) do
45
- execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log start"
45
+ execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --dir=. --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log start"
46
46
  end
47
47
  end
48
48
  end
@@ -53,7 +53,7 @@ namespace :clockwork do
53
53
  on roles(:app) do
54
54
  within release_path do
55
55
  with rails_env: fetch(:rails_env) do
56
- execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log restart"
56
+ execute :bundle, :exec, :clockworkd, "-c #{fetch(:clockwork_file)} --dir=. --pid-dir=#{cw_pid_dir} --log-dir=#{cw_log_dir} --log restart"
57
57
  end
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-clockwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suraj Shirvankar
@@ -72,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  version: '0'
73
73
  requirements: []
74
74
  rubyforge_project:
75
- rubygems_version: 2.4.6
75
+ rubygems_version: 2.4.8
76
76
  signing_key:
77
77
  specification_version: 4
78
78
  summary: Capistrano plugin to manage clockwork