-
Notifications
You must be signed in to change notification settings - Fork 14
/
rack-brotli.gemspec
36 lines (26 loc) · 1.17 KB
/
rack-brotli.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
require_relative 'lib/rack/brotli/version'
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.name = 'rack-brotli'
s.version = Rack::Brotli::Version.to_s
s.date = Time.now.strftime("%F")
s.licenses = ['MIT']
s.description = "Rack::Brotli enables Google's Brotli compression on HTTP responses"
s.summary = "Brotli compression for Rack responses"
s.authors = ["Marco Costa"]
s.email = "[email protected]"
# = MANIFEST =
s.files = %w[
COPYING
README.md
] + `git ls-files -z lib`.split("\0")
s.test_files = s.files.select {|path| path =~ /^test\/.*\_spec.rb/}
s.extra_rdoc_files = %w[README.md COPYING]
s.add_runtime_dependency 'rack', '>= 3'
s.add_runtime_dependency 'brotli', '>= 0.3' # First version with support for streaming compression through Brotli::Writer
s.homepage = "http://github.com/marcotc/rack-brotli/"
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "rack-brotli", "--main", "README"]
s.require_paths = %w[lib]
s.rubygems_version = '0.1.0'
end