public
Description: newgem - New Gem Generator for RubyGems
Homepage: http://newgem.rubyforge.org
Clone URL: git://github.com/drnic/newgem.git
Search Repo:
added gitorious details to geenrated index.txt files
drnic (author)
Wed Apr 16 18:57:54 -0700 2008
commit  3b6282f7bc435c5343f2f84b9076474978ccdc2c
tree    8e54c418730f8d97ef095b9162329e40d972498d
parent  8d4f1b49d1e1eb3734eb9544c07d25d7daf52f5a
...
1
2
 
3
4
5
...
1
2
3
4
5
6
0
@@ -1,5 +1,6 @@
0
 == 0.23.0 2008-04-17
0
 
0
+* generated website/index.txt has customised rubyforge/github information for git
0
 * installing newgem now displays a post-install message (from PostInstall.txt)
0
 * uses github_username value from .rubyforge/user-config.yml
0
 * moved EXTRA_DEPENDENCIES to top of config/hoe.rb
...
164
165
166
167
168
169
170
...
164
165
166
 
167
168
169
0
@@ -164,7 +164,6 @@ EOS
0
     config
0
     doc
0
     lib
0
- log
0
     script
0
     tasks
0
     test
...
1
2
3
4
5
 
 
6
7
8
...
1
2
3
 
 
4
5
6
7
8
0
@@ -1,8 +1,8 @@
0
 module Newgem #:nodoc:
0
   module VERSION #:nodoc:
0
     MAJOR = 0
0
- MINOR = 22
0
- TINY = 2
0
+ MINOR = 23
0
+ TINY = 0
0
 
0
     STRING = [MAJOR, MINOR, TINY].join('.')
0
   end
...
24
25
26
27
28
29
30
31
32
33
34
35
36
37
...
24
25
26
 
 
 
 
 
 
 
 
27
28
29
0
@@ -24,14 +24,6 @@ def rubyforge_project_id
0
   RubyForge.new.autoconfig["group_ids"][RUBYFORGE_PROJECT]
0
 end
0
 
0
-def github_username
0
- @github_username ||= begin
0
- require 'newgem/rubyforge'
0
- rubyforge_config = Newgem::Rubyforge.new
0
- rubyforge_config.github_username
0
- end
0
-end
0
-
0
 class Fixnum
0
   def ordinal
0
     # teens
...
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
59
60
61
...
70
71
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
74
75
...
35
36
37
 
 
 
 
 
 
 
 
 
 
 
 
38
39
40
41
 
 
 
 
 
42
43
44
45
...
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
0
@@ -35,27 +35,11 @@ OOOORRRR
0
 
0
 You can fetch the source from either:
0
 
0
-* github: "http://github.com/<%= github_username %>/<%= gem_name %>/tree/master":http://github.com/<%= github_username %>/<%= gem_name %>/tree/master
0
-
0
-<pre>git clone git://github.com/<%= github_username %>/<%= gem_name %>.git
0
-cd <%= gem_name %>
0
-rake test
0
-rake install_gem
0
-</pre>
0
-
0
-<% if github_username == 'GITHUB_USERNAME' %>
0
-TODO - add "github_username: username" to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
0
-<% end %>
0
-
0
 <%% if rubyforge_project_id %>
0
 
0
 * rubyforge: "http://rubyforge.org/scm/?group_id=<%%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%%= rubyforge_project_id %>
0
 
0
-<pre>git clone git://rubyforge.org/<%= gem_name %>.git
0
-cd <%= gem_name %>
0
-rake test
0
-rake install_gem
0
-</pre>
0
+<pre>git clone git://rubyforge.org/<%= gem_name %>.git</pre>
0
 
0
 <%% else %>
0
 
0
@@ -70,6 +54,24 @@ Or you can hack website/index.txt and make it all go away!!
0
 
0
 <%% end %>
0
 
0
+* github: "http://github.com/<%= github_username %>/<%= gem_name %>/tree/master":http://github.com/<%= github_username %>/<%= gem_name %>/tree/master
0
+
0
+<pre>git clone git://github.com/<%= github_username %>/<%= gem_name %>.git</pre>
0
+
0
+<% if github_username == 'GITHUB_USERNAME' %>
0
+TODO - add "github_username: username" to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
0
+<% end %>
0
+
0
+* gitorious: "git://gitorious.org/<%= gem_name %>/mainline.git":git://gitorious.org/<%= gem_name %>/mainline.git
0
+
0
+<pre>git clone git://gitorious.org/<%= gem_name %>/mainline.git</pre>
0
+
0
+h3. Build and test instructions
0
+
0
+<pre>cd <%= gem_name %>
0
+rake test
0
+rake install_gem</pre>
0
+
0
 
0
 h2. License
0
 
...
33
34
35
36
 
37
38
39
...
33
34
35
 
36
37
38
39
0
@@ -33,7 +33,7 @@
0
     <h1>New Gem Generator</h1>
0
     <div id="version"> <!-- class="clickable" onclick='document.location = ""; return true' -->
0
       <p>Get Version</p>
0
- <a href="" class="numbers">0.22.2</a>
0
+ <a href="" class="numbers">0.23.0</a>
0
       <p>Featured in</p>
0
       <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
0
     </div>
...
33
34
35
36
 
37
38
39
...
33
34
35
 
36
37
38
39
0
@@ -33,7 +33,7 @@
0
     <h1>New Gem Generator</h1>
0
     <div id="version"> <!-- class="clickable" onclick='document.location = ""; return true' -->
0
       <p>Get Version</p>
0
- <a href="" class="numbers">0.22.2</a>
0
+ <a href="" class="numbers">0.23.0</a>
0
       <p>Featured in</p>
0
       <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
0
     </div>
...
1
2
 
3
...
1
 
2
3
0
@@ -1,3 +1,3 @@
0
 // Announcement JS file
0
-var version = "0.22.2";
0
+var version = "0.23.0";
0
 MagicAnnouncement.show('compositekeys', version);
...
1
2
 
3
4
...
1
 
2
3
4
0
@@ -1,4 +1,4 @@
0
 // Version JS file
0
-var version = "0.22.2";
0
+var version = "0.23.0";
0
 
0
 document.write(" - " + version);

Comments

    No one has commented yet.