debian/0000755000000000000000000000000012265757474007211 5ustar debian/ruby-thor.docs0000644000000000000000000000001212133040166011760 0ustar README.md debian/copyright0000644000000000000000000000247112142213611011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: thor Source: https://github.com/wycats/thor Files: * Copyright: 2008 Yehuda Katz License: Expat Files: debian/* Copyright: Copyright 2011 Ondřej Surý License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000070112133040166010240 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/source/0000755000000000000000000000000012142213656010470 5ustar debian/source/format0000644000000000000000000000001412133040166011670 0ustar 3.0 (quilt) debian/manpages0000644000000000000000000000001612142230304010670 0ustar debian/thor.1 debian/control0000644000000000000000000000157712265741474010617 0ustar Source: ruby-thor Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Christian Hofstaedtler Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec (>= 2.13.0~), ruby-diff-lcs, bundler, rake Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-thor.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-thor.git;a=summary Homepage: http://github.com/wycats/thor XS-Ruby-Versions: all Package: ruby-thor Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby scripting framework Thor is a simple and efficient scripting framework for building self-documenting command line utilities. . It can be used to replace rake, sake and rubigen. debian/watch0000644000000000000000000000013512133040166010212 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/thor .*/thor-(.*).tar.gz debian/ruby-tests.rake0000644000000000000000000000022012142222717012145 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/*_spec.rb' end task :default => :spec debian/changelog0000644000000000000000000000350212265757474011063 0ustar ruby-thor (0.18.1.git20140116-2) unstable; urgency=medium * Actually have Gem version be higher than latest release -- Christian Hofstaedtler Thu, 16 Jan 2014 14:31:40 +0100 ruby-thor (0.18.1.git20140116-1) unstable; urgency=medium * Imported Upstream version 0.18.1.git20140116 * Update my e-mail address * Bump Standards-Version to 3.9.5 (no changes) * Refresh patches -- Christian Hofstaedtler Thu, 16 Jan 2014 12:36:16 +0100 ruby-thor (0.18.1-1) unstable; urgency=low [ Ondřej Surý ] * Remove myself from Uploaders: [ Christian Hofstaedtler ] * New upstream version. * Remove obsolete DM-Upload-Allowed flag * Bump Standards-Version to 3.9.4 * Update debian/copyright Format URL * Set dpkg feature "unapply-patches" * Add myself to Uploaders:, so there is a human maintainer * Use canonical URLs in Vcs-* fields * Add a longer package description * Run test suite during package build (implies new Build-Depends) * Add man page for thor(1) -- Christian Hofstaedtler Tue, 07 May 2013 17:15:18 +0200 ruby-thor (0.15.3-1) unstable; urgency=low * Team upload. * New upstream version. * Bump build dependency on gem2deb to >= 0.3.0~. -- Cédric Boutillier Wed, 27 Jun 2012 21:42:53 +0200 ruby-thor (0.14.6-2) unstable; urgency=low [ Laurent Bigonville ] * debian/copyright: Dep5 requires that a reference to an already included licence is standalone [ Antonio Terceiro ] * debian/copyright: fix URL for the sources * Bump build dependency on gem2deb to >= 0.3.0~ -- Laurent Bigonville Fri, 11 May 2012 15:44:42 +0200 ruby-thor (0.14.6-1) unstable; urgency=low * Initial release (Closes: #647068) -- Ondřej Surý Wed, 25 Apr 2012 12:36:56 +0000 debian/compat0000644000000000000000000000000212133040166010360 0ustar 7 debian/patches/0000755000000000000000000000000012265760335010626 5ustar debian/patches/tests-disable-coverage0000644000000000000000000000217412265742023015103 0ustar This patch disables usage of simplecov, coveralls and fakeweb in the test suite, and is intended to be removed once these packages enter Debian. Index: ruby-thor/spec/helper.rb =================================================================== --- ruby-thor.orig/spec/helper.rb 2014-01-16 12:34:51.310162823 +0100 +++ ruby-thor/spec/helper.rb 2014-01-16 12:35:40.357865727 +0100 @@ -1,18 +1,5 @@ $TESTING = true -require 'simplecov' -require 'coveralls' - -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter -] - -SimpleCov.start do - add_filter '/spec/' - minimum_coverage(92.21) -end - $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'thor' require 'thor/group' @@ -21,7 +8,7 @@ require 'stringio' require 'rdoc' require 'rspec' require 'diff/lcs' # You need diff/lcs installed to run specs (but not to run Thor). -require 'fakeweb' # You need fakeweb installed to run specs (but not to run Thor). +#require 'fakeweb' # You need fakeweb installed to run specs (but not to run Thor). # Set shell to basic $0 = 'thor' debian/patches/series0000644000000000000000000000004712265757314012047 0ustar tests-disable-coverage git-version-fix debian/patches/git-version-fix0000644000000000000000000000141412265760303013576 0ustar Index: ruby-thor/lib/thor/version.rb =================================================================== --- ruby-thor.orig/lib/thor/version.rb 2014-01-16 14:37:54.577453978 +0100 +++ ruby-thor/lib/thor/version.rb 2014-01-16 14:37:54.573454002 +0100 @@ -1,3 +1,3 @@ class Thor - VERSION = '0.18.1.git20140116' + VERSION = '0.18.1.20140116' end Index: ruby-thor/metadata.yml =================================================================== --- ruby-thor.orig/metadata.yml 2014-01-16 12:30:43.347664453 +0100 +++ ruby-thor/metadata.yml 2014-01-16 14:38:05.553387998 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: thor version: !ruby/object:Gem::Version - version: 0.18.1.git20140116 + version: 0.18.1.20140116 prerelease: 7 platform: ruby authors: debian/thor.10000644000000000000000000000243512142264526010234 0ustar .TH thor 1 "May 7, 2013" .SH NAME thor \- Scripting framework for command line utilities .SH SYNOPSIS .B thor help \fR[\fITASK\fR] .B thor install \fR\fINAME\fR .B thor installed .B thor list \fR[\fISEARCHTERM\fR] .B thor uninstall \fR\fINAME\fR .B thor update \fR\fINAME\fR .B thor version .SH DESCRIPTION Thor is a scripting framework designed for command line utilities. It is supposed to be a replacement for rake, sake and rubigen. .SH COMMANDS .TP 8 .B help \fR[\fITASK\fR] Describe available tasks or the specified task .TP 8 .B install \fR\fINAME\fR Install an optionally named Thor file into your system tasks .TP 8 .B installed List the installed Thor modules and tasks .TP 8 .B list \fR[\fISEARCHTERM\fR] List the available thor tasks (\-\-substring means .*searchterm) .TP 8 .B uninstall \fR\fINAME\fR Uninstall a named Thor module .TP 8 .B update \fR\fINAME\fR Update a Thor file from its original location .TP 8 .B version Show Thor version .SH SEE ALSO The Thor website: http://whatisthor.com/ The Thor wiki: https://github.com/wycats/thor/wiki .SH AUTHORS Thor is written by Yehuda Katz, Eric Hodel, et al. This manual page was written by Christian Hofstaedtler, based on the command\-line output of this program, for the Debian GNU/Linux system (but may be freely used by others).