-
Notifications
You must be signed in to change notification settings - Fork 4
/
ihasa.gemspec
48 lines (42 loc) · 1.37 KB
/
ihasa.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
# encoding: utf-8
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'ihasa/version'
Gem::Specification.new do |s|
s.name = 'ihasa'
s.version = Ihasa::Version::STRING
s.platform = Gem::Platform::RUBY
s.required_ruby_version = '>= 2.0.0'
s.authors = ['Alexandre Ignjatovic']
s.description = <<-EOF
A Redis-backed rate limiter written in ruby and
using the token bucket algorithm.
Its light and efficient implementation takes
advantage of the Lua capabilities of Redis.
EOF
s.email = '[email protected]'
s.files = `git ls-files`.split($RS).reject do |file|
file =~ %r{^(?:
spec/.*
|Gemfile
|Rakefile
|\.rspec
|\.gitignore
|\.rubocop.yml
|\.rubocop_todo.yml
|.*\.eps
)$}x
end
s.test_files = []
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'http://github.com/bankair/ihasa'
s.licenses = ['MIT']
s.require_paths = ['lib']
s.rubygems_version = '1.8.23'
s.summary = 'Redis-backed rate limiter (token bucket) written in Ruby and Lua'
s.add_development_dependency 'byebug', '~> 11.1.3'
s.add_development_dependency 'pry', '~> 0.14.2'
s.add_development_dependency 'rspec', '~> 3.11'
s.add_development_dependency 'rubocop', '~> 1.1'
s.add_runtime_dependency 'redis', '>= 3', '< 6'
end