debian/0000755000000000000000000000000012261124625007167 5ustar debian/copyright0000644000000000000000000000274212247211402011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: gist Source: https://github.com/defunkt/gist/ Files: * Copyright: 2012, Conrad Irwin ☈king License: Expat Files: debian/* Copyright: 2013 Christian Hofstaedtler License: Expat Comment: the Debian packaging is licensed under the same terms as the original package. 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/rules0000755000000000000000000000140512247211402010241 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 override_dh_auto_build: if [ ! -d build.shipped ]; then \ mv build build.shipped; \ fi LC_ALL=C.UTF-8 rake man mv bin/gist bin/gist-paste override_dh_auto_clean: if [ -d build.shipped ]; then \ rm -rf build; \ mv build.shipped build; \ fi if [ -f bin/gist-paste ]; then \ mv bin/gist-paste bin/gist; \ fi debian/source/0000755000000000000000000000000012247211402010461 5ustar debian/source/format0000644000000000000000000000001412247211402011667 0ustar 3.0 (quilt) debian/gist.docs0000644000000000000000000000001212247211402010772 0ustar README.md debian/gist.manpages0000644000000000000000000000002312247211402011637 0ustar build/gist-paste.1 debian/control0000644000000000000000000000164112261124447010576 0ustar Source: gist Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Christian Hofstaedtler Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~), ruby-ronn, rake, locales # ruby-rspec, ruby-webmock, ruby-json Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/gist.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/gist.git;a=summary Homepage: https://github.com/defunkt/gist XS-Ruby-Versions: all Package: gist Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-json Description: Upload gists to gist.github.com Allows you to convienently create gists ("pastes"). . Also provides a Ruby library to do this. . The "gist" image viewer from yorick is in the yorick package, not in this package. debian/watch0000644000000000000000000000013512247211402010211 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gist .*/gist-(.*).tar.gz debian/ruby-tests.rake.disabled0000644000000000000000000000031512247211402013713 0ustar # Tests disabled because we don't have a webmock package. require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/**/*_spec.rb' end task :default => :spec debian/changelog0000644000000000000000000000243112261124535011041 0ustar gist (4.2.0-1) unstable; urgency=medium * New Upstream version 4.2.0 * Remove upstream applied patch 'lib-path' * Update my email address -- Christian Hofstaedtler Thu, 02 Jan 2014 00:48:23 +0100 gist (4.1.3-1) unstable; urgency=low * New Upstream version 4.1.3 * Refresh patch 'rename' * Update Standards-Version to 3.9.5 (no changes) * Build-Depend on gem2deb 0.5.0 to build for Ruby 2.0 -- Christian Hofstaedtler Mon, 02 Dec 2013 23:58:59 +0100 gist (4.1.1-2) unstable; urgency=low * Rename gist script to gist-paste, to not conflict with yorick. (Closes: #722662) -- Christian Hofstaedtler Sun, 06 Oct 2013 19:59:49 +0200 gist (4.1.1-1) unstable; urgency=low * New upstream release, with: - Support 2-Factor Authentication (Closes: #724748) - Embeddable URL flag is now "-e" instead of "--copy-js". -- Christian Hofstaedtler Mon, 30 Sep 2013 12:02:09 +0200 gist (4.0.3-2) unstable; urgency=low * Rebuild upstream shipped files during build. -- Christian Hofstaedtler Wed, 24 Jul 2013 21:25:00 +0200 gist (4.0.3-1) unstable; urgency=low * Initial release (Closes: #710902) -- Christian Hofstaedtler Mon, 03 Jun 2013 13:13:33 +0200 debian/compat0000644000000000000000000000000212247211402010357 0ustar 7 debian/patches/0000755000000000000000000000000012261124427010616 5ustar debian/patches/series0000644000000000000000000000000712261124410012020 0ustar rename debian/patches/rename0000644000000000000000000001227512261124403012011 0ustar Index: gist/README.md =================================================================== --- gist.orig/README.md 2013-12-02 23:52:32.283860933 +0100 +++ gist/README.md 2013-12-02 23:52:32.279860969 +0100 @@ -1,9 +1,9 @@ -gist(1) -- upload code to https://gist.github.com -================================================= +gist-paste(1) -- upload code to https://gist.github.com +======================================================= ## Synopsis -The gist gem provides a `gist` command that you can use from your terminal to +The gist gem provides a `gist-paste` command that you can use from your terminal to upload content to https://gist.github.com/. ## Installation @@ -21,54 +21,54 @@ upload content to https://gist.github.co ‌To upload the contents of `a.rb` just: - gist a.rb + gist-paste a.rb ‌Upload multiple files: - gist a b c - gist *.rb + gist-paste a b c + gist-paste *.rb ‌By default it reads from STDIN, and you can set a filename with `-f`. - gist -f test.rb