Sha256: 6bd8c3400537db51f91035fb2cd13fbf9a19a7f0141b72a1f7082fcad2c603d4

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

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

  spec.summary = "Generates consistent random values within a defined scope, ensuring deterministic behavior for use in feature rollouts and other scoped operations."

  spec.homepage = "https://github.com/bdurand/consistent_random"
  spec.license = "MIT"

  spec.metadata = {
    "homepage_uri" => spec.homepage,
    "source_code_uri" => spec.homepage,
    "changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md"
  }

  # 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
    config.ru
    assets/
    bin/
    gemfiles/
    spec/
  ]
  spec.files = Dir.chdir(File.expand_path("..", __FILE__)) 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_development_dependency "bundler"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
consistent_random-2.2.0 consistent_random.gemspec
consistent_random-2.1.1 consistent_random.gemspec
consistent_random-2.1.0 consistent_random.gemspec
consistent_random-2.0.0 consistent_random.gemspec
consistent_random-1.0.0 consistent_random.gemspec