capistrano-pumaio 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
3
  gem "capistrano", ">= 2.15.5"
4
- gem 'capistrano-base_helper', ">= 0.0.9"
4
+ gem 'capistrano-base_helper', ">= 0.0.10"
5
5
 
6
6
  group :development do
7
7
  gem "bundler", ">= 1.3.0"
data/Gemfile.lock CHANGED
@@ -9,10 +9,10 @@ GEM
9
9
  net-sftp (>= 2.0.0)
10
10
  net-ssh (>= 2.0.14)
11
11
  net-ssh-gateway (>= 1.1.0)
12
- capistrano-base_helper (0.0.9)
12
+ capistrano-base_helper (0.0.10)
13
13
  capistrano (>= 2.15.5)
14
- faraday (0.8.7)
15
- multipart-post (~> 1.1)
14
+ faraday (0.8.8)
15
+ multipart-post (~> 1.2.0)
16
16
  git (1.2.5)
17
17
  github_api (0.10.1)
18
18
  addressable
@@ -65,5 +65,5 @@ PLATFORMS
65
65
  DEPENDENCIES
66
66
  bundler (>= 1.3.0)
67
67
  capistrano (>= 2.15.5)
68
- capistrano-base_helper (>= 0.0.9)
68
+ capistrano-base_helper (>= 0.0.10)
69
69
  jeweler (~> 1.8.6)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.15
1
+ 0.0.16
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "capistrano-pumaio"
8
- s.version = "0.0.15"
8
+ s.version = "0.0.16"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Leif Ringstad"]
@@ -49,18 +49,18 @@ Gem::Specification.new do |s|
49
49
 
50
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
51
  s.add_runtime_dependency(%q<capistrano>, [">= 2.15.5"])
52
- s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.9"])
52
+ s.add_runtime_dependency(%q<capistrano-base_helper>, [">= 0.0.10"])
53
53
  s.add_development_dependency(%q<bundler>, [">= 1.3.0"])
54
54
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.6"])
55
55
  else
56
56
  s.add_dependency(%q<capistrano>, [">= 2.15.5"])
57
- s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.9"])
57
+ s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.10"])
58
58
  s.add_dependency(%q<bundler>, [">= 1.3.0"])
59
59
  s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
60
60
  end
61
61
  else
62
62
  s.add_dependency(%q<capistrano>, [">= 2.15.5"])
63
- s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.9"])
63
+ s.add_dependency(%q<capistrano-base_helper>, [">= 0.0.10"])
64
64
  s.add_dependency(%q<bundler>, [">= 1.3.0"])
65
65
  s.add_dependency(%q<jeweler>, ["~> 1.8.6"])
66
66
  end
@@ -7,11 +7,11 @@
7
7
  # <% c = Capistrano::BaseHelper.get_capistrano_instance %>
8
8
  # Variable name setup
9
9
  <%
10
- exit_code = "EXIT_CODE_#{Capistrano::BaseHelper.user_app_env_underscore_short}_#{c.fetch(:puma_runit_service_name)}".upcase
11
- exit_status = "EXIT_STATUS_#{Capistrano::BaseHelper.user_app_env_underscore_short}_#{c.fetch(:puma_runit_service_name)}".upcase
12
- min_auto_restart_interval = "MIN_AUTO_RESTART_INTERVAL_#{Capistrano::BaseHelper.user_app_env_underscore_short}_#{c.fetch(:puma_runit_service_name)}".upcase
13
- max_auto_restart_count = "MAX_AUTO_RESTART_COUNT_#{Capistrano::BaseHelper.user_app_env_underscore_short}_#{c.fetch(:puma_runit_service_name)}".upcase
14
- auto_restart_count_clear_interval = "AUTO_RESTART_COUNT_CLEAR_INTERVAL_#{Capistrano::BaseHelper.user_app_env_underscore_short}_#{c.fetch(:puma_runit_service_name)}".upcase
10
+ exit_code = "EXIT_CODE_#{Capistrano::BaseHelper.user_app_env_underscore_short_char_safe}_#{c.fetch(:puma_runit_service_name)}".upcase
11
+ exit_status = "EXIT_STATUS_#{Capistrano::BaseHelper.user_app_env_underscore_short_char_safe}_#{c.fetch(:puma_runit_service_name)}".upcase
12
+ min_auto_restart_interval = "MIN_AUTO_RESTART_INTERVAL_#{Capistrano::BaseHelper.user_app_env_underscore_short_char_safe}_#{c.fetch(:puma_runit_service_name)}".upcase
13
+ max_auto_restart_count = "MAX_AUTO_RESTART_COUNT_#{Capistrano::BaseHelper.user_app_env_underscore_short_char_safe}_#{c.fetch(:puma_runit_service_name)}".upcase
14
+ auto_restart_count_clear_interval = "AUTO_RESTART_COUNT_CLEAR_INTERVAL_#{Capistrano::BaseHelper.user_app_env_underscore_short_char_safe}_#{c.fetch(:puma_runit_service_name)}".upcase
15
15
  %>
16
16
  #
17
17
  # The following variables are set by Runit:
@@ -45,18 +45,18 @@ auto_restart_count_clear_interval = "AUTO_RESTART_COUNT_CLEAR_INTERVAL_#{Capistr
45
45
 
46
46
  # ./run's exit code
47
47
  <%= "#{exit_code}" %>=$1
48
-
48
+
49
49
  # The least significant byte of the exit status as determined by waitpid(2);
50
50
  # for instance it is 0 if ./run exited normally, and the signal number if
51
51
  # ./run was terminated by a signal.
52
52
  <%= "#{exit_status}" %>=$2
53
-
53
+
54
54
  # The minimum delay (in seconds) between automatic restarts
55
55
  <%= "#{min_auto_restart_interval}" %>=<%= c.fetch(:puma_restart_interval) %>
56
-
56
+
57
57
  # The maximum number of automatic restarts allowed
58
58
  <%= "#{max_auto_restart_count}" %>=<%= c.fetch(:puma_restart_count) %>
59
-
59
+
60
60
  # Reset the restart count if <%= "#{auto_restart_count_clear_interval}" %> seconds
61
61
  # have elapsed since the last automatic restart.
62
62
  <%= "#{auto_restart_count_clear_interval}" %>=<%= c.fetch(:puma_autorestart_clear_interval) %>
@@ -68,7 +68,7 @@ export <%= "#{max_auto_restart_count}" %>
68
68
  export <%= "#{auto_restart_count_clear_interval }" %>
69
69
 
70
70
  ### Normally no changes should be made after this point
71
-
71
+
72
72
  echo "<%= "User: #{c.fetch(:user)} Application: #{c.fetch(:application)} Service: #{c.fetch(:puma_runit_service_name)}" %> finish; exit code: $<%= "#{exit_code}" %>; exit status: $<%= "#{exit_status}" %>"
73
73
 
74
74
  if test $<%= "#{exit_code}" %> -eq 0 -a $<%= "#{exit_status}" %> -eq 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-pumaio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.0.9
37
+ version: 0.0.10
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.0.9
45
+ version: 0.0.10
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bundler
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -118,7 +118,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  segments:
120
120
  - 0
121
- hash: -1935874151299383482
121
+ hash: 3016463865802237201
122
122
  required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  none: false
124
124
  requirements: