simple-capistrano-unicorn 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## v 0.0.6: Added a debug-task to see which variables this gem sees
2
+
1
3
  ## v 0.0.5: Lets the user specify Unicorn command.
2
4
 
3
5
  ## v 0.0.4: Removal of unused variables, and making sure that we don't try to delete pids that aren't there.
@@ -126,6 +126,17 @@ module SimpleCapistranoUnicorn
126
126
  clean_old_unicorn(server)
127
127
  end
128
128
  end
129
+
130
+ desc "Prints out variables that this gem listens for"
131
+ task :debug do
132
+ logger.info "unicorn_pid:\t#{fetch(:unicorn_pid)}"
133
+ logger.info "unicorn_old_pid:\t#{fetch(:unicorn_old_pid)}"
134
+ logger.info "unicorn_config:\t#{fetch(:unicorn_config)}"
135
+ logger.info "unicorn_log:\t#{fetch(:unicorn_log)}"
136
+ logger.info "use_bundler:\t#{fetch(:use_bundler)}"
137
+ logger.info "rails_env: \t#{fetch(:rails_env)}"
138
+ logger.info "unicorn_command:\t#{fetch(:unicorn_command)}"
139
+ end
129
140
  end
130
141
  end
131
142
  end
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Unicorn
3
3
  module Methods
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-capistrano-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake