-
Notifications
You must be signed in to change notification settings - Fork 15
/
heroku_rails_deflate.gemspec
70 lines (65 loc) · 2.87 KB
/
heroku_rails_deflate.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "heroku_rails_deflate"
s.version = "1.0.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matt Olson"]
s.date = "2014-02-18"
s.description = "This gem is designed for use by Rails applications running on Heroku. For others, the better approach is to use a frontend server such as nginx or Apache. However, the Heroku Cedar stack is no longer fronted by a file server, and there is no automatic provision for gzipping responses. This gem activates Rack::Deflate for all requests. In addition, we serve up the gzipped versions of our precompiled assets, taking advantage of the higher compression ratio used during precompilation, and reducing CPU load at request time."
s.email = "[email protected]"
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
]
s.files = [
".document",
"Gemfile",
"Gemfile.lock",
"LICENSE.txt",
"README.md",
"Rakefile",
"heroku_rails_deflate.gemspec",
"lib/heroku_rails_deflate.rb",
"lib/heroku_rails_deflate/railtie.rb",
"lib/heroku_rails_deflate/serve_zipped_assets.rb",
"lib/heroku_rails_deflate/version.rb",
"spec/fixtures/assets/bender.jpg",
"spec/fixtures/assets/bender.jpg.gz",
"spec/fixtures/non-assets/bender.jpg",
"spec/fixtures/non-assets/bender.jpg.gz",
"spec/serve_zipped_assets_spec.rb"
]
s.homepage = "http://github.com/mattolson/heroku_rails_deflate"
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = "1.8.24"
s.summary = "Activate Rack::Deflate and serve up precompiled, gzipped assets on Heroku"
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rack>, [">= 1.4.5"])
s.add_runtime_dependency(%q<actionpack>, [">= 3.2.13"])
s.add_runtime_dependency(%q<activesupport>, [">= 3.2.13"])
s.add_development_dependency(%q<rspec>, [">= 0"])
s.add_development_dependency(%q<bundler>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
else
s.add_dependency(%q<rack>, [">= 1.4.5"])
s.add_dependency(%q<actionpack>, [">= 3.2.13"])
s.add_dependency(%q<activesupport>, [">= 3.2.13"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
end
else
s.add_dependency(%q<rack>, [">= 1.4.5"])
s.add_dependency(%q<actionpack>, [">= 3.2.13"])
s.add_dependency(%q<activesupport>, [">= 3.2.13"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
end
end