README.md in capistrano3-puma-0.1.0 vs README.md in capistrano3-puma-0.1.2
- old
+ new
@@ -1,7 +1,9 @@
# Capistrano::Puma
+In the current version the gem will expect a puma.rb in the shared directory, if it does not find puma.rb in the expected place it will automatically generate one with sane defaults. Keep in mind this means a puma.rb in the config directory or subdirectories will be ignored. During preparation for deployment you must start the process initially with bundle exec cap $stage puma:start , after starting the process bundle exec cap $stage deploy will work without hanging. The need to start the process initially will be addressed in a future release.
+
## Installation
Add this line to your application's Gemfile:
gem 'capistrano-puma', github: "seuros/capistrano-puma"
@@ -21,11 +23,12 @@
require 'capistrano/puma'
require 'capistrano/puma/jungle' #if you need the jungle tasks
```
-Configurable options, shown here with defaults:
+Configurable options, shown here with defaults: Please note the configuration options below are not required unless you are trying to override a default setting, for instance if you are deploying on a host on which you do not have sudo or root privileges and you need to restrict the path. These settings go in the deploy.rb file.
+
```ruby
set :puma_state, "#{shared_path}/tmp/pids/puma.state"
set :puma_pid, "#{shared_path}/tmp/pids/puma.pid"
set :puma_bind, "unix://#{shared_path}/tmp/sockets/puma.sock"
set :puma_conf, "#{shared_path}/puma.rb"
@@ -45,19 +48,22 @@
tmp/pids tmp/sockets log
## Changelog
+- 0.1.2: Gemfile are refreshed between deploys now
+- 0.1.1: Initial support for Monit and configuration override added.
- 0.1.0: Phased restart will be used if puma is in cluster mode
- 0.0.9: puma.rb location changed to shared_path root. puma:check moved to after deploy:check
- 0.0.8: puma.rb is automatically generated if not present. Fixed RVM issue.
- 0.0.7: Gem pushed to rubygems as capistrano3-puma. Support of Redhat based OS for Jungle init script.
## Contributors
-[molfar](https://github.com/molfar)
-[ayaya](https://github.com/ayamomiji)
-[Shane O'Grady](https://github.com/shaneog)
+- [Ruohan Chen] (https://github.com/crhan)
+- [molfar](https://github.com/molfar)
+- [ayaya](https://github.com/ayamomiji)
+- [Shane O'Grady](https://github.com/shaneog)
## Contributing
1. Fork it