action_dispatch-gz_static 0.0.1 → 0.0.2
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.
- data/README.md +4 -2
- data/action_dispatch-gz_static.gemspec +3 -3
- metadata +6 -12
data/README.md
CHANGED
@@ -6,11 +6,13 @@ precompiler.
|
|
6
6
|
|
7
7
|
If you are using Rails to serve static assets in production, and
|
8
8
|
you are using the asset precompiler, then it is probably a good idea to use this
|
9
|
-
gem. If you running on Heroku's Cedar stack, this includes you.
|
9
|
+
gem. If you are running on Heroku's Cedar stack, this includes you.
|
10
10
|
|
11
11
|
ActionDispatch::GzStatic is a better solution that using Rack::Deflater on your
|
12
12
|
static assets, because this has the undesirable side effect of recompressing
|
13
|
-
assets that are already compressed, such as images.
|
13
|
+
assets that are already compressed, such as images. It is still a good idea to
|
14
|
+
use Rack::Deflater for your app responses, but it should be positioned after
|
15
|
+
Rack::GzStatic in the middleware stack.
|
14
16
|
|
15
17
|
## Installation
|
16
18
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "action_dispatch-gz_static"
|
4
|
-
gem.version = '0.0.
|
4
|
+
gem.version = '0.0.2'
|
5
5
|
gem.authors = ["Jonathan Baudanza"]
|
6
6
|
gem.email = ["jon@jonb.org"]
|
7
7
|
gem.description = %q{Serves the .gz files that are created by the asset precompiler}
|
8
8
|
gem.summary = %q{Serves the .gz files that are created by the asset precompiler}
|
9
9
|
gem.homepage = "https://github.com/jbaudanza/action_dispatch-gz_static"
|
10
10
|
|
11
|
-
gem.add_dependency('actionpack', '>= 3.1.0'
|
12
|
-
gem.add_dependency('railties', '>= 3.1.0'
|
11
|
+
gem.add_dependency('actionpack', '>= 3.1.0')
|
12
|
+
gem.add_dependency('railties', '>= 3.1.0')
|
13
13
|
|
14
14
|
gem.files = `git ls-files`.split($/).collect{ |str| str[0] == '"' ? eval(str) : str }
|
15
15
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_dispatch-gz_static
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,37 +9,31 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-08-23 00:00:00.000000000 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|
17
|
-
requirement: &
|
17
|
+
requirement: &2155076600 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 3.1.0
|
23
|
-
- - <
|
24
|
-
- !ruby/object:Gem::Version
|
25
|
-
version: '4'
|
26
23
|
type: :runtime
|
27
24
|
prerelease: false
|
28
|
-
version_requirements: *
|
25
|
+
version_requirements: *2155076600
|
29
26
|
- !ruby/object:Gem::Dependency
|
30
27
|
name: railties
|
31
|
-
requirement: &
|
28
|
+
requirement: &2155075720 !ruby/object:Gem::Requirement
|
32
29
|
none: false
|
33
30
|
requirements:
|
34
31
|
- - ! '>='
|
35
32
|
- !ruby/object:Gem::Version
|
36
33
|
version: 3.1.0
|
37
|
-
- - <
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '4'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
|
-
version_requirements: *
|
36
|
+
version_requirements: *2155075720
|
43
37
|
description: Serves the .gz files that are created by the asset precompiler
|
44
38
|
email:
|
45
39
|
- jon@jonb.org
|