Sha256: 5c5e99ce60e19b3fd219694fcd25723d9a03fc170be3674617cc465bc0b0a4f7

Contents?: true

Size: 1.28 KB

Versions: 29

Compression:

Stored size: 1.28 KB

Contents

DIR         = File.dirname(__FILE__)
LIB         = File.join(DIR, *%w[lib highline.rb])
GEM_VERSION = open(LIB) { |lib|
  lib.each { |line|
    if v = line[/^\s*VERSION\s*=\s*(['"])(\d+\.\d+\.\d+)\1/, 2]
      break v
    end
  }
}

SPEC = Gem::Specification.new do |spec|
  spec.name     = "highline"
  spec.version  = GEM_VERSION
  spec.platform = Gem::Platform::RUBY
  spec.summary  = "HighLine is a high-level command-line IO library."
  spec.files    = `git ls-files`.split("\n")

  spec.test_files       =  `git ls-files -- test/*.rb`.split("\n")
  spec.has_rdoc         =  true
  spec.extra_rdoc_files =  %w[README.rdoc INSTALL TODO CHANGELOG LICENSE]
  spec.rdoc_options     << '--title' << 'HighLine Documentation' <<
                           '--main'  << 'README'

  spec.require_path      = 'lib'

  spec.author            = "James Edward Gray II"
  spec.email             = "james@graysoftinc.com"
  spec.rubyforge_project = "highline"
  spec.homepage          = "http://highline.rubyforge.org"
  spec.description       = <<END_DESC
A high-level IO library that provides validation, type conversion, and more for
command-line interfaces. HighLine also includes a complete menu system that can
crank out anything from simple list selection to complete shells with just
minutes of work.
END_DESC
end

Version data entries

29 entries across 20 versions & 3 rubygems

Version Path
challah-0.7.0 vendor/bundle/gems/highline-1.6.13/highline.gemspec
challah-0.7.0.pre2 vendor/bundle/gems/highline-1.6.13/highline.gemspec
challah-0.7.0.pre vendor/bundle/gems/highline-1.6.13/highline.gemspec
challah-0.6.2 vendor/bundle/gems/highline-1.6.13/highline.gemspec
challah-0.6.2 vendor/bundle/gems/highline-1.6.12/highline.gemspec
highline-1.6.13 highline.gemspec
challah-0.6.1 vendor/bundle/gems/highline-1.6.12/highline.gemspec
challah-0.6.0 vendor/bundle/gems/highline-1.6.12/highline.gemspec
highline-1.6.12 highline.gemspec