README.md in capistrano3-puma-0.4.2 vs README.md in capistrano3-puma-0.5.0
- old
+ new
@@ -6,11 +6,11 @@
gem 'capistrano3-puma', github: "seuros/capistrano-puma"
or:
- gem 'capistrano3-puma'
+ gem 'capistrano3-puma' , group: :development
And then execute:
$ bundle
@@ -45,15 +45,30 @@
For Jungle tasks (beta), these options exist:
```ruby
set :puma_jungle_conf, '/etc/puma.conf'
set :puma_run_path, '/usr/local/bin/run-puma'
```
+
+Multi-bind can be set with an array in the puma_bind variable
+```ruby
+ set :puma_bind, %w(tcp://0.0.0.0:9292 unix:///tmp/puma.sock)
+```
+ * Listening on tcp://0.0.0.0:9220
+ * Listening on unix:///tmp/puma.sock
+
+
+For ActiveRecord the following line to your deploy.rb
+```ruby
+ set :puma_init_active_record, true
+```
+
Ensure that the following directories are shared (via ``linked_dirs``):
tmp/pids tmp/sockets log
## Changelog
+- 0.5.0: Bugs fixes
- 0.4.2: Fix monit template to support chruby
- 0.4.1: Fix puma jungle (debian)
- 0.4.0: Multi-bind support
- 0.3.7: Dependency bug fix
- 0.3.5: Fixed a prehistoric bug
@@ -80,10 +95,10 @@
- [Ruohan Chen] (https://github.com/crhan)
- [molfar](https://github.com/molfar)
- [ayaya](https://github.com/ayamomiji)
- [Shane O'Grady](https://github.com/shaneog)
-
+- [Jun Lin](https://github.com/linjunpop)
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)