Sha256: 1418eb20e555cdae164de998473a7d06968ce81691173805b2fca457399ad2e5

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'redis_rate_limit/version'

Gem::Specification.new do |spec|
  spec.name          = 'nocoffee_redis_rate_limit'
  spec.version       = RedisRateLimit::VERSION
  spec.authors       = ['Didier Lafforgue', 'Julien Girard']
  spec.email         = ['didier@nocoffee.fr']

  spec.summary       = %q{This gem is a possible usage of https://redis.io/commands/INCR.}
  spec.description   = %q{If an application goes beyond quota defined by public APIs, they might ban it.
To overcome this issue, developers have to wrap each call to public APIs
and make sure they don't make more requests than allowed.}
  spec.homepage      = "https://github.com/NoCoffeeHQ/rate_limit"
  spec.license       = "MIT"

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "bin"
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.add_development_dependency 'rake', '~> 13.0'
  spec.add_development_dependency 'rspec', '~> 3.0'

  spec.add_dependency 'redis', '>= 5'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nocoffee_redis_rate_limit-0.1.0 redis_rate_limit.gemspec