Skip to content

Commit ec59c5c

Browse files
author
scott Chacon
committed
updated the docs, added a version to the library, added a History file
1 parent 32fbe70 commit ec59c5c

File tree

8 files changed

+55
-8
lines changed

8 files changed

+55
-8
lines changed

History.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
== 1.0.1
2+
3+
* New version

README

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
Library for using Git in Ruby.
44

5+
= Homepage
6+
7+
The Ruby/Git homepage is currently at :
8+
9+
http://jointheconversation.org/rubygit
10+
11+
Git public hosting of the project source code is at:
12+
13+
http://repo.or.cz/w/rubygit.git
514

615
= Roadmap
716

@@ -149,4 +158,4 @@ And here are the operations that will need to write to your git repository.
149158
g.repack
150159

151160
g.push
152-
g.push(g.remote('name'))
161+
g.push(g.remote('name'))

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ task :doc do |t|
3030
system('rdoc lib/ README --main README --inline-source')
3131
end
3232

33+
desc "Upload Docs"
34+
task :upload_docs do |t|
35+
system('rsync -rv --delete doc/ git.rubyforge.org:/var/www/gforge-projects/git')
36+
end
37+
3338
desc "Run Unit Tests"
3439
task :test do |t|
3540
require File.dirname(__FILE__) + '/tests/all_tests.rb'

doc/classes/Git.html

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,19 @@ <h3 class="section-bar">Classes and Modules</h3>
167167

168168
</div>
169169

170+
<div id="constants-list">
171+
<h3 class="section-bar">Constants</h3>
172+
173+
<div class="name-list">
174+
<table summary="Constants">
175+
<tr class="top-aligned-row context-row">
176+
<td class="context-item-name">VERSION</td>
177+
<td>=</td>
178+
<td class="context-item-value">'1.0.1'</td>
179+
</tr>
180+
</table>
181+
</div>
182+
</div>
170183

171184

172185

@@ -191,7 +204,7 @@ <h3 class="section-bar">Public Class methods</h3>
191204
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
192205
<div class="method-source-code" id="M000001-source">
193206
<pre>
194-
<span class="ruby-comment cmt"># File lib/git.rb, line 34</span>
207+
<span class="ruby-comment cmt"># File lib/git.rb, line 36</span>
195208
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">bare</span>(<span class="ruby-identifier">git_dir</span>)
196209
<span class="ruby-constant">Base</span>.<span class="ruby-identifier">bare</span>(<span class="ruby-identifier">git_dir</span>)
197210
<span class="ruby-keyword kw">end</span>
@@ -214,7 +227,7 @@ <h3 class="section-bar">Public Class methods</h3>
214227
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
215228
<div class="method-source-code" id="M000004-source">
216229
<pre>
217-
<span class="ruby-comment cmt"># File lib/git.rb, line 46</span>
230+
<span class="ruby-comment cmt"># File lib/git.rb, line 48</span>
218231
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span> = {})
219232
<span class="ruby-constant">Base</span>.<span class="ruby-identifier">clone</span>(<span class="ruby-identifier">repository</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">options</span>)
220233
<span class="ruby-keyword kw">end</span>
@@ -237,7 +250,7 @@ <h3 class="section-bar">Public Class methods</h3>
237250
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
238251
<div class="method-source-code" id="M000003-source">
239252
<pre>
240-
<span class="ruby-comment cmt"># File lib/git.rb, line 42</span>
253+
<span class="ruby-comment cmt"># File lib/git.rb, line 44</span>
241254
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span> = <span class="ruby-value str">'.'</span>, <span class="ruby-identifier">options</span> = {})
242255
<span class="ruby-constant">Base</span>.<span class="ruby-identifier">init</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span>)
243256
<span class="ruby-keyword kw">end</span>
@@ -260,7 +273,7 @@ <h3 class="section-bar">Public Class methods</h3>
260273
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
261274
<div class="method-source-code" id="M000002-source">
262275
<pre>
263-
<span class="ruby-comment cmt"># File lib/git.rb, line 38</span>
276+
<span class="ruby-comment cmt"># File lib/git.rb, line 40</span>
264277
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span> = {})
265278
<span class="ruby-constant">Base</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">working_dir</span>, <span class="ruby-identifier">options</span>)
266279
<span class="ruby-keyword kw">end</span>

doc/created.rid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Mon Nov 12 10:52:42 PST 2007
1+
Mon Nov 12 11:08:01 PST 2007

doc/files/README.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h1>README</h1>
5656
</tr>
5757
<tr class="top-aligned-row">
5858
<td><strong>Last Update:</strong></td>
59-
<td>Mon Nov 12 10:51:20 PST 2007</td>
59+
<td>Mon Nov 12 11:07:58 PST 2007</td>
6060
</tr>
6161
</table>
6262
</div>
@@ -73,6 +73,21 @@ <h2><a href="../classes/Git.html">Git</a> Library for Ruby</h2>
7373
<p>
7474
Library for using <a href="../classes/Git.html">Git</a> in Ruby.
7575
</p>
76+
<h1>Homepage</h1>
77+
<p>
78+
The Ruby/<a href="../classes/Git.html">Git</a> homepage is currently at :
79+
</p>
80+
<p>
81+
<a
82+
href="http://jointheconversation.org/rubygit">jointheconversation.org/rubygit</a>
83+
</p>
84+
<p>
85+
<a href="../classes/Git.html">Git</a> public hosting of the project source
86+
code is at:
87+
</p>
88+
<p>
89+
<a href="http://repo.or.cz/w/rubygit.git">repo.or.cz/w/rubygit.git</a>
90+
</p>
7691
<h1>Roadmap</h1>
7792
<p>
7893
Right now I&#8217;m forking calls to the &#8216;git&#8217; binary, but

doc/files/lib/git_rb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h1>git.rb</h1>
5656
</tr>
5757
<tr class="top-aligned-row">
5858
<td><strong>Last Update:</strong></td>
59-
<td>Sat Nov 10 16:21:26 PST 2007</td>
59+
<td>Mon Nov 12 10:59:30 PST 2007</td>
6060
</tr>
6161
</table>
6262
</div>

lib/git.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
=end
3131

3232
module Git
33+
34+
VERSION = '1.0.1'
3335

3436
def self.bare(git_dir)
3537
Base.bare(git_dir)

0 commit comments

Comments
 (0)