Skip to content

Commit bc60052

Browse files
author
scott Chacon
committed
updated the docs
1 parent be47ad8 commit bc60052

28 files changed

+2109
-1141
lines changed

History.txt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
== 1.0.1
1+
== 1.0.3
22

3-
* Initial version
3+
* Sped up most of the operations
4+
* Added some predicate functions (commit?, tree?, etc)
5+
* Added a number of lower level operations (read-tree, write-tree, checkout-index, etc)
6+
* Fixed a bug with using bare repositories
7+
* Updated a good amount of the documentation
48

59
== 1.0.2
610

711
* Added methods to the git objects that might be helpful
812

13+
== 1.0.1
14+
15+
* Initial version
16+

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
55
spec = Gem::Specification.new do |s|
66
s.platform = Gem::Platform::RUBY
77
s.name = "git"
8-
s.version = "1.0.2"
8+
s.version = "1.0.3"
99
s.author = "Scott Chacon"
1010
s.email = "schacon@gmail.com"
1111
s.summary = "A package for using Git in Ruby code."

doc/classes/Git.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h3 class="section-bar">Constants</h3>
205205
<tr class="top-aligned-row context-row">
206206
<td class="context-item-name">VERSION</td>
207207
<td>=</td>
208-
<td class="context-item-value">'1.0.2'</td>
208+
<td class="context-item-value">'1.0.3'</td>
209209
</tr>
210210
</table>
211211
</div>

doc/classes/Git/Base.html

Lines changed: 683 additions & 293 deletions
Large diffs are not rendered by default.

doc/classes/Git/Branch.html

Lines changed: 118 additions & 70 deletions
Large diffs are not rendered by default.

doc/classes/Git/Branches.html

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@
9494
<h3 class="section-bar">Methods</h3>
9595

9696
<div class="name-list">
97-
<a href="#M000069">[]</a>&nbsp;&nbsp;
98-
<a href="#M000068">each</a>&nbsp;&nbsp;
99-
<a href="#M000065">local</a>&nbsp;&nbsp;
100-
<a href="#M000064">new</a>&nbsp;&nbsp;
101-
<a href="#M000066">remote</a>&nbsp;&nbsp;
102-
<a href="#M000067">size</a>&nbsp;&nbsp;
97+
<a href="#M000076">[]</a>&nbsp;&nbsp;
98+
<a href="#M000075">each</a>&nbsp;&nbsp;
99+
<a href="#M000072">local</a>&nbsp;&nbsp;
100+
<a href="#M000071">new</a>&nbsp;&nbsp;
101+
<a href="#M000073">remote</a>&nbsp;&nbsp;
102+
<a href="#M000074">size</a>&nbsp;&nbsp;
103103
</div>
104104
</div>
105105

@@ -128,19 +128,19 @@ <h3 class="section-bar">Included Modules</h3>
128128
<div id="methods">
129129
<h3 class="section-bar">Public Class methods</h3>
130130

131-
<div id="method-M000064" class="method-detail">
132-
<a name="M000064"></a>
131+
<div id="method-M000071" class="method-detail">
132+
<a name="M000071"></a>
133133

134134
<div class="method-heading">
135-
<a href="#M000064" class="method-signature">
135+
<a href="#M000071" class="method-signature">
136136
<span class="method-name">new</span><span class="method-args">(base)</span>
137137
</a>
138138
</div>
139139

140140
<div class="method-description">
141141
<p><a class="source-toggle" href="#"
142-
onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
143-
<div class="method-source-code" id="M000064-source">
142+
onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
143+
<div class="method-source-code" id="M000071-source">
144144
<pre>
145145
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 10</span>
146146
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">base</span>)
@@ -159,19 +159,19 @@ <h3 class="section-bar">Public Class methods</h3>
159159

160160
<h3 class="section-bar">Public Instance methods</h3>
161161

162-
<div id="method-M000069" class="method-detail">
163-
<a name="M000069"></a>
162+
<div id="method-M000076" class="method-detail">
163+
<a name="M000076"></a>
164164

165165
<div class="method-heading">
166-
<a href="#M000069" class="method-signature">
166+
<a href="#M000076" class="method-signature">
167167
<span class="method-name">[]</span><span class="method-args">(symbol)</span>
168168
</a>
169169
</div>
170170

171171
<div class="method-description">
172172
<p><a class="source-toggle" href="#"
173-
onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
174-
<div class="method-source-code" id="M000069-source">
173+
onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
174+
<div class="method-source-code" id="M000076-source">
175175
<pre>
176176
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 40</span>
177177
<span class="ruby-keyword kw">def</span> <span class="ruby-operator">[]</span>(<span class="ruby-identifier">symbol</span>)
@@ -182,19 +182,19 @@ <h3 class="section-bar">Public Instance methods</h3>
182182
</div>
183183
</div>
184184

185-
<div id="method-M000068" class="method-detail">
186-
<a name="M000068"></a>
185+
<div id="method-M000075" class="method-detail">
186+
<a name="M000075"></a>
187187

188188
<div class="method-heading">
189-
<a href="#M000068" class="method-signature">
189+
<a href="#M000075" class="method-signature">
190190
<span class="method-name">each</span><span class="method-args">() {|b| ...}</span>
191191
</a>
192192
</div>
193193

194194
<div class="method-description">
195195
<p><a class="source-toggle" href="#"
196-
onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
197-
<div class="method-source-code" id="M000068-source">
196+
onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
197+
<div class="method-source-code" id="M000075-source">
198198
<pre>
199199
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 34</span>
200200
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">each</span>
@@ -207,19 +207,19 @@ <h3 class="section-bar">Public Instance methods</h3>
207207
</div>
208208
</div>
209209

210-
<div id="method-M000065" class="method-detail">
211-
<a name="M000065"></a>
210+
<div id="method-M000072" class="method-detail">
211+
<a name="M000072"></a>
212212

213213
<div class="method-heading">
214-
<a href="#M000065" class="method-signature">
214+
<a href="#M000072" class="method-signature">
215215
<span class="method-name">local</span><span class="method-args">()</span>
216216
</a>
217217
</div>
218218

219219
<div class="method-description">
220220
<p><a class="source-toggle" href="#"
221-
onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
222-
<div class="method-source-code" id="M000065-source">
221+
onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
222+
<div class="method-source-code" id="M000072-source">
223223
<pre>
224224
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 20</span>
225225
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">local</span>
@@ -230,19 +230,19 @@ <h3 class="section-bar">Public Instance methods</h3>
230230
</div>
231231
</div>
232232

233-
<div id="method-M000066" class="method-detail">
234-
<a name="M000066"></a>
233+
<div id="method-M000073" class="method-detail">
234+
<a name="M000073"></a>
235235

236236
<div class="method-heading">
237-
<a href="#M000066" class="method-signature">
237+
<a href="#M000073" class="method-signature">
238238
<span class="method-name">remote</span><span class="method-args">()</span>
239239
</a>
240240
</div>
241241

242242
<div class="method-description">
243243
<p><a class="source-toggle" href="#"
244-
onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
245-
<div class="method-source-code" id="M000066-source">
244+
onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
245+
<div class="method-source-code" id="M000073-source">
246246
<pre>
247247
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 24</span>
248248
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">remote</span>
@@ -253,11 +253,11 @@ <h3 class="section-bar">Public Instance methods</h3>
253253
</div>
254254
</div>
255255

256-
<div id="method-M000067" class="method-detail">
257-
<a name="M000067"></a>
256+
<div id="method-M000074" class="method-detail">
257+
<a name="M000074"></a>
258258

259259
<div class="method-heading">
260-
<a href="#M000067" class="method-signature">
260+
<a href="#M000074" class="method-signature">
261261
<span class="method-name">size</span><span class="method-args">()</span>
262262
</a>
263263
</div>
@@ -267,8 +267,8 @@ <h3 class="section-bar">Public Instance methods</h3>
267267
array like methods
268268
</p>
269269
<p><a class="source-toggle" href="#"
270-
onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
271-
<div class="method-source-code" id="M000067-source">
270+
onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
271+
<div class="method-source-code" id="M000074-source">
272272
<pre>
273273
<span class="ruby-comment cmt"># File lib/git/branches.rb, line 30</span>
274274
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">size</span>

0 commit comments

Comments
 (0)