
Security News
CISA’s 2025 SBOM Guidance Adds Hashes, Licenses, Tool Metadata, and Context
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
GItHub GEms STats. Discover Gems usage for a GitHub user or org!
Do you want to know which are the most/least frequently used Gems for a GitHub user or organization? GIGEST gives you the ability to do that by inspecting the Gemfiles across all repos for a GitHub account.
gem install 'gigest'
Authenticate. You have 4 ways to do it.
analytics = Gigest::Analytics.new(login: "winston", password: "secret")
Authenticating with your username and password will give GIGEST access to public and private repos within your GitHub account and organization/s.
Authenticating with an OAuth access token will give GIGEST access to repos depending on the scopes which the OAuth access token was granted.
Process for a GitHub user or GitHub Organization.
analytics.process_for("winston")
This can take a while if the GitHub account contains A LOT of repos. Sit back and relax.
Get summary.
analytics.summary
Returns you a Hash in the format:
{
gem1: [repo1, repo2],
gem2: [repo1, repo2, repo3, repo4]
}
4) Get statistics.
analytics.statistics
Returns you an Array in the format:
[
{gem_name: "gem1", repositories: ["repo1", "repo2"], count: 2, percentage: 100.0},
{gem_name: "gem2", repositories: ["repo1"], count: 1, percentage: 50.0}
]
Pull Requests are very welcomed (with specs, of course)!
To run all specs, just execute rake
or rspec
.
GIGEST is maintained by Winston Teo.
You should follow Winston on Twitter, or find out more on WinstonYW and LinkedIn.
Copyright © 2013 Winston Teo Yong Wei. Free software, released under the MIT license.
FAQs
Unknown package
We found that gigest 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
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.