capistrano-mb 0.34.1 → 0.35.0

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
  SHA256:
3
- metadata.gz: 68f43d084178125f5ab80a57d36d90c12078bdca7448a08c83a755aedbc7364a
4
- data.tar.gz: f3bc5afd5ac6e790f6fd0e27d91279adb100bdaecdf3664ab91c0155b30e7f70
3
+ metadata.gz: 55e1b70a10d1db09657da35f125e013147707b3b0b880a4e7e59f3671d1af85a
4
+ data.tar.gz: 5ef1afea14ef8993d708967112b0d9dba5f72b9b8bdb3db9a0246fd67e5fa029
5
5
  SHA512:
6
- metadata.gz: 85e735269bc0d0e34347e3d508730c73ad6f15bb3cfddae0d22983efbac9ff288d6934fc1000230da21f5d041f972d34d182e98963e0e25fc67216523d10c218
7
- data.tar.gz: d76339732d9c69adc2d480046ce8501ccf50b7202ac1d1d30533c902c1e2efc8ebd4cadfd09c015b8f3d61c5ca8518b7febf3f422ecc1070e469f65b54c9f107
6
+ metadata.gz: f072babfa88923b1b2dd88d63ee7e659d3febd098361621affa8a64f5a96553ebf5dce42c344ba8cba74f596955efedf39b7cf9f5605106e04777de182d87aec
7
+ data.tar.gz: e559f0b152dc54c33c517f9b8e0960ae56cbc8e32f920c827a16f86e91be42ce761b47cf5808d20b9ea1f8d3abfb56cbe3c1d4eafabcec8c81187563558b34dc
@@ -2,6 +2,11 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## [0.35.0][] (2018-09-03)
6
+
7
+ * Update x-sendfile configuration so that it works with Sidekiq's assets
8
+ * Move `dotenv:update` earlier in the deploy process so that new settings can be configured prior to the Rails app loading via `assets:precompile` or `db:migrate`
9
+
5
10
  ## [0.34.1][] (2018-07-08)
6
11
 
7
12
  * [#18](https://github.com/mattbrictson/capistrano-mb/pull/18): Use `tee` to fix a problem where certain provisioning steps would fail for a non-root user
@@ -211,7 +216,8 @@ Flush console output after each line is printed. This allows deployment progress
211
216
 
212
217
  Initial Rubygems release!
213
218
 
214
- [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.34.1...HEAD
219
+ [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.35.0...HEAD
220
+ [0.35.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.34.1...v0.35.0
215
221
  [0.34.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.34.0...v0.34.1
216
222
  [0.34.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.33.0...v0.34.0
217
223
  [0.33.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.32.0...v0.33.0
data/README.md CHANGED
@@ -80,7 +80,7 @@ group :development do
80
80
  gem "capistrano-bundler", :require => false
81
81
  gem "capistrano-rails", :require => false
82
82
  gem "capistrano", "~> 3.10", :require => false
83
- gem "capistrano-mb", "~> 0.34.1" :require => false
83
+ gem "capistrano-mb", "~> 0.35.0" :require => false
84
84
  end
85
85
  ```
86
86
 
@@ -78,7 +78,7 @@ upstream unicorn_<%= application_basename %> {
78
78
  # @unicorn config below.
79
79
  location /__send_file_accel {
80
80
  internal;
81
- alias <%= fetch(:deploy_to) %>/releases;
81
+ alias <%= fetch(:deploy_to) %>;
82
82
  }
83
83
 
84
84
  include /etc/nginx/<%= application_basename%>-locations/*;
@@ -105,7 +105,7 @@ upstream unicorn_<%= application_basename %> {
105
105
 
106
106
  # send_file support
107
107
  proxy_set_header X-Sendfile-Type X-Accel-Redirect;
108
- proxy_set_header X-Accel-Mapping <%= fetch(:deploy_to) %>/releases/=/__send_file_accel/;
108
+ proxy_set_header X-Accel-Mapping <%= fetch(:deploy_to) %>/=/__send_file_accel/;
109
109
 
110
110
  # enable caching (honors cache-control headers sent by Rails)
111
111
  # lock and use_stale help prevent a cache stampede
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.34.1".freeze
3
+ VERSION = "0.35.0".freeze
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  mb_recipe :dotenv do
2
2
  during "provision", "update"
3
- prior_to "deploy:publishing", "update"
3
+ during "deploy:updating", "update"
4
4
  end
5
5
 
6
6
  namespace :mb do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-mb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.1
4
+ version: 0.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-08 00:00:00.000000000 Z
11
+ date: 2018-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano