Sha256: 4d281cb9a38175bcea33c45c758c690ccefdd61d355bb201073e1a8c1dfd295f

Contents?: true

Size: 962 Bytes

Versions: 2

Compression:

Stored size: 962 Bytes

Contents

Gem::Specification.new do |spec|
  spec.name = "simple_throttle"
  spec.version = File.read(File.expand_path("VERSION", __dir__)).strip
  spec.authors = ["Brian Durand"]
  spec.email = ["bbdurand@gmail.com"]

  spec.summary = "Simple redis backed throttling mechanism to limit access to a resource"
  spec.homepage = "https://github.com/bdurand/simple_throttle"
  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.
  ignore_files = %w[
    .
    Appraisals
    Gemfile
    Gemfile.lock
    Rakefile
    bin/
    gemfiles/
    spec/
  ]
  spec.files = Dir.chdir(__dir__) do
    `git ls-files -z`.split("\x0").reject { |f| ignore_files.any? { |path| f.start_with?(path) } }
  end

  spec.require_paths = ["lib"]

  spec.add_dependency "redis"

  spec.add_development_dependency "bundler"

  spec.required_ruby_version = ">= 2.5"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_throttle-1.1.1 simple_throttle.gemspec
simple_throttle-1.1.0 simple_throttle.gemspec