-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrollie.gemspec
37 lines (27 loc) · 1.17 KB
/
rollie.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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'rollie/version'
Gem::Specification.new do |s|
s.name = 'rollie'
s.version = Rollie::VERSION
s.license = 'MIT'
s.summary = 'Generic rate limiter backed by Redis for efficient limiting using sliding windows.'
s.description = s.summary
s.authors = ['Zach Davis', 'Justin Howard']
s.email = '[email protected]'
s.homepage = 'https://github.com/ParentSquare/rollie'
rubydoc = 'https://www.rubydoc.info/gems'
s.metadata['rubygems_mfa_required'] = 'true'
s.metadata['changelog_uri'] = "#{s.homepage}/blob/master/CHANGELOG.md"
s.metadata['documentation_uri'] = "#{rubydoc}/#{s.name}/#{s.version}"
s.files = Dir['lib/**/*.rb', '*.md', '*.txt', '.yardopts']
s.require_paths = ['lib']
s.required_ruby_version = '>= 2.4'
s.add_dependency 'connection_pool', '>= 2.2.0'
s.add_dependency 'redis', '>= 3.2.1'
s.add_dependency 'redis-namespace', '>= 1.5.2'
s.add_development_dependency 'rspec', '~> 3.8'
s.add_development_dependency 'rubocop', '~> 1.7'
s.add_development_dependency 'rubocop-rspec', '~> 2.1'
s.add_development_dependency 'timecop', '>= 0.9'
end