Sha256: 5506abafa0a0662ceb21d0ac9b77ab26e266aa44a8c56f2da15c981c2e9e853c

Contents?: true

Size: 1.29 KB

Versions: 4

Compression:

Stored size: 1.29 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ratelimit/version'

Gem::Specification.new do |spec|
  spec.name          = "ratelimit"
  spec.version       = Ratelimit::VERSION
  spec.authors       = ["E.J. Finneran"]
  spec.email         = ["ej.finneran@gmail.com"]
  spec.summary       = "Rate limiting backed by redis"
  spec.description   = "This library uses Redis to track the number of actions for a given subject over a flexible time frame."
  spec.homepage      = "https://github.com/ejfinneran/ratelimit"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency             "redis", ">= 2.0.0"
  spec.add_dependency             "redis-namespace", ">= 1.0.0"
  spec.add_development_dependency "bundler", "~> 1.6"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "fakeredis"
  spec.add_development_dependency "timecop"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "yard"
  spec.add_development_dependency "maruku"
  spec.add_development_dependency "rdoc"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ratelimit-1.0.3 ratelimit.gemspec
ratelimit-1.0.2 ratelimit.gemspec
ratelimit-1.0.1 ratelimit.gemspec
ratelimit-1.0.0 ratelimit.gemspec