forked from dryruby/rack-throttle
-
Notifications
You must be signed in to change notification settings - Fork 6
/
improved-rack-throttle.gemspec
97 lines (93 loc) · 3.49 KB
/
improved-rack-throttle.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# 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 = "improved-rack-throttle"
s.version = "0.9.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ben Somers", "Arto Bendiken", "Brendon Murphy"]
s.date = "2015-01-27"
s.description = "Rack middleware for rate-limiting incoming HTTP requests."
s.email = "[email protected]"
s.extra_rdoc_files = [
"README.md"
]
s.files = [
".document",
".travis.yml",
"Gemfile",
"Gemfile.lock",
"README.md",
"Rakefile",
"UNLICENSE",
"doc/.gitignore",
"etc/gdbm.ru",
"etc/hash.ru",
"etc/memcache-client.ru",
"etc/memcache.ru",
"etc/memcached.ru",
"etc/redis.ru",
"improved-rack-throttle.gemspec",
"lib/rack/throttle.rb",
"lib/rack/throttle/limiters/daily.rb",
"lib/rack/throttle/limiters/hourly.rb",
"lib/rack/throttle/limiters/interval.rb",
"lib/rack/throttle/limiters/limiter.rb",
"lib/rack/throttle/limiters/sliding_window.rb",
"lib/rack/throttle/limiters/time_window.rb",
"lib/rack/throttle/matchers/matcher.rb",
"lib/rack/throttle/matchers/method_matcher.rb",
"lib/rack/throttle/matchers/url_matcher.rb",
"lib/rack/throttle/matchers/user_agent_matcher.rb",
"lib/rack/throttle/version.rb",
"spec/limiters/daily_spec.rb",
"spec/limiters/hourly_spec.rb",
"spec/limiters/interval_spec.rb",
"spec/limiters/limiter_spec.rb",
"spec/limiters/sliding_window_spec.rb",
"spec/matchers/method_matcher_spec.rb",
"spec/matchers/url_matcher_spec.rb",
"spec/matchers/user_agent_matcher_spec.rb",
"spec/spec_helper.rb"
]
s.homepage = "http://github.com/bensomers/improved-rack-throttle"
s.licenses = ["Public Domain"]
s.require_paths = ["lib"]
s.rubygems_version = "2.0.3"
s.summary = "HTTP request rate limiter for Rack applications."
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rack>, [">= 1.0.0"])
s.add_development_dependency(%q<timecop>, ["<= 0.6.2.2"])
s.add_development_dependency(%q<rack-test>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
s.add_development_dependency(%q<yard>, [">= 0"])
s.add_development_dependency(%q<simplecov>, [">= 0"])
s.add_development_dependency(%q<redcarpet>, [">= 0"])
s.add_development_dependency(%q<rake>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
else
s.add_dependency(%q<rack>, [">= 1.0.0"])
s.add_dependency(%q<timecop>, ["<= 0.6.2.2"])
s.add_dependency(%q<rack-test>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<yard>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<redcarpet>, [">= 0"])
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
end
else
s.add_dependency(%q<rack>, [">= 1.0.0"])
s.add_dependency(%q<timecop>, ["<= 0.6.2.2"])
s.add_dependency(%q<rack-test>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<yard>, [">= 0"])
s.add_dependency(%q<simplecov>, [">= 0"])
s.add_dependency(%q<redcarpet>, [">= 0"])
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
end
end