Sha256: 434a3b66daf0f6ce98c1bb87d3c5aea5d34f6d0366d004c604d241cbed74356d

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 KB

Contents

# coding: utf-8

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dijkstra_graph/version'

Gem::Specification.new do |spec|
  spec.name          = 'dijkstra_graph'
  spec.version       = DijkstraGraph::VERSION
  spec.authors       = ['Mark Sayson']
  spec.email         = ['masayson@gmail.com']

  spec.summary       = "A graph implementation supporting Dijkstra's " \
                       'shortest path algorithm'
  spec.description   = spec.summary
  spec.homepage      = 'https://github.com/msayson/dijkstra_graph'
  spec.license       = 'MIT'

  # Specify hosts this gem may be pushed to.
  if spec.respond_to?(:metadata)
    spec.metadata['allowed_push_host'] = 'https://rubygems.org/gems/dijkstra_graph'
  else
    raise 'RubyGems 2.0 or newer is required to protect against ' \
      'public gem pushes.'
  end

  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_dependency 'PriorityQueue', '~> 0.1'
  spec.add_dependency 'weighted_graph', '~> 0.1'

  spec.add_development_dependency 'bundler', '~> 1.14'
  spec.add_development_dependency 'rake', '~> 10.0'
  spec.add_development_dependency 'rspec', '~> 3.0'

  # Pry is a useful debugging utility, uncomment for local use.
  #
  # To use pry:
  # - Uncomment the 'spec.add_development_dependency' line below
  # - Add "require 'pry'" to the relevant Ruby source file
  # - Add 'binding.pry' above the line you wish to break at
  # - Run 'rake spec', and the console will break at that line
  # spec.add_development_dependency 'pry', '~> 0.10'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dijkstra_graph-0.1.1 dijkstra_graph.gemspec
dijkstra_graph-0.1.0 dijkstra_graph.gemspec