README.md in drg-0.7.0 vs README.md in drg-0.8.0
- old
+ new
@@ -1,10 +1,9 @@
# DRG
-A Ruby utility to help automate common tasks! Currently includes enhanced dependency management using Bundler. You
-can pin Gem versions to the current or the next available level (major, minor, or patch). Can also automatically
-update your gems to the latest available version.
+A Ruby utility to help automate dependency management using Bundler. You can pin Gem versions to the current or the next
+available level. DRG can automatically update your gems to the latest available version, similar to Gemnasium.
## Requirements
* Bundler 1.10+
@@ -48,57 +47,57 @@
```bash
rake drg:pin
```
-Will update a Gemfile to their full version:
+This task will update your Gemfile with the gem's full version. It'll change:
```ruby
gem 'rails'
gem 'byebug', require: false
gem 'therubyracer', '~> 0.12', platforms: :ruby
gem 'drg' # need this
```
-it'll get changed to
+to:
```ruby
gem 'rails', '4.2.3'
gem 'byebug', '5.0.0', require: false
gem 'therubyracer', '0.12.2', platforms: :ruby
gem 'drg', '0.4.1' # need this
```
### drg:pin:minor
-Want to pin gems at their _minor_ version?
+Want to pin gems at their __minor__ version?
```bash
rake drg:pin:minor
```
-Will update a Gemfile
+This task will update your Gemfile with the approximate gem's minor version. It'll change:
```ruby
gem 'rails', '4.2.3'
```
-to
+to:
```ruby
gem 'rails', '~> 4.2'
```
### drg:pin:patch
-Want to pin gems at their _patch_ version?
+Want to pin gems at their __patch__ version?
```bash
rake drg:pin:minor
```
-Will update a Gemfile
+This task will update your Gemfile with the approximate gem's patch version. It'll change:
```ruby
gem 'rails', '4.2.3'
```
@@ -106,11 +105,11 @@
```ruby
gem 'rails', '~> 4.2.3'
```
-This can be combined with `bundle update` to quickly update all gems to the latest patch or minor level.
+This can be combined with `bundle update` to quickly update all gems to the latest version.
### drg:pin:major
Pins your gems at the major level:
@@ -118,11 +117,11 @@
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.
+Updates the patch version for each outdated gem to the latest version:
```bash
rake drg:pin:patch_latest #=> updates all gems in the Gemfile
rake drg:pin:patch_latest[<gem>] #=> updates only the specified <gem>
```
@@ -136,10 +135,10 @@
rake drg:pin:minor_latest[<gem>] #=> updates only the specified <gem>
```
### drg:unpin
-Remove the versions from your Gemfile. Start fresh!
+Remove the versions from your Gemfile. A clean start!
```bash
rake drg:unpin
```