git_hub 0.2.0 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +30 -29
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/features/{zemax.feature → git_hub.feature} +0 -0
- data/features/step_definitions/{zemax_steps.rb → git_hub_steps.rb} +0 -0
- data/features/support/env.rb +1 -1
- data/git_hub.gemspec +10 -4
- data/lib/git_hub/base.rb +37 -23
- data/lib/git_hub/commit.rb +20 -17
- data/lib/git_hub/repo.rb +51 -31
- data/lib/git_hub.rb +1 -10
- data/rdoc/classes/GitHub/Api.html +49 -15
- data/rdoc/classes/GitHub/Base.html +147 -47
- data/rdoc/classes/GitHub/Commit.html +390 -0
- data/rdoc/classes/GitHub/Repo.html +266 -111
- data/rdoc/classes/GitHub.html +34 -60
- data/rdoc/created.rid +1 -1
- data/rdoc/files/README_rdoc.html +43 -18
- data/rdoc/files/lib/git_hub/api_rb.html +2 -2
- data/rdoc/files/lib/git_hub/base_rb.html +2 -2
- data/rdoc/files/lib/git_hub/commit_rb.html +91 -0
- data/rdoc/files/lib/git_hub/repo_rb.html +2 -2
- data/rdoc/files/lib/git_hub_rb.html +2 -2
- data/rdoc/fr_class_index.html +4 -2
- data/rdoc/fr_file_index.html +4 -2
- data/rdoc/fr_method_index.html +42 -24
- data/rdoc/index.html +2 -2
- data/spec/git_hub/commit_spec.rb +6 -6
- data/spec/git_hub/repo_spec.rb +12 -7
- data/spec/git_hub/user_spec.rb +15 -0
- data/spec/spec_helper.rb +6 -2
- data/spec/stubs/commits/show/joe007/fine_repo/3a70f86293b719f193f778a8710b1f83f2f7bf38.res +47 -0
- data/spec/stubs/commits/show/joe007/fine_repo/f7f5dddaa37deacc83f1f56876e2b135389d03ab.res +38 -0
- metadata +10 -4
data/rdoc/classes/GitHub.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>Module: GitHub [
|
5
|
+
<title>Module: GitHub [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -71,6 +71,16 @@
|
|
71
71
|
</a>
|
72
72
|
|
73
73
|
|
74
|
+
<br />
|
75
|
+
|
76
|
+
|
77
|
+
<a href="../files/lib/git_hub/commit_rb.html">
|
78
|
+
|
79
|
+
lib/git_hub/commit.rb
|
80
|
+
|
81
|
+
</a>
|
82
|
+
|
83
|
+
|
74
84
|
<br />
|
75
85
|
|
76
86
|
|
@@ -113,13 +123,11 @@
|
|
113
123
|
|
114
124
|
<div class="name-list">
|
115
125
|
|
116
|
-
<a href="#
|
126
|
+
<a href="#M000001">libpath</a>
|
117
127
|
|
118
|
-
<a href="#
|
128
|
+
<a href="#M000002">path</a>
|
119
129
|
|
120
|
-
<a href="#
|
121
|
-
|
122
|
-
<a href="#M000001">version</a>
|
130
|
+
<a href="#M000003">require_all_libs_relative_to</a>
|
123
131
|
|
124
132
|
</div>
|
125
133
|
</div>
|
@@ -135,6 +143,7 @@
|
|
135
143
|
|
136
144
|
Class <a href="GitHub/Api.html" class="link">GitHub::Api</a><br />
|
137
145
|
Class <a href="GitHub/Base.html" class="link">GitHub::Base</a><br />
|
146
|
+
Class <a href="GitHub/Commit.html" class="link">GitHub::Commit</a><br />
|
138
147
|
Class <a href="GitHub/Repo.html" class="link">GitHub::Repo</a><br />
|
139
148
|
|
140
149
|
</div>
|
@@ -149,12 +158,12 @@ Class <a href="GitHub/Repo.html" class="link">GitHub::Repo</a><br />
|
|
149
158
|
<h3 class="section-bar">Public Class methods</h3>
|
150
159
|
|
151
160
|
|
152
|
-
<div id="method-
|
153
|
-
<a name="
|
161
|
+
<div id="method-M000001" class="method-detail">
|
162
|
+
<a name="M000001"></a>
|
154
163
|
|
155
164
|
<div class="method-heading">
|
156
165
|
|
157
|
-
<a href="#
|
166
|
+
<a href="#M000001" class="method-signature">
|
158
167
|
|
159
168
|
<span class="method-name">libpath</span><span class="method-args">( *args )</span>
|
160
169
|
|
@@ -170,10 +179,10 @@ will be joined to the end of the libray path using <tt>File.join</tt>.
|
|
170
179
|
</p>
|
171
180
|
|
172
181
|
<p><a class="source-toggle" href="#"
|
173
|
-
onclick="toggleCode('
|
174
|
-
<div class="method-source-code" id="
|
182
|
+
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
183
|
+
<div class="method-source-code" id="M000001-source">
|
175
184
|
<pre>
|
176
|
-
<span class="ruby-comment cmt"># File lib/git_hub.rb, line
|
185
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 13</span>
|
177
186
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">libpath</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
178
187
|
<span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-constant">LIBPATH</span> <span class="ruby-operator">:</span> <span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">LIBPATH</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">flatten</span>)
|
179
188
|
<span class="ruby-keyword kw">end</span>
|
@@ -184,12 +193,12 @@ will be joined to the end of the libray path using <tt>File.join</tt>.
|
|
184
193
|
</div>
|
185
194
|
|
186
195
|
|
187
|
-
<div id="method-
|
188
|
-
<a name="
|
196
|
+
<div id="method-M000002" class="method-detail">
|
197
|
+
<a name="M000002"></a>
|
189
198
|
|
190
199
|
<div class="method-heading">
|
191
200
|
|
192
|
-
<a href="#
|
201
|
+
<a href="#M000002" class="method-signature">
|
193
202
|
|
194
203
|
<span class="method-name">path</span><span class="method-args">( *args )</span>
|
195
204
|
|
@@ -205,10 +214,10 @@ joined to the end of the path using <tt>File.join</tt>.
|
|
205
214
|
</p>
|
206
215
|
|
207
216
|
<p><a class="source-toggle" href="#"
|
208
|
-
onclick="toggleCode('
|
209
|
-
<div class="method-source-code" id="
|
217
|
+
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
218
|
+
<div class="method-source-code" id="M000002-source">
|
210
219
|
<pre>
|
211
|
-
<span class="ruby-comment cmt"># File lib/git_hub.rb, line
|
220
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 21</span>
|
212
221
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">path</span>( <span class="ruby-operator">*</span><span class="ruby-identifier">args</span> )
|
213
222
|
<span class="ruby-identifier">args</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-constant">PATH</span> <span class="ruby-operator">:</span> <span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">PATH</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">flatten</span>)
|
214
223
|
<span class="ruby-keyword kw">end</span>
|
@@ -219,12 +228,12 @@ joined to the end of the path using <tt>File.join</tt>.
|
|
219
228
|
</div>
|
220
229
|
|
221
230
|
|
222
|
-
<div id="method-
|
223
|
-
<a name="
|
231
|
+
<div id="method-M000003" class="method-detail">
|
232
|
+
<a name="M000003"></a>
|
224
233
|
|
225
234
|
<div class="method-heading">
|
226
235
|
|
227
|
-
<a href="#
|
236
|
+
<a href="#M000003" class="method-signature">
|
228
237
|
|
229
238
|
<span class="method-name">require_all_libs_relative_to</span><span class="method-args">( fname, dir = nil )</span>
|
230
239
|
|
@@ -242,14 +251,13 @@ the <em>filename</em> does not have to be equivalent to the directory.
|
|
242
251
|
</p>
|
243
252
|
|
244
253
|
<p><a class="source-toggle" href="#"
|
245
|
-
onclick="toggleCode('
|
246
|
-
<div class="method-source-code" id="
|
254
|
+
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
255
|
+
<div class="method-source-code" id="M000003-source">
|
247
256
|
<pre>
|
248
|
-
<span class="ruby-comment cmt"># File lib/git_hub.rb, line
|
257
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 30</span>
|
249
258
|
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require_all_libs_relative_to</span>( <span class="ruby-identifier">fname</span>, <span class="ruby-identifier">dir</span> = <span class="ruby-keyword kw">nil</span> )
|
250
259
|
<span class="ruby-identifier">dir</span> <span class="ruby-operator">||=</span> <span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">fname</span>, <span class="ruby-value str">'.*'</span>)
|
251
|
-
<span class="ruby-identifier">search_me</span> = <span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(
|
252
|
-
<span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">fname</span>), <span class="ruby-identifier">dir</span>, <span class="ruby-value str">'**'</span>, <span class="ruby-value str">'*.rb'</span>))
|
260
|
+
<span class="ruby-identifier">search_me</span> = <span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-operator">::</span><span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">fname</span>), <span class="ruby-identifier">dir</span>, <span class="ruby-value str">'**'</span>, <span class="ruby-value str">'*.rb'</span>))
|
253
261
|
|
254
262
|
<span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">search_me</span>).<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">rb</span><span class="ruby-operator">|</span> <span class="ruby-identifier">require</span> <span class="ruby-identifier">rb</span>}
|
255
263
|
<span class="ruby-keyword kw">end</span>
|
@@ -260,40 +268,6 @@ the <em>filename</em> does not have to be equivalent to the directory.
|
|
260
268
|
</div>
|
261
269
|
|
262
270
|
|
263
|
-
<div id="method-M000001" class="method-detail">
|
264
|
-
<a name="M000001"></a>
|
265
|
-
|
266
|
-
<div class="method-heading">
|
267
|
-
|
268
|
-
<a href="#M000001" class="method-signature">
|
269
|
-
|
270
|
-
<span class="method-name">version</span><span class="method-args">()</span>
|
271
|
-
|
272
|
-
</a>
|
273
|
-
|
274
|
-
</div>
|
275
|
-
|
276
|
-
<div class="method-description">
|
277
|
-
|
278
|
-
<p>
|
279
|
-
Returns the version string for the library.
|
280
|
-
</p>
|
281
|
-
|
282
|
-
<p><a class="source-toggle" href="#"
|
283
|
-
onclick="toggleCode('M000001-source');return false;">[Source]</a></p>
|
284
|
-
<div class="method-source-code" id="M000001-source">
|
285
|
-
<pre>
|
286
|
-
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 12</span>
|
287
|
-
<span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">version</span>
|
288
|
-
<span class="ruby-constant">VERSION</span>
|
289
|
-
<span class="ruby-keyword kw">end</span>
|
290
|
-
</pre>
|
291
|
-
</div>
|
292
|
-
|
293
|
-
</div>
|
294
|
-
</div>
|
295
|
-
|
296
|
-
|
297
271
|
|
298
272
|
</div>
|
299
273
|
|
data/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Tue, 12 Jan 2010 17:42:54 +0300
|
data/rdoc/files/README_rdoc.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>File: README.rdoc [
|
5
|
+
<title>File: README.rdoc [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>Last Update:</strong></td>
|
57
|
-
<td>2010-01-
|
57
|
+
<td>2010-01-12 12:07:54 +0300</td>
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
</div>
|
@@ -67,13 +67,13 @@
|
|
67
67
|
<div id="description">
|
68
68
|
<h1>git_hub</h1>
|
69
69
|
<pre>
|
70
|
-
by
|
71
|
-
url
|
70
|
+
by: Arvicco
|
71
|
+
url: http://github.com/arvicco/git_hub
|
72
72
|
</pre>
|
73
73
|
<h2>DESCRIPTION:</h2>
|
74
74
|
<p>
|
75
75
|
git_hub is a library that wraps github API and exposes simple interface for
|
76
|
-
finding, creating and managing github repositories and other resources
|
76
|
+
finding, creating and managing github repositories and other resources.
|
77
77
|
</p>
|
78
78
|
<h2>FEATURES/PROBLEMS:</h2>
|
79
79
|
<ul>
|
@@ -86,22 +86,47 @@ This project is quite new, so it’s probably not ready for prime time
|
|
86
86
|
just yet... Contributors always welcome!
|
87
87
|
</p>
|
88
88
|
<h2>SYNOPSIS:</h2>
|
89
|
+
<pre>
|
90
|
+
require 'git_hub'
|
91
|
+
include GitHub
|
92
|
+
</pre>
|
93
|
+
<p>
|
94
|
+
Find existing repos:
|
95
|
+
</p>
|
96
|
+
<pre>
|
97
|
+
repo = Repo.find(:user=>user_name, :repo=>repo_name)
|
98
|
+
repos = Repo.find(:user=>user_name)
|
99
|
+
search_repos = Repo.find(:query=>['search','terms'])
|
100
|
+
</pre>
|
89
101
|
<p>
|
90
|
-
|
91
|
-
href="../classes/GitHub.html">GitHub</a>
|
102
|
+
Retrieve tags, branches and commits for a repo:
|
92
103
|
</p>
|
104
|
+
<pre>
|
105
|
+
puts repo.tags['v0.1.0'].committer
|
106
|
+
puts repo.branches['master'].committed_date
|
107
|
+
repo.commits.each {|commit| p commit.author}
|
108
|
+
</pre>
|
93
109
|
<p>
|
94
|
-
|
95
|
-
repos = Repo.find(:user=>user_name) search_repos =
|
96
|
-
Repo.find(:query=>[‘search’,’terms’])
|
110
|
+
Retrieve info for a specific commit:
|
97
111
|
</p>
|
112
|
+
<pre>
|
113
|
+
commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master')
|
114
|
+
commits = Commit.find(:user=>user_name, :repo=>repo_name, :branch=>'master', :path=>'README.rdoc')
|
115
|
+
commit = Commit.find(:user=>user_name, :repo=>repo_name, :sha=>'commit_sha')
|
116
|
+
# or, if repo is already retrieved:
|
117
|
+
commit = repo.commits.last
|
118
|
+
commit = repo.tags['v0.1.0']
|
119
|
+
commit = repo.branches['master'] # returns most recent commit for a branch
|
120
|
+
</pre>
|
98
121
|
<p>
|
99
|
-
|
100
|
-
|
101
|
-
Repo.create(:name=>repo_name, :desc=>’Description’,
|
102
|
-
:homepage=>’<a href="http://your_page.org">your_page.org</a>’,
|
103
|
-
:private=> false)
|
122
|
+
Create new repo or delete existing repo (need to authenticate with your
|
123
|
+
github credentials first)
|
104
124
|
</p>
|
125
|
+
<pre>
|
126
|
+
Api.auth = {:user=>user_name, :token=>token}
|
127
|
+
new_repo = Repo.create(:name=>repo_name, :desc=>'Description', :homepage=>'http://your_page.org', :private=> false)
|
128
|
+
new_repo.delete
|
129
|
+
</pre>
|
105
130
|
<h2>REQUIREMENTS:</h2>
|
106
131
|
<ul>
|
107
132
|
<li>FIXME (list of requirements)
|
@@ -109,9 +134,9 @@ Repo.create(:name=>repo_name, :desc=>’Description’,
|
|
109
134
|
</li>
|
110
135
|
</ul>
|
111
136
|
<h2>INSTALL:</h2>
|
112
|
-
<
|
113
|
-
$ sudo gem install git_hub
|
114
|
-
</
|
137
|
+
<pre>
|
138
|
+
$ sudo gem install git_hub
|
139
|
+
</pre>
|
115
140
|
<h2>LICENSE:</h2>
|
116
141
|
<p>
|
117
142
|
(The MIT License)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>File: api.rb [
|
5
|
+
<title>File: api.rb [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>Last Update:</strong></td>
|
57
|
-
<td>2010-01-
|
57
|
+
<td>2010-01-11 11:04:43 +0300</td>
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
</div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>File: base.rb [
|
5
|
+
<title>File: base.rb [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>Last Update:</strong></td>
|
57
|
-
<td>2010-01-
|
57
|
+
<td>2010-01-12 17:32:40 +0300</td>
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
</div>
|
@@ -0,0 +1,91 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<title>File: commit.rb [git_hub 0.2.7
|
6
|
+
]</title>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
9
|
+
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
<script type="text/javascript">
|
11
|
+
// <![CDATA[
|
12
|
+
|
13
|
+
function popupCode( url ) {
|
14
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
15
|
+
}
|
16
|
+
|
17
|
+
function toggleCode( id ) {
|
18
|
+
if ( document.getElementById )
|
19
|
+
elem = document.getElementById( id );
|
20
|
+
else if ( document.all )
|
21
|
+
elem = eval( "document.all." + id );
|
22
|
+
else
|
23
|
+
return false;
|
24
|
+
|
25
|
+
elemStyle = elem.style;
|
26
|
+
|
27
|
+
if ( elemStyle.display != "block" ) {
|
28
|
+
elemStyle.display = "block"
|
29
|
+
} else {
|
30
|
+
elemStyle.display = "none"
|
31
|
+
}
|
32
|
+
|
33
|
+
return true;
|
34
|
+
}
|
35
|
+
|
36
|
+
// Make codeblocks hidden by default
|
37
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }<\/style>" )
|
38
|
+
|
39
|
+
// ]]>
|
40
|
+
</script>
|
41
|
+
|
42
|
+
</head>
|
43
|
+
<body>
|
44
|
+
|
45
|
+
|
46
|
+
<div id="fileHeader">
|
47
|
+
<h1>commit.rb</h1>
|
48
|
+
<table class="header-table">
|
49
|
+
<tr class="top-aligned-row">
|
50
|
+
<td><strong>Path:</strong></td>
|
51
|
+
<td>lib/git_hub/commit.rb
|
52
|
+
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>Last Update:</strong></td>
|
57
|
+
<td>2010-01-12 11:49:20 +0300</td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<!-- banner header -->
|
62
|
+
|
63
|
+
<div id="bodyContent">
|
64
|
+
|
65
|
+
<div id="contextContent">
|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
|
70
|
+
</div>
|
71
|
+
|
72
|
+
<!-- if includes -->
|
73
|
+
|
74
|
+
<div id="section">
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<!-- if method_list -->
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div id="validator-badges">
|
87
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
88
|
+
</div>
|
89
|
+
|
90
|
+
</body>
|
91
|
+
</html>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>File: repo.rb [
|
5
|
+
<title>File: repo.rb [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>Last Update:</strong></td>
|
57
|
-
<td>2010-01-
|
57
|
+
<td>2010-01-12 11:39:43 +0300</td>
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
</div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
|
-
<title>File: git_hub.rb [
|
5
|
+
<title>File: git_hub.rb [git_hub 0.2.7
|
6
6
|
]</title>
|
7
7
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
8
|
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
@@ -54,7 +54,7 @@
|
|
54
54
|
</tr>
|
55
55
|
<tr class="top-aligned-row">
|
56
56
|
<td><strong>Last Update:</strong></td>
|
57
|
-
<td>2010-01-
|
57
|
+
<td>2010-01-11 15:18:51 +0300</td>
|
58
58
|
</tr>
|
59
59
|
</table>
|
60
60
|
</div>
|
data/rdoc/fr_class_index.html
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<!--
|
5
5
|
|
6
|
-
Classes [
|
6
|
+
Classes [git_hub 0.2.7
|
7
7
|
]
|
8
8
|
|
9
9
|
-->
|
10
10
|
<head>
|
11
|
-
<title>Classes [
|
11
|
+
<title>Classes [git_hub 0.2.7
|
12
12
|
]</title>
|
13
13
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
14
14
|
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
@@ -25,6 +25,8 @@
|
|
25
25
|
|
26
26
|
<a href="classes/GitHub/Base.html">GitHub::Base</a><br />
|
27
27
|
|
28
|
+
<a href="classes/GitHub/Commit.html">GitHub::Commit</a><br />
|
29
|
+
|
28
30
|
<a href="classes/GitHub/Repo.html">GitHub::Repo</a><br />
|
29
31
|
|
30
32
|
</div>
|
data/rdoc/fr_file_index.html
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<!--
|
5
5
|
|
6
|
-
Files [
|
6
|
+
Files [git_hub 0.2.7
|
7
7
|
]
|
8
8
|
|
9
9
|
-->
|
10
10
|
<head>
|
11
|
-
<title>Files [
|
11
|
+
<title>Files [git_hub 0.2.7
|
12
12
|
]</title>
|
13
13
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
14
14
|
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
@@ -27,6 +27,8 @@
|
|
27
27
|
|
28
28
|
<a href="files/lib/git_hub/base_rb.html">lib/git_hub/base.rb</a><br />
|
29
29
|
|
30
|
+
<a href="files/lib/git_hub/commit_rb.html">lib/git_hub/commit.rb</a><br />
|
31
|
+
|
30
32
|
<a href="files/lib/git_hub/repo_rb.html">lib/git_hub/repo.rb</a><br />
|
31
33
|
|
32
34
|
</div>
|
data/rdoc/fr_method_index.html
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<!--
|
5
5
|
|
6
|
-
Methods [
|
6
|
+
Methods [git_hub 0.2.7
|
7
7
|
]
|
8
8
|
|
9
9
|
-->
|
10
10
|
<head>
|
11
|
-
<title>Methods [
|
11
|
+
<title>Methods [git_hub 0.2.7
|
12
12
|
]</title>
|
13
13
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
14
14
|
<link rel="stylesheet" href="rdoc-style.css" type="text/css" />
|
@@ -19,61 +19,79 @@
|
|
19
19
|
<h1 class="section-bar">Methods</h1>
|
20
20
|
<div id="index-entries">
|
21
21
|
|
22
|
-
<a href="classes/GitHub/Repo.html#
|
22
|
+
<a href="classes/GitHub/Repo.html#M000036">add_collaborator (GitHub::Repo)</a><br />
|
23
23
|
|
24
|
-
<a href="classes/GitHub/Repo.html#
|
24
|
+
<a href="classes/GitHub/Repo.html#M000033">add_service (GitHub::Repo)</a><br />
|
25
25
|
|
26
|
-
<a href="classes/GitHub/Base.html#
|
26
|
+
<a href="classes/GitHub/Base.html#M000019">api (GitHub::Base)</a><br />
|
27
27
|
|
28
28
|
<a href="classes/GitHub/Base.html#M000014">api (GitHub::Base)</a><br />
|
29
29
|
|
30
|
-
<a href="classes/GitHub/Api.html#
|
30
|
+
<a href="classes/GitHub/Api.html#M000004">auth (GitHub::Api)</a><br />
|
31
31
|
|
32
|
-
<a href="classes/GitHub/Api.html#
|
32
|
+
<a href="classes/GitHub/Api.html#M000005">authenticated? (GitHub::Api)</a><br />
|
33
33
|
|
34
|
-
<a href="classes/GitHub/Base.html#
|
34
|
+
<a href="classes/GitHub/Base.html#M000016">base_uri (GitHub::Base)</a><br />
|
35
|
+
|
36
|
+
<a href="classes/GitHub/Repo.html#M000028">branches (GitHub::Repo)</a><br />
|
35
37
|
|
36
38
|
<a href="classes/GitHub/Api.html#M000007">classify (GitHub::Api)</a><br />
|
37
39
|
|
38
|
-
<a href="classes/GitHub/Repo.html#
|
40
|
+
<a href="classes/GitHub/Repo.html#M000026">clone_url (GitHub::Repo)</a><br />
|
41
|
+
|
42
|
+
<a href="classes/GitHub/Repo.html#M000035">collaborators (GitHub::Repo)</a><br />
|
43
|
+
|
44
|
+
<a href="classes/GitHub/Repo.html#M000029">commits (GitHub::Repo)</a><br />
|
39
45
|
|
40
|
-
<a href="classes/GitHub/Repo.html#
|
46
|
+
<a href="classes/GitHub/Repo.html#M000031">create (GitHub::Repo)</a><br />
|
41
47
|
|
42
|
-
<a href="classes/GitHub/Repo.html#
|
48
|
+
<a href="classes/GitHub/Repo.html#M000032">delete (GitHub::Repo)</a><br />
|
43
49
|
|
44
|
-
<a href="classes/GitHub/
|
50
|
+
<a href="classes/GitHub/Api.html#M000006">ensure_auth (GitHub::Api)</a><br />
|
45
51
|
|
46
|
-
<a href="classes/GitHub/Repo.html#
|
52
|
+
<a href="classes/GitHub/Repo.html#M000030">find (GitHub::Repo)</a><br />
|
53
|
+
|
54
|
+
<a href="classes/GitHub/Commit.html#M000022">find (GitHub::Commit)</a><br />
|
55
|
+
|
56
|
+
<a href="classes/GitHub/Repo.html#M000024">fork? (GitHub::Repo)</a><br />
|
47
57
|
|
48
58
|
<a href="classes/GitHub/Base.html#M000012">get (GitHub::Base)</a><br />
|
49
59
|
|
50
|
-
<a href="classes/GitHub/Base.html#
|
60
|
+
<a href="classes/GitHub/Base.html#M000017">get (GitHub::Base)</a><br />
|
61
|
+
|
62
|
+
<a href="classes/GitHub.html#M000001">libpath (GitHub)</a><br />
|
51
63
|
|
52
|
-
<a href="classes/GitHub.html#
|
64
|
+
<a href="classes/GitHub/Commit.html#M000021">new (GitHub::Commit)</a><br />
|
65
|
+
|
66
|
+
<a href="classes/GitHub/Repo.html#M000023">new (GitHub::Repo)</a><br />
|
53
67
|
|
54
68
|
<a href="classes/GitHub/Base.html#M000009">new (GitHub::Base)</a><br />
|
55
69
|
|
56
|
-
<a href="classes/GitHub
|
70
|
+
<a href="classes/GitHub.html#M000002">path (GitHub)</a><br />
|
57
71
|
|
58
|
-
<a href="classes/GitHub.html#
|
72
|
+
<a href="classes/GitHub/Base.html#M000018">post (GitHub::Base)</a><br />
|
59
73
|
|
60
74
|
<a href="classes/GitHub/Base.html#M000013">post (GitHub::Base)</a><br />
|
61
75
|
|
62
|
-
<a href="classes/GitHub/
|
76
|
+
<a href="classes/GitHub/Repo.html#M000025">private? (GitHub::Repo)</a><br />
|
63
77
|
|
64
|
-
<a href="classes/GitHub/Repo.html#
|
78
|
+
<a href="classes/GitHub/Repo.html#M000037">remove_collaborator (GitHub::Repo)</a><br />
|
65
79
|
|
66
|
-
<a href="classes/GitHub/Repo.html#
|
80
|
+
<a href="classes/GitHub/Repo.html#M000034">remove_service (GitHub::Repo)</a><br />
|
67
81
|
|
68
|
-
<a href="classes/GitHub/
|
82
|
+
<a href="classes/GitHub/Api.html#M000008">request (GitHub::Api)</a><br />
|
69
83
|
|
70
84
|
<a href="classes/GitHub/Base.html#M000011">request (GitHub::Base)</a><br />
|
71
85
|
|
72
|
-
<a href="classes/GitHub
|
86
|
+
<a href="classes/GitHub.html#M000003">require_all_libs_relative_to (GitHub)</a><br />
|
87
|
+
|
88
|
+
<a href="classes/GitHub/Base.html#M000010">set_attributes (GitHub::Base)</a><br />
|
89
|
+
|
90
|
+
<a href="classes/GitHub/Base.html#M000015">set_resource (GitHub::Base)</a><br />
|
73
91
|
|
74
|
-
<a href="classes/GitHub.html#
|
92
|
+
<a href="classes/GitHub/Repo.html#M000027">tags (GitHub::Repo)</a><br />
|
75
93
|
|
76
|
-
<a href="classes/GitHub.html#
|
94
|
+
<a href="classes/GitHub/Base.html#M000020">to_s (GitHub::Base)</a><br />
|
77
95
|
|
78
96
|
</div>
|
79
97
|
</div>
|
data/rdoc/index.html
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<!--
|
5
5
|
|
6
|
-
|
6
|
+
git_hub 0.2.7
|
7
7
|
|
8
8
|
|
9
9
|
-->
|
10
10
|
<head>
|
11
|
-
<title>
|
11
|
+
<title>git_hub 0.2.7
|
12
12
|
</title>
|
13
13
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
14
14
|
</head>
|