capistrano-mb 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0bf12dd707d6d24d97510271923e2b808551369
4
- data.tar.gz: d82f49ab413a40e89639974be522fbb6aeee89e0
3
+ metadata.gz: 89cce0c20944d7bf15c5acb463f30771cbbedac8
4
+ data.tar.gz: c383f55d6b822f858552c295d3cb8cf32e00744d
5
5
  SHA512:
6
- metadata.gz: ff8b4895ffa87304bacdef0279caa8db45a7f0dd42215653c7ded17a7e5bec2800a7596bb8d0027f29f6927706a5f34c64c3fdce94e2d90400c630d460ce3c69
7
- data.tar.gz: 89e74b626f258c05ff2c499cf91da747c25c9ae71d48b62b655930879405a6e2b3cd6aa3189c40f833aed1be2672220c71c8a709742a6803c818b420bcb740c5
6
+ metadata.gz: 4fb4c33da818549e8cca4e49af3e8cadf37c910067fe0242a3ab326200b6aaae3767541b969e27ff5c1eb521715113dfa10711849b111bd6fa430a788cc961f5
7
+ data.tar.gz: 0e406ca4e7d33480eaeebc8ad669390e6a7f5e5c5c6a4819474f404e85432a8f470b39b59d051f04bd2715329931cfe0fa4711deb7bd7163720b1b4b7f91534f
data/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- ## Next release
1
+ ## [Unreleased][]
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## [0.23.1][] (2015-08-08)
6
+
7
+ * Ensure gzip is enable for all assets, not just fingerprinted ones.
8
+
5
9
  ## [0.23.0][] (2015-07-10)
6
10
 
7
11
  This release introduces a `bundler` recipe that automatically installs or upgrades bundler using `gem install bundler` during `cap deploy`. To disable this behavior:
@@ -133,7 +137,8 @@ Flush console output after each line is printed. This allows deployment progress
133
137
 
134
138
  Initial Rubygems release!
135
139
 
136
- [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.23.0...HEAD
140
+ [Unreleased]: https://github.com/mattbrictson/capistrano-mb/compare/v0.23.1...HEAD
141
+ [0.23.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.23.0...v0.23.1
137
142
  [0.23.0]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.2...v0.23.0
138
143
  [0.22.2]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.1...v0.22.2
139
144
  [0.22.1]: https://github.com/mattbrictson/capistrano-mb/compare/v0.22.0...v0.22.1
@@ -59,11 +59,16 @@ upstream unicorn_<%= application_basename %> {
59
59
  <% end %>
60
60
  <% end %>
61
61
 
62
- # Far-future expires and gzip for fingerprinted assets
62
+ # Far-future expires for fingerprinted assets
63
63
  location ~ "/<%= fetch(:assets_prefix, "assets") %>/.*-[0-9a-f]{32}.*" {
64
64
  gzip_static on;
65
65
  expires max;
66
66
  add_header Cache-Control public;
67
+ }
68
+
69
+ # Gzip for all assets
70
+ location ~ ^/(<%= fetch(:assets_prefix, "assets") %>)/ {
71
+ gzip_static on;
67
72
  break;
68
73
  }
69
74
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module MB
3
- VERSION = "0.23.0"
3
+ VERSION = "0.23.1"
4
4
  end
5
5
  end
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.23.0
4
+ version: 0.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano