capistrano-mb 0.31.0 → 0.32.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
  SHA1:
3
- metadata.gz: 13018566887440950e1972872f1e386738fed32a
4
- data.tar.gz: 552f540aafb63cb054544caf30364b42bfa21976
3
+ metadata.gz: 88fdfaf1342d807f27c8f0e23b2b8ecd25dc5710
4
+ data.tar.gz: a9c1acf1815578c0aec59babf82f28a93db04560
5
5
  SHA512:
6
- metadata.gz: a13aa35ca383b18a16663bd18855d6119bcb771c5af7452d5b2c03a80fa1a1bf158c3ff8ff06ef270c436e53fd2b6882a7df67535f5002b671b05cd4ce8706a9
7
- data.tar.gz: e8bc4071f4577399c6e10e6aa3b170e0f54976f06306126032c367bf03d420665df15c57f665f2b1627d72640e2a90d12ba55ef61eadcf0c985a83f902e4349c
6
+ metadata.gz: e041aa2192c955e1d92769232caac5536f26121fccad9a6abd92fdcae0403969aaef2c362ba9be71e13f081aea5c7d39a775f64b119a18a6b28525487da6b4ce
7
+ data.tar.gz: c95928fbb58a408d8a55403cb0f1bd98468cd3fcbc8216819daf109f0e57a2d54fe683472d0b6fb4b4a4a0a3ba46f956a77f9de2fbfa90948c6302982473857f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## [0.32.0][] (2017-05-26)
6
+
7
+ * Add [immutable cache-control header](https://code.facebook.com/posts/557147474482256) to further boost performance of static assets
8
+ * Prefer IPv4 when fetching apt repo keys
9
+
5
10
  ## [0.31.0][] (2016-10-14)
6
11
 
7
12
  * Ensure `software-properties-common` package is installed during `provision:14_04` so that `apt-add-repository` works.
@@ -188,7 +193,8 @@ Flush console output after each line is printed. This allows deployment progress
188
193
 
189
194
  Initial Rubygems release!
190
195
 
191
- [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.31.0...HEAD
196
+ [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.32.0...HEAD
197
+ [0.32.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.31.0...v0.32.0
192
198
  [0.31.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.30.0...v0.31.0
193
199
  [0.30.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.29.0...v0.30.0
194
200
  [0.29.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.28.0...v0.29.0
@@ -64,6 +64,7 @@ upstream unicorn_<%= application_basename %> {
64
64
  gzip_static on;
65
65
  expires max;
66
66
  add_header Cache-Control public;
67
+ add_header Cache-Control immutable;
67
68
  }
68
69
 
69
70
  # Gzip for all assets
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.31.0".freeze
3
+ VERSION = "0.32.0".freeze
4
4
  end
5
5
  end
@@ -75,7 +75,7 @@ namespace :mb do
75
75
  execute :sudo, "apt-add-repository", "-y '#{repo}'"
76
76
 
77
77
  if (key = options.fetch(:key, nil))
78
- execute "wget --quiet -O - #{key} | sudo apt-key add -"
78
+ execute "wget --prefer-family=IPv4 --quiet -O - #{key} | sudo apt-key add -"
79
79
  end
80
80
  end
81
81
 
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.31.0
4
+ version: 0.32.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: 2016-10-15 00:00:00.000000000 Z
11
+ date: 2017-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 2.6.7
161
+ rubygems_version: 2.6.12
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: Additional Capistrano 3 recipes