capistrano-unformatt 1.4 → 1.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: 11fe1888ec771d048781e8ab473e31b12689e420
4
- data.tar.gz: 536d1c10d068df516d28495a316bd82002405261
3
+ metadata.gz: c2918452e86a76b981eb3cafadc8fa96c27790f9
4
+ data.tar.gz: 502276582f9866f6ae6b3d0e0ba8f510157a0b4d
5
5
  SHA512:
6
- metadata.gz: ab5a8c6106090f82cef49cb967b6ef3ad1e75d2398e14e97c5ba3ad34010267214d8add3131e0a6a0c99571547c2050a61c71f3c03d71d26ff51a2f375cfc861
7
- data.tar.gz: 466bbd8bce1604115e9322a0976f3e905f8951bbd4bc820010a3646ddb2d2c8cc90727ea56ddd1a45988cb81cc3c8596678de3cfa22c5c505ac548d9a4ca100b
6
+ metadata.gz: ce7c77db67e8cacd38f6a4553b3fad6f81e2dbbb7e81734fb4df375501fcb41f2a5f5e0245a24f1eb3bd7c6381c6370fb0ad74a3469b83eee6ddd0dea106a7b7
7
+ data.tar.gz: 7816fa073c0d5fda5ed658c51404d5716ccd3c07e61c039556982b9eeb17ebd77c09f3177d22c737552a5a637b7cf3cd00661f362e12ff73884c6bb16d6c9080
data/CHANGELOG.md CHANGED
@@ -41,3 +41,7 @@
41
41
  ## v1.4
42
42
 
43
43
  * Move files without prompt overwrite on setup
44
+
45
+ ## v1.5
46
+
47
+ * Changes on sidekiq method to reject new jobs
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-unformatt"
7
- spec.version = '1.4'
7
+ spec.version = '1.5'
8
8
  spec.authors = ["unformatt"]
9
9
  spec.email = ["unformatt@gmail.com"]
10
10
  spec.description = "Custom recipes for Unformatt projects"
@@ -22,9 +22,9 @@ namespace :deploy do
22
22
  end
23
23
 
24
24
  desc "Rejects new sidekiq jobs"
25
- task :reject_jobs do
25
+ task :reject_new_jobs do
26
26
  on roles :app do
27
- execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq reject_jobs"
27
+ execute "#{fetch(:daemons_path)}/#{fetch(:application)}-sidekiq reject_new_jobs"
28
28
  end
29
29
  end
30
30
  end
@@ -60,7 +60,7 @@ case "$1" in
60
60
  $0 start
61
61
  ;;
62
62
 
63
- reject_jobs)
63
+ reject_new_jobs)
64
64
  echo -ne "<%= "Rejecting new jobs #{fetch(:application)}-sidekiq..." %>"
65
65
 
66
66
  if [ -z "$(getPID)" ]; then
@@ -73,6 +73,6 @@ case "$1" in
73
73
  ;;
74
74
 
75
75
  *)
76
- echo "usage: $0 {start|stop|restart|reject_jobs}"
76
+ echo "usage: $0 {start|stop|restart|reject_new_jobs}"
77
77
  esac
78
78
  exit 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-unformatt
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.4'
4
+ version: '1.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unformatt