Sha256: 49b23d96ecb778f4f4a68b4ea9f01400180d1e3dcbb340cb6dc2aea114eeb35a

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "categorical_distribution"
  spec.version       = CategoricalDistribution::VERSION
  spec.authors       = ["Zane Geiger"]
  spec.email         = ["zanecodes@gmail.com"]

  spec.summary       = "Generates values from a categorical probability distribution in O(1) using Vose's Alias Method."
  spec.homepage      = "https://github.com/zanecodes/categorical_distribution"
  spec.license       = "MIT"

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

  spec.add_development_dependency "bundler", "~> 1.13"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "minitest", "~> 5.0"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
categorical_distribution-0.1.0 categorical_distribution.gemspec