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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/lib/capistrano/mb/templates/nginx_unicorn.erb +2 -2
- data/lib/capistrano/mb/version.rb +1 -1
- data/lib/capistrano/tasks/dotenv.rake +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55e1b70a10d1db09657da35f125e013147707b3b0b880a4e7e59f3671d1af85a
|
4
|
+
data.tar.gz: 5ef1afea14ef8993d708967112b0d9dba5f72b9b8bdb3db9a0246fd67e5fa029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f072babfa88923b1b2dd88d63ee7e659d3febd098361621affa8a64f5a96553ebf5dce42c344ba8cba74f596955efedf39b7cf9f5605106e04777de182d87aec
|
7
|
+
data.tar.gz: e559f0b152dc54c33c517f9b8e0960ae56cbc8e32f920c827a16f86e91be42ce761b47cf5808d20b9ea1f8d3abfb56cbe3c1d4eafabcec8c81187563558b34dc
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
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.
|
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)
|
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)
|
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
|
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.
|
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-
|
11
|
+
date: 2018-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|