-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrate_limit.gemspec
29 lines (22 loc) · 1006 Bytes
/
rate_limit.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
# frozen_string_literal: true
require_relative 'lib/rate_limit/version'
Gem::Specification.new do |spec|
spec.name = 'rate-limit'
spec.version = RateLimit::VERSION
spec.authors = ['Mohamed Motaweh']
spec.email = ['[email protected]']
spec.summary = 'A Rate Limiting Gem'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.1'
spec.homepage = 'https://github.com/catawiki/rate-limit'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/master/CHANGELOG.md"
spec.files = Dir['CHANGELOG.md', 'LICENSE', 'README.md', 'lib/**/*']
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'activesupport', '>= 5.2', '< 7.3'
spec.add_dependency 'redis', '>= 3.0.0', '<= 5.4.0'
spec.metadata['rubygems_mfa_required'] = 'true'
end