[DRE-commits] [gist] 02/07: Refresh rename patch
zeha at debian.org
zeha at debian.org
Tue Aug 18 23:08:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository gist.
commit 2c28aef805e6b1d011dee13261f6e350983cf1ba
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Aug 18 22:43:21 2015 +0000
Refresh rename patch
Git-Dch: ignore
---
debian/patches/rename | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/debian/patches/rename b/debian/patches/rename
index de5fbc9..7bcce47 100644
--- a/debian/patches/rename
+++ b/debian/patches/rename
@@ -15,7 +15,7 @@ Index: gist/README.md
upload content to https://gist.github.com/.
## Installation
-@@ -25,59 +25,59 @@ upload content to https://gist.github.co
+@@ -25,52 +25,52 @@ upload content to https://gist.github.co
To upload the contents of `a.rb` just:
@@ -51,8 +51,10 @@ Index: gist/README.md
You can update existing gists with `-u`:
-- gist lib/gist.rb bin/gist -u 42f2c239d2eb57299408
-+ gist-paste lib/gist.rb bin/gist-paste -u 42f2c239d2eb57299408
+- gist -u GIST_ID FILE_NAME
+- gist -u 42f2c239d2eb57299408 test.txt
++ gist-paste -u GIST_ID FILE_NAME
++ gist-paste -u 42f2c239d2eb57299408 test.txt
If you'd like to copy the resulting URL to your clipboard, use `-c`.
@@ -64,7 +66,8 @@ Index: gist/README.md
- gist -e <a.rb
+ gist-paste -e <a.rb
- And you can just ask gist to open a browser window directly with `-o`.
+-And you can just ask gist to open a browser window directly with `-o`.
++And you can just ask gist-paste to open a browser window directly with `-o`.
- gist -o <a.rb
+ gist-paste -o <a.rb
@@ -81,9 +84,8 @@ Index: gist/README.md
## Login
- If you want to associate your gists with your GitHub account, you need to login
--with gist. It doesn't store your username and password, it just uses them to get
-+with gist-paste. It doesn't store your username and password, it just uses them to get
+@@ -78,7 +78,7 @@ If you want to associate your gists with
+ with gist. It doesn't store your username and password, it just uses them to get
an OAuth2 token (with the "gist" permission).
- gist --login
@@ -91,7 +93,7 @@ Index: gist/README.md
Obtaining OAuth2 access_token from github.
GitHub username: ConradIrwin
GitHub password:
-@@ -101,7 +101,7 @@ you can save your Github Enterprise toke
+@@ -102,7 +102,7 @@ you can save your Github Enterprise toke
After you've done this, you can still upload gists anonymously with `-a`.
@@ -100,7 +102,7 @@ Index: gist/README.md
# Library
-@@ -136,22 +136,22 @@ in `~/.gist`, where it can later be read
+@@ -137,22 +137,22 @@ in `~/.gist`, where it can later be read
## GitHub enterprise
@@ -128,7 +130,7 @@ Index: gist/README.md
environment variable:
export BROWSER=google-chrome
-@@ -160,7 +160,7 @@ If clipboard or browser integration don'
+@@ -161,7 +161,7 @@ If clipboard or browser integration don'
(more ideally) a pull request.
If you need to use an HTTP proxy to access the internet, export the `HTTP_PROXY` or
@@ -161,5 +163,5 @@ Index: gist/gist.gemspec
- s.executables << 'gist'
+ s.executables << 'gist-paste'
- %w(rake rspec webmock ronn).each do |gem|
- s.add_development_dependency gem
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'ronn'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gist.git
More information about the Pkg-ruby-extras-commits
mailing list