README.md in bundler-restrict-0.1.0 vs README.md in bundler-restrict-0.1.1

- old
+ new

@@ -1,11 +1,14 @@ # Bundler::Restrict -Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bundler/restrict`. To experiment with that code, run `bin/console` for an interactive prompt. +Check bundle gem list. -TODO: Delete this and the text above, and describe your gem +Available checks: + * DateCheck: check if gem release date < '2022-02-01' + + ## Installation Install the gem and add to the application's Gemfile by executing: $ bundle add bundler-restrict @@ -14,10 +17,20 @@ $ gem install bundler-restrict ## Usage -TODO: Write usage instructions here +Add to CI: + +```bash +bundle-restrict +``` + + +| ENV | Description | Default | +| ---------------- | ---------------------- | --------------------- | +| BUNDLE_RESTRICT_Z_DATE | Max allowed release date | 2022-02-01 | +| BUNDLE_RESTRICT_IGNORE_GEMS | List of gems to ignore checks | bundler-restrict | ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.