capistrano-delayed_job 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/capistrano-delayed_job.gemspec +2 -2
- data/templates/runit/finish.erb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fb9322ed6bc1e9a4436826b30d1722bdc05e044
|
4
|
+
data.tar.gz: 93241985a0bb0f41884f3b01899d24709d0c11cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad5a68ee21f517c9c6849b29408889f896b0dc5591213633e479be83895c0e6de53328dd79fc0863e79128d27cc5d59c7c6bbc55cce77ae8153d934ad281b61
|
7
|
+
data.tar.gz: 9c3d28cf1bc2354154e9cf1cbab2b4bfe7656b346fa33c2bfafb83ed6de26c4ff49cb628c500ccd365c0c2a0fa1d7f1fba738976686dcbd9c92c0aa1f7032c94
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: capistrano-delayed_job 3.0.
|
5
|
+
# stub: capistrano-delayed_job 3.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-delayed_job"
|
9
|
-
s.version = "3.0.
|
9
|
+
s.version = "3.0.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/templates/runit/finish.erb
CHANGED
@@ -91,7 +91,7 @@ echo $NOW > last_finish
|
|
91
91
|
|
92
92
|
# Remove the restart_count file if <%= "#{auto_restart_count_clear_interval}" %> seconds
|
93
93
|
# have elapsed since the last automatic restart.
|
94
|
-
if test $INTERVAL -gt $<%= "#{auto_restart_count_clear_interval}" %>
|
94
|
+
if test $INTERVAL -gt "$<%= "#{auto_restart_count_clear_interval}" %>"
|
95
95
|
then
|
96
96
|
echo "NOTICE: <%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{fetch(:tmp_delayed_job_runit_service_name)}" %>"
|
97
97
|
echo "The last automatic restart was $INTERVAL seconds ago."
|
@@ -111,7 +111,7 @@ fi
|
|
111
111
|
echo $RESTART_COUNT > restart_count
|
112
112
|
|
113
113
|
# Check that we have not exceeded the maximum number of automatic restarts
|
114
|
-
if test $RESTART_COUNT -gt $<%= "#{max_auto_restart_count}" %>
|
114
|
+
if test $RESTART_COUNT -gt "$<%= "#{max_auto_restart_count}" %>"
|
115
115
|
then
|
116
116
|
echo "WARNING: <%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{fetch(:tmp_delayed_job_runit_service_name)}" %>"
|
117
117
|
echo "Reached the limit of $<%= "#{max_auto_restart_count}" %> automatic restarts."
|