# -*- encoding: utf-8 -*-
# stub: tobias-script_finder 0.0.3 ruby lib

Gem::Specification.new do |s|
  s.name = "tobias-script_finder".freeze
  s.version = "0.0.3".freeze

  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
  s.require_paths = ["lib".freeze]
  s.authors = ["Tobias Crawley".freeze]
  s.date = "2009-03-11"
  s.description = "script_finder provides a script (called 's') that searches in and up from the current dir  for a folder (default: script/) containing an executable file uniquely identified by the a  prefix given as the first argument. It then calls that executable, passing the rest of the  arguments to the called executable. If the given prefix is ambiguous, the script suggests unique prefixes.  Examples (in a rails app):  ~/rails_app/app/views$ s c --> calling '/Users/tobias/rails_app/script/console' Loading development environment (Rails 2.1.0) RowsLogger plugin enables mysql >> exit ~/rails_app/app/views$ s r 'some ruby' 's r' was too ambiguous. Try: 's ru' for 'script/runner' 's re' for 'script/remote' ~/rails_app/app/views$ s ru 'some ruby' --> calling '/Users/tobias/rails_app/script/runner some ruby' ...  The gem is not rails specific - out of the box it will work with any project that has a  'script/' directory. If you want to make your own version of the 's' script that looks for  executables in a different dir (I would save this one as 'c'):  #!/usr/bin/env ruby  require 'script_finder'  # looks for executables in a commands/ dir instead of script/. ScriptFinder.find_and_execute(ARGV, 'commands')".freeze
  s.email = ["tcrawley@gmail.com".freeze]
  s.executables = ["s".freeze]
  s.extra_rdoc_files = ["History.txt".freeze, "Manifest.txt".freeze, "PostInstall.txt".freeze, "README.rdoc".freeze]
  s.files = ["History.txt".freeze, "Manifest.txt".freeze, "PostInstall.txt".freeze, "README.rdoc".freeze, "Rakefile".freeze, "bin/s".freeze, "lib/script_finder.rb".freeze, "lib/script_finder/script_finder.rb".freeze, "test/test_helper.rb".freeze, "test/test_script_finder.rb".freeze]
  s.homepage = "http://github.com/tobias/script_finder".freeze
  s.post_install_message = "PostInstall.txt".freeze
  s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
  s.rubygems_version = "3.5.10".freeze
  s.summary = "script_finder provides a script (called 's') that searches in and up from the current dir  for a folder (default: script/) containing an executable file uniquely identified by the a  prefix given as the first argument".freeze
  s.test_files = ["test/test_helper.rb".freeze, "test/test_script_finder.rb".freeze]

  s.specification_version = 2

  s.add_development_dependency(%q<newgem>.freeze, [">= 1.2.3".freeze])
  s.add_development_dependency(%q<hoe>.freeze, [">= 1.8.0".freeze])
end