A Bundler Plugin that greps your bundled Ruby gems.
Add this line to your application's Gemfile:
plugin 'bundle_grep' # Installs from Rubygems
Or, install manually:
$ bundler plugin install bundle_grep
bundler_grep is cryptographically signed. To be sure the gem you install hasn’t been tampered with:
Add my public key (if you haven't already) as a trusted certificate:
gem cert --add <(curl -Ls https://raw.githubusercontent.com/tiegz/bundle_grep/master/certs/tiegz.pem)
Add this line to your application's Gemfile:
plugin 'bundle_grep' # Installs from Rubygems
And run bundler in your project: $ bundle --trust-policy MediumSecurity
(for more information on --trust-policy, see https://guides.rubygems.org/security/#using-gems)
Once installed, execute:
$ bundle grep spec.license
$ .../somelibrary/somelibrary.gemspec: spec.license = "MIT"
Bundler currently doesn't have a bundler plugin uninstall ...
command, but you can reset your local plugins with a simple rm -rf .bundle/plugin
After checking out the repo, run bin/setup
to install dependencies. Then, run rake test
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/tiegz/bundle_grep. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the BundleGrep project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.