File: trollop.gemspec

package info (click to toggle)
ruby-trollop 2.9.10-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 332 kB
  • sloc: ruby: 2,078; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Gem::Specification.new do |spec|
  spec.name          = "trollop"
  spec.version       = "2.9.10"
  spec.authors       = ["William Morgan", "Keenan Brock"]
  spec.email         = "keenan@thebrocks.net"
  spec.summary       = "Trollop is a commandline option parser for Ruby that just gets out of your way."
  spec.description   = "Trollop is a commandline option parser for Ruby that just gets out of your way.

**DEPRECATION** This gem has been renamed to optimist and will no longer be supported. Please switch to optimist as soon as possible."
  spec.homepage      = "http://manageiq.github.io/optimist/"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.metadata    = {
    "changelog_uri" => "https://github.com/ManageIQ/optimist/blob/master/History.txt",
    "source_code_uri" => "https://github.com/ManageIQ/optimist/",
    "bug_tracker_uri" => "https://github.com/ManageIQ/optimist/issues",
  }

  spec.require_paths = ["lib"]

  spec.add_development_dependency "minitest", "~> 5.4.3"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "chronic"

  spec.post_install_message = <<-MESSAGE
!    The 'trollop' gem has been deprecated and has been replaced by 'optimist'.
!    See: https://rubygems.org/gems/optimist
!    And: https://github.com/ManageIQ/optimist
  MESSAGE
end