From bfa7edda962a71946368ffdd2aeea2bb9e3d3071 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 5 Feb 2014 08:17:23 -0500 Subject: [PATCH 1/3] Update README.md Construct Github pull request (using in-web editor) for awesome committer. Closes #20 --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 692b653..ffc0d68 100644 --- a/README.md +++ b/README.md @@ -67,16 +67,16 @@ If you'd like an alternative on Windows that supports functionality similar to ` ## Lightweight Alternative -Han Boetes has contributed a simple shell-script alternative for those not interested in installing a RubyGem: +Han Boetes and @nickthename have contributed a simple shell-script alternative for those not interested in installing a RubyGem: ``` bash -haste(){ ( echo "% $@"; eval "$@" ) | curl -F "$@=<-" http://hastebin.com/documents|awk -F '"' '{print "http://hastebin.com/"$4}'} +haste() { a=$(cat); curl -X POST -s -d "$a" http://hastebin.com/documents | awk -F '"' '{print "http://hastebin.com/"$4}'; } ``` Usage: ``` bash -haste `cat index.html +cat file.txt | haste ``` ## Author From 8ca0daab3bba6e654050eaae8935d1ce09c7b79f Mon Sep 17 00:00:00 2001 From: raincoats Date: Wed, 30 Jul 2014 16:56:13 +1000 Subject: [PATCH 2/3] fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ffc0d68..36a51a0 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ gem install haste If you supply a valid file path as argument #1 to the client, it will be uploaded: ``` bash -# equivelant +# equivalent cat file | haste haste file ``` From 94e2d1db1c5b53a0216dc989530ffb7530dd7025 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Wed, 20 Aug 2014 10:49:40 -0400 Subject: [PATCH 3/3] Bump version --- lib/haste/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/haste/version.rb b/lib/haste/version.rb index 144ef11..180be4d 100644 --- a/lib/haste/version.rb +++ b/lib/haste/version.rb @@ -1,5 +1,5 @@ module Haste - VERSION = '0.1.7' + VERSION = '0.2.0' end