Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: newgem - New Gem Generator for RubyGems
Homepage: http://newgem.rubyforge.org
Clone URL: git://github.com/drnic/newgem.git
Search Repo:
-V option shows current newgem version [thx Gert Goet]

git-svn-id: svn+ssh://rubyforge.org/var/svn/newgem/trunk@86 
b8dfb574-5f1f-0410-9469-b441dc4e948f
nicwilliams (author)
Fri Jun 15 05:59:15 -0700 2007
commit  c2fcd7ddbcec38a8d99de7c6add873f7ebd51f6f
tree    3188b1d7f26824907d5ea4073a4c60ddb1797c0d
parent  1e79cf8253b63bb0919fe9fb7ca909a78e5d6764
...
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
0
@@ -1,3 +1,7 @@
0
+TRUNK
0
+
0
+* -V option shows current newgem version [thx Gert Goet]
0
+
0
 == 0.11.0
0
 
0
 * 1 major enhancement
...
1
2
3
4
5
 
6
...
1
2
3
 
4
5
6
0
@@ -1,4 +1,4 @@
0
 == Todo list
0
 * can generate rspec default tests (or still test::unit tests) using --with-test=rspec [thx Robby Russell]
0
 * website components are now optional (-w/--no-website)
0
-* provide option to generate <gemname>/trunk,branches,tags structure and insert files into trunk [-s/--svn]
0
\ No newline at end of file
0
+* release name generator ("red moom", "flying leopard")
0
\ No newline at end of file
...
54
55
56
 
 
 
 
57
58
59
...
54
55
56
57
58
59
60
61
62
63
0
@@ -54,6 +54,10 @@ BANNER
0
   opts.on("-v", "--version=YOUR_VERSION", String,
0
           "Version of the gem you are creating.",
0
           "Default: 0.0.1") { |OPTIONS[:version]| }
0
+ opts.on("-V", "Show the #{File.basename($0)} version number and quit.") do
0
+ puts "newgem #{Newgem::VERSION::STRING}"
0
+ exit(0)
0
+ end
0
   opts.on("-h", "--help",
0
           "Show this help message.") { puts opts; exit }
0
   opts.parse!(ARGV)

Comments

    No one has commented yet.