Skip to content

Commit

Permalink
Use bundler for dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Jan 18, 2013
1 parent 13279a8 commit 49bc001
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'octokit'
gem 'pinboard', github: 'badboy/pinboard', branch: 'update'
37 changes: 37 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,37 @@
GIT
remote: git://github.com/badboy/pinboard.git
revision: 11927b3b440801abb70a000fa1bfc7230e3208be
branch: update
specs:
pinboard (0.0.4)
httparty (= 0.7.8)

GEM
remote: https://rubygems.org/
specs:
addressable (2.3.2)
crack (0.1.8)
faraday (0.8.4)
multipart-post (~> 1.1)
faraday_middleware (0.9.0)
faraday (>= 0.7.4, < 0.9)
hashie (1.2.0)
httparty (0.7.8)
crack (= 0.1.8)
multi_json (1.5.0)
multipart-post (1.1.5)
netrc (0.7.7)
octokit (1.22.0)
addressable (~> 2.2)
faraday (~> 0.8)
faraday_middleware (~> 0.9)
hashie (~> 1.2)
multi_json (~> 1.3)
netrc (~> 0.7.7)

PLATFORMS
ruby

DEPENDENCIES
octokit
pinboard!
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,13 @@

Save all [starred][] github repos to [Pinboard][] using [octokit][] and the [pinboard gem][].

## Installation

Make soure you have [bundler][] installed.
Then just do

bundle install

## Usage

./gh-stars2pinboard.rb [api_token]
Expand All @@ -21,3 +28,4 @@ Get your `api_token` on <https://pinboard.in/settings/password>
[pinboard]: https://pinboard.in/
[octokit]: https://github.com/pengwynn/octokit
[pinboard gem]: https://github.com/badboy/pinboard
[bundler]: http://gembundler.com/
1 change: 1 addition & 0 deletions gh-stars2pinboard.rb 100644 → 100755
Expand Up @@ -6,6 +6,7 @@
# can do whatever you want with this stuff. If we meet some day, and you think
# this stuff is worth it, you can buy me a beer in return. Jan-Erik Rediger

require 'bundler/setup'
require 'octokit'
require 'pinboard'
require 'digest/sha1'
Expand Down

0 comments on commit 49bc001

Please sign in to comment.