Permalink
Commits on Nov 3, 2014
  1. @ConradIrwin

    Merge pull request #186 from jasonkarns/auth_token_filename

    extract AuthTokenFile domain object
    ConradIrwin committed Nov 3, 2014
  2. @jasonkarns
  3. @jasonkarns

    Merge branch 'master' into auth_token_filename

    * master:
      1.8 hash syntax
      no require_relative
    jasonkarns committed Nov 3, 2014
  4. @ConradIrwin

    Merge pull request #188 from jasonkarns/ruby-18

    Ruby 1.8
    ConradIrwin committed Nov 3, 2014
  5. @jasonkarns

    1.8-compatible IO api

    jasonkarns committed Nov 3, 2014
  6. @jasonkarns

    no require-relative

    jasonkarns committed Nov 3, 2014
  7. @jasonkarns

    1.8 hash syntax

    jasonkarns committed Nov 3, 2014
  8. @jasonkarns

    no require_relative

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

    add AuthTokenFile#write

    jasonkarns committed Oct 31, 2014
  4. @jasonkarns
  5. @jasonkarns

    refactor specs

    jasonkarns committed Oct 31, 2014
  6. @jasonkarns

    add AuthTokenFile#read

    jasonkarns committed Oct 31, 2014
  7. @jasonkarns

    refactor specs

    jasonkarns committed Oct 31, 2014
  8. @jasonkarns
  9. @jasonkarns
  10. @jasonkarns
  11. @ConradIrwin

    Require rspec >3

    ConradIrwin committed Oct 31, 2014
  12. @jasonkarns
  13. @jasonkarns
  14. @jasonkarns
  15. @jasonkarns
Commits on Sep 1, 2014
  1. @ConradIrwin

    Merge pull request #182 from theseal/master

    Chomp OAuth access token before use.
    ConradIrwin committed Sep 1, 2014
Commits on Aug 31, 2014
  1. @theseal

    Chomp OAuth access token before use.

    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).
    theseal committed Aug 31, 2014
Commits on Aug 15, 2014
  1. @ConradIrwin

    Merge pull request #181 from zeha/spellfix

    Fix spelling of "authentication" in README.md
    ConradIrwin committed Aug 15, 2014
  2. @zeha
Commits on Aug 6, 2014
  1. @ConradIrwin

    v4.3.0

    ConradIrwin committed Aug 6, 2014
  2. @ConradIrwin

    Tidy up output a little

    ConradIrwin committed Aug 6, 2014
  3. @ConradIrwin

    More concrete example

    ConradIrwin committed Aug 6, 2014
  4. @ConradIrwin

    Minor fmt

    ConradIrwin committed Aug 6, 2014
  5. @ConradIrwin
  6. @pravj

    add method to handle access token internally

    > new method 'auth_token' returns access token string, if it exists or
      returns 'nil' if access token file is not there.
    pravj committed Aug 6, 2014
  7. @pravj

    handles middle exceptions using Gist::Error

    > now exceptions in middle of execution goes to 'rescue' and exit with
      status 1
    pravj committed Aug 6, 2014
  8. @pravj

    changes output format to be used programatically

    > removed header lines for public and private gists.
    pravj committed Aug 6, 2014