Sha256: 987b4960c3b1c3b663989e6c4399b038686d9a0eb83673f93c1b6786c210bf3c

Contents?: true

Size: 953 Bytes

Versions: 3

Compression:

Stored size: 953 Bytes

Contents

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

  spec.summary = "Code for throttling workloads so as not to overwhelm external services"
  spec.homepage = "https://github.com/bdurand/restrainer"
  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.required_ruby_version = ">= 2.5"

  spec.add_dependency("redis")

  spec.add_development_dependency "bundler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restrainer-1.1.4 restrainer.gemspec
restrainer-1.1.3 restrainer.gemspec
restrainer-1.1.2 restrainer.gemspec