README.md in drg-1.2.1 vs README.md in drg-1.2.2
- old
+ new
@@ -24,11 +24,10 @@
rake drg:pin:patch # Add the approximate patch version of your gems (rails, "~> 4.2.3")
rake drg:pin:latest[gem] # Pin the given gem to the latest version (defaults to all gems)
rake drg:pin:minor_latest[gem] # Pin the given gem to the latest available patch version (defaults to all gems)
rake drg:pin:patch_latest[gem] # Pin the given gem to the latest available minor version (defaults to all gems)
rake drg:unpin # Unpin the gems in your Gemfile
-rake spec # Run all tests
```
### drg:pin
DRG really wants to help you manage your project's gems. But DRG doesn't want to replace Bundler. Instead, we want to build on
@@ -37,25 +36,25 @@
```bash
rake drg:pin
```
-This task will update your Gemfile with the gem's full version. It'll change:
+This task will update your Gemfile with the gem's approximate version. It'll change:
```ruby
gem 'rails'
gem 'byebug', require: false
gem 'therubyracer', '~> 0.12', platforms: :ruby
-gem 'drg' # need this
+gem 'drg' # :)
```
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
+gem 'rails', '~> 4.2'
+gem 'byebug', '~> 5.0', require: false
+gem 'therubyracer', '~> 0.12', platforms: :ruby
+gem 'drg', '~> 1.2' # :)
```
### Automation
I use the [bin/drg](https://github.com/ridiculous/drg/blob/master/bin/drg) bash script to update all gems to the latest