Permalink
Commits on Sep 9, 2015
  1. Bugfix: Can only get an authenticated user's Gists

    garethrees committed Sep 9, 2015
    Might be a cleaner way of coding this.
  2. Merge pull request #18 from garethrees/backup-gists

    ddollar committed Sep 9, 2015
    Backup gists, starred gists and wikis
Commits on Sep 8, 2015
  1. Add Wiki support

    garethrees committed Sep 8, 2015
    Backs up any wikis belonging to repos
  2. Re-add backup output

    garethrees committed Sep 8, 2015
    TODO: Need to turn this on/off with --verbose/--debug
  3. Add gists and starred gists

    garethrees committed Sep 8, 2015
  4. Exract and cache the repo collection

    garethrees committed Sep 7, 2015
    Can use the same object for gists etc now
  5. Add gist support to GithubRepositoryCollection

    garethrees committed Sep 7, 2015
    - #gists
    - #starred_gists
Commits on Sep 7, 2015
  1. Add Gist subclass

    garethrees committed Sep 7, 2015
    Minor differences in API response from GitHub, so just tweak the
    clone_url and backup_path algorithms
  2. Add DeepStruct to imitate Sawyer::Resource

    garethrees committed Sep 7, 2015
    OpenStruct doesn’t recursively provide method accessors.
    
    See http://andreapavoni.com/blog/2013/4/create-recursive-openstruct-from-a-ruby-hash
  3. Merge GithubRepositoryNormalizer in to Repository

    garethrees committed Sep 7, 2015
    - Temporarily remove the gist handling; might use sublcasses here
    - Didn’t really need a class for itself
  4. Add a class to normalize GitHub API repo types

    garethrees committed Sep 7, 2015
    Slightly different fields between repos and gists so
    GithubRepositoryNormalizer provides a common interface
  5. Extract backup root creation to method

    garethrees committed Sep 7, 2015
    Just to be 100% clear about what's happening.
  6. Remove Backup#backup_root

    garethrees committed Sep 7, 2015
    Redundant now there's only 2 calls to it
  7. Add a GithubBackup::Repository class

    garethrees committed Sep 7, 2015
    Handle the execution of the backup step, given a clone_url and a
    backup_path. Don't have to care if its a repository or a gist then.
  8. Add a GithubBackup::Shell class

    garethrees committed Sep 7, 2015
    Makes mocking easier later
    No specs, but its pretty simple
  9. Add fakefs

    garethrees committed Sep 7, 2015
Commits on Jun 13, 2015
  1. Merge pull request #17 from ddollar/revert-16-no_ssh_url

    ddollar committed Jun 13, 2015
    Revert "Use HTTPS URL instead of SSH URL"
  2. Revert "Use HTTPS URL instead of SSH URL"

    ddollar committed Jun 13, 2015
  3. Merge pull request #16 from infertux/no_ssh_url

    ddollar committed Jun 13, 2015
    Use HTTPS URL instead of SSH URL
  4. Use HTTPS URL instead of SSH URL

    infertux committed Jun 13, 2015
    https://github.com/my/repo.git instead of git@github.com:my/repo.git
Commits on Jan 27, 2015
  1. Fix optional local_backup_root CLI arg

    garethrees committed Jan 27, 2015
    cdaf286 set the backup root to the current working directory,
    and 86d2d1b made the local_backup_root argument optional. This commit
    fixes a typo causing the optional local_backup_root argument to print
    the help and exit.
Commits on Jan 14, 2015
  1. Make local_backup_root CLI argument optional

    garethrees committed Jan 14, 2015
    Defaults to current working directory as of cdaf286
  2. Add support for passing nil to some config options

    garethrees committed Jan 14, 2015
    Dirty, but Config is soon to be improved with the Clearance pattern [1].
    
    [1] http://robots.thoughtbot.com/mygem-configure-block
Commits on Jan 13, 2015
Commits on Jan 11, 2015
Commits on Jan 5, 2015
  1. Use h1 for README header

    garethrees committed Jan 5, 2015
  2. Add Travis CI status badge

    garethrees committed Jan 5, 2015
  3. Don't build Ruby 1.8.7

    garethrees committed Jan 5, 2015
    Octokit requires 1.9.2+
  4. Merge pull request #14 from garethrees/specs

    garethrees committed Jan 5, 2015
    Add basic test coverage