-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
rack-throttle.gemspec
46 lines (37 loc) · 1.7 KB
/
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
#!/usr/bin/env ruby -rubygems
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |gem|
gem.version = File.read('VERSION').chomp
gem.date = File.mtime('VERSION').strftime('%Y-%m-%d')
gem.name = 'rack-throttle'
gem.homepage = 'https://github.com/dryruby/rack-throttle'
gem.license = 'Public Domain' if gem.respond_to?(:license=)
gem.summary = 'HTTP request rate limiter for Rack applications.'
gem.description = 'Rack middleware for rate-limiting incoming HTTP requests.'
gem.authors = ['Arto Bendiken']
gem.email = '[email protected]'
gem.platform = Gem::Platform::RUBY
gem.files = %w(AUTHORS README.md UNLICENSE VERSION) + Dir.glob('lib/**/*.rb')
gem.bindir = %q(bin)
gem.executables = %w()
gem.default_executable = gem.executables.first
gem.require_paths = %w(lib)
gem.extensions = %w()
gem.test_files = %w()
gem.has_rdoc = false
gem.required_ruby_version = '>= 1.8.2'
gem.requirements = []
gem.add_runtime_dependency 'bundler', '>= 1.0.0'
gem.add_development_dependency 'rack-test'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'yard'
gem.add_development_dependency 'timecop'
gem.add_runtime_dependency 'rack', '>= 1.0.0'
gem.post_install_message = <<-POST
rack-throttle is no longer under active development. Please consider
using https://github.com/rack/rack-attack instead as it is
more feature rich & well supported.
POST
end