Skip to content
Browse files

Updated README

  • Loading branch information...
1 parent e6f26f6 commit 4e88a089acf9dfb64656f51d4d1c61a39cb74f2f @karouf karouf committed Apr 30, 2011
Showing with 11 additions and 11 deletions.
  1. +11 −11 README.rdoc
View
22 README.rdoc
@@ -37,11 +37,11 @@ You're all set up.
$ rake version:bump # => 0.1.1
$ rake version:bump:minor # => 0.2.0
$ rake version:bump:revision # => 0.2.1
- $ rake version:bump:pre # => 0.2.1a
- $ rake version:bump # => 0.2.2
- $ rake version:bump:major # => 1.0.0
- $ rake version:bump:minor # => 1.0.1
- $ cat VERSION # => 1.0.1
+ $ rake version:bump:pre # => 1.0.0a
+ $ rake version:bump # => 1.0.0
+ $ rake version:bump:major # => 2.0.0
+ $ rake version:bump:minor # => 2.1.0
+ $ cat VERSION # => 2.1.0
The VersionTask can automatically manage git tagging for
you, too.
@@ -92,12 +92,12 @@ library. It's simple to use, but I'll be surprised if there's much point
beyond doing the legwork for the Rake task and class versioning.
v = "1.2.0".to_version
- v.to_s # => 1.2.0
- v.bump! # => 1.2.1
- v.bump!(:major) # => 2.0.0
- v.bump!(:minor, nil, true) # => 2.1
- v.major = 3 # => 3.0
- v.to_a # => ['3', '0']
+ v.to_s # => 1.2.0
+ v.bump! # => 1.2.1
+ v.bump!(:major) # => 2.0.0
+ v.bump!(:minor, nil, true) # => 2.1
+ v.major = 3 # => 3.0
+ v.to_a # => ['3', '0']
== Install

0 comments on commit 4e88a08

Please sign in to comment.
Something went wrong with that request. Please try again.