capistrano-pumaio 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-pumaio.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: 28f2f643848071b61e0f09c194bf3e64f3e25250
|
4
|
+
data.tar.gz: f4a8f4d268a36ad2c77308fdebc7fd1bf095af1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b44351b1f634e795738d84ff362f5f80eefe505e150bf54791da2385befc7f432898d96bb2749262084d0d528899d42e5b2e5278b8b2e03fd5ffbc1182d5defc
|
7
|
+
data.tar.gz: 9361019cb5ae4339ff18c9d8b2f148a19190e862e287a23449515fa30c9445c1ffc6141b288c7b311111598f80b0d0e29b3b041d0594f8d09fecabc0680c732a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1
|
data/capistrano-pumaio.gemspec
CHANGED
@@ -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-pumaio 3.0.
|
5
|
+
# stub: capistrano-pumaio 3.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "capistrano-pumaio"
|
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
@@ -89,7 +89,7 @@ echo $NOW > last_finish
|
|
89
89
|
|
90
90
|
# Remove the restart_count file if <%= "#{auto_restart_count_clear_interval}" %> seconds
|
91
91
|
# have elapsed since the last automatic restart.
|
92
|
-
if test $INTERVAL -gt $<%= "#{auto_restart_count_clear_interval}" %>
|
92
|
+
if test $INTERVAL -gt "$<%= "#{auto_restart_count_clear_interval}" %>"
|
93
93
|
then
|
94
94
|
echo "NOTICE: <%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{fetch(:puma_runit_service_name)}" %>"
|
95
95
|
echo "The last automatic restart was $INTERVAL seconds ago."
|
@@ -109,7 +109,7 @@ fi
|
|
109
109
|
echo $RESTART_COUNT > restart_count
|
110
110
|
|
111
111
|
# Check that we have not exceeded the maximum number of automatic restarts
|
112
|
-
if test $RESTART_COUNT -gt $<%= "#{max_auto_restart_count}" %>
|
112
|
+
if test $RESTART_COUNT -gt "$<%= "#{max_auto_restart_count}" %>"
|
113
113
|
then
|
114
114
|
echo "WARNING: <%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{fetch(:puma_runit_service_name)}" %>"
|
115
115
|
echo "Reached the limit of $<%= "#{max_auto_restart_count}" %> automatic restarts."
|