luban-rack 0.2.19 → 0.2.20

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: 5bf88e7778d2933ee4ac2996c7170bc57070b794
4
- data.tar.gz: a6d0e1cb49b714175249f8ab970c4549bdc4f044
3
+ metadata.gz: 4717a8ca233bbf79ff4600c2dc8d4f06ee3cd8c8
4
+ data.tar.gz: b19d6ef6360e56e7949afe3cdf3b0aaf8affbc8d
5
5
  SHA512:
6
- metadata.gz: b091199d458f205a8165048c5febeff645926bdf9f0ea6cba7b21954cd24b3a392ee2441fa981ff4ee35241f920fb5cc253b8a761041f22e6e7ac83284bc379f
7
- data.tar.gz: 2769899d5cfd267ffca02e997296be111f916c6daed979444e23d162c21a4a5979319f97aaf506e68aadc8ce2d8f3fa82cf2b9c570b59905ef323d7191d208c1
6
+ metadata.gz: 99c3f4fac543f942cd8f388b28b771c2012557923d9424d928839e2c145a3bb896bc35657cde31fab9fd28887becb30613acf00c738d0045abb16d9f42437a2d
7
+ data.tar.gz: 625ea9e0def38334a104a11735e56381b834cf009b31643c6532cf1636ef7077c73b89054475ec96efa6285f748e1b7b84c11980899027bbc35869efb98cf1ec
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.20 (Nov 17 2016)
4
+
5
+ Bug fixes:
6
+ * Fixed Nginx proxy configuration for Rails precompiled assets serving
7
+
3
8
  ## Version 0.2.19 (Nov 16 2016)
4
9
 
5
10
  Bug fixes:
@@ -25,7 +25,7 @@ server {
25
25
  # path for static files
26
26
  root <%= public_files_path %>;
27
27
 
28
- location ~ ^/assets/ {
28
+ location ~ ^/assets/(.*)$ {
29
29
  gzip_static on; # to serve pre-gizpped version
30
30
  expires 1y;
31
31
  add_header Cache-Control public;
@@ -29,7 +29,7 @@ server {
29
29
  # path for static files
30
30
  root <%= public_files_path %>;
31
31
 
32
- location ~ ^/assets/ {
32
+ location ~ ^/assets/(.*)$ {
33
33
  gzip_static on; # to serve pre-gizpped version
34
34
  expires 1y;
35
35
  add_header Cache-Control public;
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Applications
4
4
  class Rack
5
- VERSION = '0.2.19'
5
+ VERSION = '0.2.20'
6
6
  end
7
7
  end
8
8
  end
@@ -12,10 +12,6 @@ end
12
12
  if RUBY_VERSION =~ /^1\.8/
13
13
  # Monkey patched to ensure backward compatibility with Ruby 1.8
14
14
  class Puma::Plugin
15
- # Matches
16
- # "C:/Ruby22/lib/ruby/gems/2.2.0/gems/puma-3.0.1/lib/puma/plugin/tmp_restart.rb:3:in `<top (required)>'"
17
- # AS
18
- # C:/Ruby22/lib/ruby/gems/2.2.0/gems/puma-3.0.1/lib/puma/plugin/tmp_restart.rb
19
15
  CALLER_FILE = /
20
16
  \A # start of string
21
17
  .+ # file path (one or more characters)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.19
4
+ version: 0.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2016-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: '0'
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.6.7
127
+ rubygems_version: 2.5.2
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Rack support for Luban