Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 11, 2014
  1. @ryanmjacobs

    Align arrow thingies.

    ryanmjacobs authored
Commits on Nov 3, 2014
  1. @jasonkarns
  2. @jasonkarns

    1.8-compatible IO api

    jasonkarns authored
  3. @jasonkarns

    no require-relative

    jasonkarns authored
Commits on Oct 31, 2014
  1. @jasonkarns
  2. @jasonkarns
  3. @jasonkarns

    add AuthTokenFile#write

    jasonkarns authored
  4. @jasonkarns
  5. @jasonkarns

    add AuthTokenFile#read

    jasonkarns authored
  6. @jasonkarns
  7. @jasonkarns
Commits on Aug 31, 2014
  1. @theseal

    Chomp OAuth access token before use.

    theseal authored
    If a user is modifying the .gist file by hand there is a big risk that the
    user adds a newline to the file. That newline is causing gist to fail with
    "Error: Got Net::HTTPUnauthorized from gist:".
    So better remove the eventual newline with chomp before use.
    
    This is extra handy when setting up gist on an computer that you don't trust
    with your real GitHub credentials (pre-generated OAuth token).
Commits on Aug 6, 2014
  1. @ConradIrwin

    v4.3.0

    ConradIrwin authored
  2. @ConradIrwin

    Tidy up output a little

    ConradIrwin authored
  3. @ConradIrwin

    Minor fmt

    ConradIrwin authored
  4. @pravj

    add method to handle access token internally

    pravj authored
    > new method 'auth_token' returns access token string, if it exists or
      returns 'nil' if access token file is not there.
  5. @pravj

    handles middle exceptions using Gist::Error

    pravj authored
    > now exceptions in middle of execution goes to 'rescue' and exit with
      status 1
  6. @pravj

    changes output format to be used programatically

    pravj authored
    > removed header lines for public and private gists.
Commits on Aug 5, 2014
  1. @pravj

    change result format, shows filenames now

    pravj authored
    > shows file name instead of description
    > change optparse block in bin/gist
Commits on Jun 11, 2014
  1. @pravj
Commits on Feb 26, 2014
  1. @ConradIrwin

    v4.2.1

    ConradIrwin authored
  2. @ConradIrwin
  3. @ConradIrwin

    v4.2.0

    ConradIrwin authored
Commits on Dec 24, 2013
  1. @ConradIrwin
  2. @ConradIrwin
Commits on Dec 23, 2013
  1. @EvanPurkhiser

    [Linux] Support the xdg-open command

    EvanPurkhiser authored
    This can be used to open the URL if available
Commits on Nov 10, 2013
  1. @Fleurer

    add comment for rawify

    Fleurer authored
  2. @Fleurer
  3. @Fleurer

    add Gist#rawify

    Fleurer authored
    for anonymous users, the url returns from gist api is something like
    https://gist.github.com/7216441 , and it would redirect to
    https://gist.github.com/anonymous/7216441, it's not easy to get
    the raw file url by scripting.
    
    this commit make the hack to handle the HTTPRedirection, and concate
    the result url with /raw to generate the raw url.
  4. @ConradIrwin
Commits on Nov 3, 2013
  1. @ConradIrwin

    bump version

    ConradIrwin authored
Commits on Oct 31, 2013
  1. @weakish

    Fix a bug causeing `gist -c` fails for xsel users.

    weakish authored
    Unlike `xclip`, calling `xsel` without any argument outputs the
    selection.
    In other words, `xclip` defaults to `xclip -i`,
    but xsel` defaults to `xsel -o`.
    
    Thus we should use `xsel -i` instead of `xsel` for copying the url
    to clipboard.
Commits on Sep 7, 2013
  1. @ConradIrwin

    Rebuild v4.1.1

    ConradIrwin authored
  2. @ConradIrwin
  3. @ConradIrwin

    Support 2-factor auth

    ConradIrwin authored
Something went wrong with that request. Please try again.