
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
OctocatNap is a Ruby interface to the GitHub API v2.
The source of it's power is Weary.
sudo gem sources -a http://gems.github.com # If you haven't done that already
sudo gem install mwunsch-octocatnap
* Someday we can put this on Rubyforge
When you instantiate OctocatNap, you can pass different types of arguments to pass your credentials to the methods.
gh = OctocatNap.new("mwunsch", "my-super-secret-token")
or
gh = OctocatNap.new(["mwunsch","my-super-secret-token"])
or
gh = OctocatNap.new({:login => "mwunsch", :token => "my-super-secret-token"})
If you provide just one string when you instantiate, OctocatNap thinks that's the path to a file.
gh = OctocatNap.new(File.join(File.dirname(__FILE__), '..', "config.yml"))
That file should look something like this:
login: mwunsch
token: my-super-secret-token
You can also get credentials from the global .gitconfig, as long as that is set up with your GitHub credentials
gh = OctocatNap.new(true)
This assumes your gitconfig is in a standard place, as detailed here: http://github.com/blog/180-local-github-config
Coming soon. Keep an eye on the Wiki.
Copyright (c) 2009 Mark Wunsch. See LICENSE for details.
FAQs
Unknown package
We found that mwunsch-octocatnap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.