Browse files

Document generated gemspecs

  • Loading branch information...
1 parent 9879fd9 commit ec5af9130c6d0f7e575c6d0076c4a1a0df43b0a2 @stouset stouset committed Feb 17, 2010
Showing with 19 additions and 1 deletion.
  1. +1 −1 History.rdoc
  2. +18 −0 README.rdoc
View
2 History.rdoc
@@ -1,7 +1,7 @@
=== Version (unreleased) / (unreleased)
* enhancements
- * extracted gemspec into its own file
+ * automagic gemspec generation
=== Version 0.9.0 / 2010-02-15
View
18 README.rdoc
@@ -43,6 +43,24 @@ You're all set up.
$ rake version:bump:major # => 1.0.0
$ rake version:bump:minor # => 1.0.1
$ cat VERSION # => 1.0.1
+
+The VersionTask can automatically manage git tagging for
+you, too.
+
+ Rake::VersionTask.new do |task|
+ task.with_git_tag = true
+ end
+
+And if you want the VersionTask to automatically emit updated gemspecs on
+version-bumps, use the +with_gemspec+ flag.
+
+ spec = Gem::Specification.new do |s|
+ ...
+ end
+
+ Rake::VersionTask.new do |task|
+ task.with_gemspec = spec
+ end
Version also supports a .yml VERSION file. See the VersionTask rdoc for
details.

0 comments on commit ec5af91

Please sign in to comment.