Bundle-star¶ ↑
Bundle-star starred gem's github repository when bundle installing by bundle-star
command.
See Also my slide for M3 TechTalk speakerdeck.com/ma2gedev/bundle-star-how-to-appreciate-oss-projects
Installation¶ ↑
Install it yourself as:
$ gem install bundle-star
Usage¶ ↑
Setup a .netrc file¶ ↑
Bundle-star depends on Netrc gem and Octokit gem to access GitHub API. Write your GitHub credentials into .netrc
file(locating to ~/.netrc
), you can now access to GitHub API by bundle-star command.
The following is a sample .netrc
file. And execute chmod 600 ~/.netrc
to avoid permission error.
machine api.github.com login <your github account> password <your 40 char github token, you can get a token from https://github.com/settings/tokens>
Use bundle-star
instead of bundle
:¶ ↑
$ bundle-star install $ bundle-star update
Pro tip:¶ ↑
alias bsi="bundle-star install"
See Also¶ ↑
-
About GitHub token
-
Creating a personal access token for the command line - User Documentation
-
.netrc
file -
GNU Inetutils: The .netrc file
Contributing¶ ↑
-
Fork it
-
Create your feature branch (
git checkout -b my-new-feature
) -
Commit your changes (
git commit -am 'Add some feature'
) -
Push to the branch (
git push origin my-new-feature
) -
Create new Pull Request
Development¶ ↑
DEBUG environment variable¶ ↑
It is useful for develop with DEBUG environment variable like the following:
DEBUG=true bin/bundle-star