panter-rails-deploy 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f517c03daaf74f3d0e84528bd8af3bf69e6fc56f
4
- data.tar.gz: 38ccdb046229378e0854b9010412b5b5eede223e
3
+ metadata.gz: 648de7c9fb2ef1d18343cc8f61d675c658992468
4
+ data.tar.gz: eab66a4597e97a8a9c284c043eff2b1a0df4ede1
5
5
  SHA512:
6
- metadata.gz: 7f0ea3b6208cd34179b5512053232b48a0bbb746b2408e7a8a9e50c5258aa58ce53bc7a20a55c6069caed33d376222fac9ecce1f13b91d23c58a40cb2e496cda
7
- data.tar.gz: d00cd1a847ee56902e51ceddd794af728dbbc5fba10145f29b963637b01b2c22da3bf1e5a546c003166c1552327f1c21babba4fee8e4595d5ae0cfa86c94698e
6
+ metadata.gz: 442922f4cd348ffd181ebe3c55c1005048d2408ead26987ee40780a74df7afe3e4278c67d42b793104bb6706136a0c3dec21e4c5dad8ade041d12d4b48aec84d
7
+ data.tar.gz: a4ab3407c6a2ccb3e877eac0981d6f96a811a64694b904dc57a99aeffe1685f2b80e03031010794cea2a0b4d2ec52b27405b8cc25a1a7641b1fd53922aafb7b7
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ ### v1.3.1
2
+
3
+ - Our Unicorn setup in cdist now supports zero-downtime Ruby/Unicorn upgrades, so this gem now uses `graceful-restart` on deploys (no changes required in the application)
4
+
5
+ ### v1.3.0
6
+
7
+ - This gem now requires at least Capistrano 3.5
8
+
9
+ ### v1.2.0
10
+
11
+ - This gem now requires at least Ruby 2.0.0
data/README.md CHANGED
@@ -88,5 +88,3 @@ Using `dotenv` is the [recommended approach](http://12factor.net/config) to stor
88
88
  ```ruby
89
89
  append :linked_files, '.env'
90
90
  ```
91
-
92
- - The `fetch(..., []).push(...)` approach is needed for `:linked_files` and `:linked_dirs` to keep the values added by this Gem
@@ -7,7 +7,7 @@ namespace :load do
7
7
  set :log_level, :info
8
8
 
9
9
  set :linked_files, %w[ config/database.yml ]
10
- set :linked_dirs, %w[ log tmp/cache tmp/pids ]
10
+ set :linked_dirs, %w[ log tmp/cache tmp/pids tmp/sockets ]
11
11
 
12
12
  # Setup capistrano-rails
13
13
  set :rails_env, 'production'
@@ -21,10 +21,10 @@ namespace :load do
21
21
  end
22
22
 
23
23
  namespace :deploy do
24
- after :restart, :clear_cache do
24
+ after :restart, :restart_unicorn do
25
25
  on roles(:app), in: :sequence do
26
26
  with rails_env: fetch(:rails_env) do
27
- execute '$HOME/bin/unicorn_wrapper', 'restart'
27
+ execute '$HOME/bin/unicorn_wrapper', 'graceful-restart'
28
28
  end
29
29
  end
30
30
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'panter-rails-deploy'
3
- gem.version = '1.3.0'
3
+ gem.version = '1.3.1'
4
4
  gem.date = '2016-07-26'
5
5
  gem.summary = 'Capistrano setup for Panter Rails Hosting'
6
6
  gem.authors = [ 'Markus Koller', 'Beat Seeliger' ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panter-rails-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Koller
@@ -145,6 +145,7 @@ extra_rdoc_files: []
145
145
  files:
146
146
  - ".gitignore"
147
147
  - ".ruby-version"
148
+ - CHANGELOG.md
148
149
  - Gemfile
149
150
  - LICENSE
150
151
  - README.md