README.md in drg-0.6.0 vs README.md in drg-0.7.0

- old
+ new

@@ -22,19 +22,19 @@ rake drg:update rake drg:pin rake drg:pin:major rake drg:pin:minor rake drg:pin:patch -rake drg:pin:latest_patch -rake drg:pin:latest_minor +rake drg:pin:patch_latest +rake drg:pin:minor_latest rake drg:unpin ``` ### drg:update -DRG can update your outdated gems! It does this by checking for outdated gems, and then updating them one at time to the latest -version. It then run your tests (with `rake`) and if your tests pass, the new version will be written to your Gemfile! +DRG loves updating gems! Run this command to check for outdated gems and try to update them to the latest available version. +Each outdated gem will be updated, then DRG will run your tests (with `rake`) and if your tests pass, the new version will be written to your Gemfile! ```bash rake drg:update ``` @@ -110,13 +110,31 @@ This can be combined with `bundle update` to quickly update all gems to the latest patch or minor level. ### drg:pin:major -There is also a +Pins your gems at the major level: ```bash rake drg:pin:major + ``` + +### drg:pin:patch_latest + +Updates the patch version for each outdated gem to the highest available version. This command should be run after `drg:pin` to ensure your gem versions are normalized. + + ```bash + rake drg:pin:patch_latest #=> updates all gems in the Gemfile + rake drg:pin:patch_latest[<gem>] #=> updates only the specified <gem> + ``` + +### drg:pin:minor_latest + +Same as `patch_latest` except it updates the minor version to the latest + + ```bash + rake drg:pin:minor_latest #=> updates all gems in the Gemfile + rake drg:pin:minor_latest[<gem>] #=> updates only the specified <gem> ``` ### drg:unpin Remove the versions from your Gemfile. Start fresh!