forked from nakhli/rack-defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rack-defense.gemspec
31 lines (25 loc) · 1002 Bytes
/
rack-defense.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'rack/defense/version'
Gem::Specification.new do |s|
s.name = 'rack-defense'
s.version = Rack::Defense::VERSION
s.license = 'MIT'
s.authors = ['Abdelkader K.']
s.email = ['abdelkader.nah@gmail.com']
s.files = Dir.glob('{bin,lib}/**/*') + %w(Rakefile README.md)
s.test_files = Dir.glob('spec/**/*')
s.homepage = 'http://github.com/nakhli/rack-defense'
s.rdoc_options = ['--charset=UTF-8']
s.require_paths = ['lib']
s.summary = 'Throttle and filter requests'
s.description = 'A rack middleware for throttling and filtering requests'
s.required_ruby_version = '>= 1.9.2'
s.add_dependency 'rack', '>= 1.6.11'
s.add_dependency 'redis', '~> 4'
s.add_development_dependency 'rake', '~> 10.3'
s.add_development_dependency 'minitest', '~> 5.4'
s.add_development_dependency 'rack-test', '>= 1.0.0'
s.add_development_dependency 'timecop', '~> 0.7'
end