git_hub 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +16 -2
- data/VERSION +1 -1
- data/bin/git_hub +1 -2
- data/git_hub.gemspec +30 -3
- data/lib/git_hub/api.rb +6 -0
- data/lib/git_hub/base.rb +52 -10
- data/lib/git_hub/commit.rb +45 -0
- data/lib/git_hub/repo.rb +47 -51
- data/rdoc/classes/GitHub/Api.html +300 -0
- data/rdoc/classes/GitHub/Base.html +423 -0
- data/rdoc/classes/GitHub/Repo.html +738 -0
- data/rdoc/classes/GitHub.html +310 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/README_rdoc.html +171 -0
- data/rdoc/files/lib/git_hub/api_rb.html +103 -0
- data/rdoc/files/lib/git_hub/base_rb.html +101 -0
- data/rdoc/files/lib/git_hub/repo_rb.html +91 -0
- data/rdoc/files/lib/git_hub_rb.html +91 -0
- data/rdoc/fr_class_index.html +33 -0
- data/rdoc/fr_file_index.html +35 -0
- data/rdoc/fr_method_index.html +81 -0
- data/rdoc/index.html +23 -0
- data/rdoc/rdoc-style.css +299 -0
- data/spec/git_hub/base_spec.rb +2 -2
- data/spec/git_hub/commit_spec.rb +53 -0
- data/spec/git_hub/repo_spec.rb +123 -85
- data/spec/spec_helper.rb +35 -8
- data/spec/stubs/api_route_error.res +14 -0
- data/spec/stubs/commits/list/joe007/fine_repo/master/README.res +28 -0
- data/spec/stubs/commits/list/joe007/fine_repo/master.res +84 -0
- data/spec/stubs/commits/show/joe007/fine_repo/5e61f0687c40ca48214d09dc7ae2d0d0d8fbfeb8.res +38 -0
- data/spec/stubs/repos/create.1.res +22 -0
- data/spec/stubs/repos/{create.res → create.2.res} +0 -0
- data/spec/stubs/repos/create.3.res +100 -0
- data/spec/stubs/repos/create.4.res +14 -0
- data/spec/stubs/repos/show/joe007/fine_repo/branches.res +15 -0
- data/spec/stubs/repos/show/joe007/fine_repo/tags.res +17 -0
- metadata +30 -3
@@ -0,0 +1,310 @@
|
|
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>Module: GitHub [zemax 0.1.0
|
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="classHeader">
|
47
|
+
<table class="header-table">
|
48
|
+
<tr class="top-aligned-row">
|
49
|
+
<td><strong>Module</strong></td>
|
50
|
+
<td class="class-name-in-header">GitHub</td>
|
51
|
+
</tr>
|
52
|
+
<tr class="top-aligned-row">
|
53
|
+
<td><strong>In:</strong></td>
|
54
|
+
<td>
|
55
|
+
|
56
|
+
|
57
|
+
<a href="../files/lib/git_hub/api_rb.html">
|
58
|
+
|
59
|
+
lib/git_hub/api.rb
|
60
|
+
|
61
|
+
</a>
|
62
|
+
|
63
|
+
|
64
|
+
<br />
|
65
|
+
|
66
|
+
|
67
|
+
<a href="../files/lib/git_hub/base_rb.html">
|
68
|
+
|
69
|
+
lib/git_hub/base.rb
|
70
|
+
|
71
|
+
</a>
|
72
|
+
|
73
|
+
|
74
|
+
<br />
|
75
|
+
|
76
|
+
|
77
|
+
<a href="../files/lib/git_hub/repo_rb.html">
|
78
|
+
|
79
|
+
lib/git_hub/repo.rb
|
80
|
+
|
81
|
+
</a>
|
82
|
+
|
83
|
+
|
84
|
+
<br />
|
85
|
+
|
86
|
+
|
87
|
+
<a href="../files/lib/git_hub_rb.html">
|
88
|
+
|
89
|
+
lib/git_hub.rb
|
90
|
+
|
91
|
+
</a>
|
92
|
+
|
93
|
+
|
94
|
+
<br />
|
95
|
+
|
96
|
+
</td>
|
97
|
+
</tr>
|
98
|
+
|
99
|
+
|
100
|
+
</table>
|
101
|
+
</div>
|
102
|
+
<!-- banner header -->
|
103
|
+
|
104
|
+
<div id="bodyContent">
|
105
|
+
|
106
|
+
<div id="contextContent">
|
107
|
+
|
108
|
+
</div>
|
109
|
+
|
110
|
+
|
111
|
+
<div id="method-list">
|
112
|
+
<h3 class="section-bar">Methods</h3>
|
113
|
+
|
114
|
+
<div class="name-list">
|
115
|
+
|
116
|
+
<a href="#M000002">libpath</a>
|
117
|
+
|
118
|
+
<a href="#M000003">path</a>
|
119
|
+
|
120
|
+
<a href="#M000004">require_all_libs_relative_to</a>
|
121
|
+
|
122
|
+
<a href="#M000001">version</a>
|
123
|
+
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<!-- if includes -->
|
130
|
+
|
131
|
+
<div id="section">
|
132
|
+
|
133
|
+
<div id="class-list">
|
134
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
135
|
+
|
136
|
+
Class <a href="GitHub/Api.html" class="link">GitHub::Api</a><br />
|
137
|
+
Class <a href="GitHub/Base.html" class="link">GitHub::Base</a><br />
|
138
|
+
Class <a href="GitHub/Repo.html" class="link">GitHub::Repo</a><br />
|
139
|
+
|
140
|
+
</div>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<!-- if method_list -->
|
146
|
+
|
147
|
+
<div id="methods">
|
148
|
+
|
149
|
+
<h3 class="section-bar">Public Class methods</h3>
|
150
|
+
|
151
|
+
|
152
|
+
<div id="method-M000002" class="method-detail">
|
153
|
+
<a name="M000002"></a>
|
154
|
+
|
155
|
+
<div class="method-heading">
|
156
|
+
|
157
|
+
<a href="#M000002" class="method-signature">
|
158
|
+
|
159
|
+
<span class="method-name">libpath</span><span class="method-args">( *args )</span>
|
160
|
+
|
161
|
+
</a>
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<div class="method-description">
|
166
|
+
|
167
|
+
<p>
|
168
|
+
Returns the library path for the module. If any arguments are given, they
|
169
|
+
will be joined to the end of the libray path using <tt>File.join</tt>.
|
170
|
+
</p>
|
171
|
+
|
172
|
+
<p><a class="source-toggle" href="#"
|
173
|
+
onclick="toggleCode('M000002-source');return false;">[Source]</a></p>
|
174
|
+
<div class="method-source-code" id="M000002-source">
|
175
|
+
<pre>
|
176
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 20</span>
|
177
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
180
|
+
</pre>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
<div id="method-M000003" class="method-detail">
|
188
|
+
<a name="M000003"></a>
|
189
|
+
|
190
|
+
<div class="method-heading">
|
191
|
+
|
192
|
+
<a href="#M000003" class="method-signature">
|
193
|
+
|
194
|
+
<span class="method-name">path</span><span class="method-args">( *args )</span>
|
195
|
+
|
196
|
+
</a>
|
197
|
+
|
198
|
+
</div>
|
199
|
+
|
200
|
+
<div class="method-description">
|
201
|
+
|
202
|
+
<p>
|
203
|
+
Returns the path for the module. If any arguments are given, they will be
|
204
|
+
joined to the end of the path using <tt>File.join</tt>.
|
205
|
+
</p>
|
206
|
+
|
207
|
+
<p><a class="source-toggle" href="#"
|
208
|
+
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
209
|
+
<div class="method-source-code" id="M000003-source">
|
210
|
+
<pre>
|
211
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 28</span>
|
212
|
+
<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
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
215
|
+
</pre>
|
216
|
+
</div>
|
217
|
+
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
|
221
|
+
|
222
|
+
<div id="method-M000004" class="method-detail">
|
223
|
+
<a name="M000004"></a>
|
224
|
+
|
225
|
+
<div class="method-heading">
|
226
|
+
|
227
|
+
<a href="#M000004" class="method-signature">
|
228
|
+
|
229
|
+
<span class="method-name">require_all_libs_relative_to</span><span class="method-args">( fname, dir = nil )</span>
|
230
|
+
|
231
|
+
</a>
|
232
|
+
|
233
|
+
</div>
|
234
|
+
|
235
|
+
<div class="method-description">
|
236
|
+
|
237
|
+
<p>
|
238
|
+
Utility method used to require all files ending in .rb that lie in the
|
239
|
+
directory below this file that has the same name as the filename passed in.
|
240
|
+
Optionally, a specific <em>directory</em> name can be passed in such that
|
241
|
+
the <em>filename</em> does not have to be equivalent to the directory.
|
242
|
+
</p>
|
243
|
+
|
244
|
+
<p><a class="source-toggle" href="#"
|
245
|
+
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
246
|
+
<div class="method-source-code" id="M000004-source">
|
247
|
+
<pre>
|
248
|
+
<span class="ruby-comment cmt"># File lib/git_hub.rb, line 37</span>
|
249
|
+
<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
|
+
<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>))
|
253
|
+
|
254
|
+
<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
|
+
<span class="ruby-keyword kw">end</span>
|
256
|
+
</pre>
|
257
|
+
</div>
|
258
|
+
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
|
262
|
+
|
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
|
+
|
298
|
+
</div>
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
</div>
|
304
|
+
|
305
|
+
<div id="validator-badges">
|
306
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
307
|
+
</div>
|
308
|
+
|
309
|
+
</body>
|
310
|
+
</html>
|
data/rdoc/created.rid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Fri, 08 Jan 2010 11:28:46 +0300
|
@@ -0,0 +1,171 @@
|
|
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: README.rdoc [zemax 0.1.0
|
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>README.rdoc</h1>
|
48
|
+
<table class="header-table">
|
49
|
+
<tr class="top-aligned-row">
|
50
|
+
<td><strong>Path:</strong></td>
|
51
|
+
<td>README.rdoc
|
52
|
+
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>Last Update:</strong></td>
|
57
|
+
<td>2010-01-07 14:46:41 +0300</td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<!-- banner header -->
|
62
|
+
|
63
|
+
<div id="bodyContent">
|
64
|
+
|
65
|
+
<div id="contextContent">
|
66
|
+
|
67
|
+
<div id="description">
|
68
|
+
<h1>git_hub</h1>
|
69
|
+
<pre>
|
70
|
+
by:: Arvicco
|
71
|
+
url:: http://github.com/arvicco/git_hub
|
72
|
+
</pre>
|
73
|
+
<h2>DESCRIPTION:</h2>
|
74
|
+
<p>
|
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...
|
77
|
+
</p>
|
78
|
+
<h2>FEATURES/PROBLEMS:</h2>
|
79
|
+
<ul>
|
80
|
+
<li>FIXME (list of features or problems)
|
81
|
+
|
82
|
+
</li>
|
83
|
+
</ul>
|
84
|
+
<p>
|
85
|
+
This project is quite new, so it’s probably not ready for prime time
|
86
|
+
just yet... Contributors always welcome!
|
87
|
+
</p>
|
88
|
+
<h2>SYNOPSIS:</h2>
|
89
|
+
<p>
|
90
|
+
require ‘git_hub’ include <a
|
91
|
+
href="../classes/GitHub.html">GitHub</a>
|
92
|
+
</p>
|
93
|
+
<p>
|
94
|
+
# Find existing repos repo = Repo.find(:user=>user_name, :repo=>repo_name)
|
95
|
+
repos = Repo.find(:user=>user_name) search_repos =
|
96
|
+
Repo.find(:query=>[‘search’,’terms’])
|
97
|
+
</p>
|
98
|
+
<p>
|
99
|
+
# Create new repo (need to authenticate with your github credentials first)
|
100
|
+
Api.auth = {:user=>user_name, :token=>token} new_repo =
|
101
|
+
Repo.create(:name=>repo_name, :desc=>’Description’,
|
102
|
+
:homepage=>’<a href="http://your_page.org">your_page.org</a>’,
|
103
|
+
:private=> false)
|
104
|
+
</p>
|
105
|
+
<h2>REQUIREMENTS:</h2>
|
106
|
+
<ul>
|
107
|
+
<li>FIXME (list of requirements)
|
108
|
+
|
109
|
+
</li>
|
110
|
+
</ul>
|
111
|
+
<h2>INSTALL:</h2>
|
112
|
+
<p>
|
113
|
+
$ sudo gem install git_hub
|
114
|
+
</p>
|
115
|
+
<h2>LICENSE:</h2>
|
116
|
+
<p>
|
117
|
+
(The MIT License)
|
118
|
+
</p>
|
119
|
+
<p>
|
120
|
+
Copyright © 2009 Arvicco
|
121
|
+
</p>
|
122
|
+
<p>
|
123
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
124
|
+
copy of this software and associated documentation files (the
|
125
|
+
‘Software’), to deal in the Software without restriction,
|
126
|
+
including without limitation the rights to use, copy, modify, merge,
|
127
|
+
publish, distribute, sublicense, and/or sell copies of the Software, and to
|
128
|
+
permit persons to whom the Software is furnished to do so, subject to the
|
129
|
+
following conditions:
|
130
|
+
</p>
|
131
|
+
<p>
|
132
|
+
The above copyright notice and this permission notice shall be included in
|
133
|
+
all copies or substantial portions of the Software.
|
134
|
+
</p>
|
135
|
+
<p>
|
136
|
+
THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND,
|
137
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
138
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
139
|
+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
140
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
141
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
142
|
+
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
143
|
+
</p>
|
144
|
+
|
145
|
+
</div>
|
146
|
+
|
147
|
+
</div>
|
148
|
+
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<!-- if includes -->
|
153
|
+
|
154
|
+
<div id="section">
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
<!-- if method_list -->
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div id="validator-badges">
|
167
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
168
|
+
</div>
|
169
|
+
|
170
|
+
</body>
|
171
|
+
</html>
|
@@ -0,0 +1,103 @@
|
|
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: api.rb [zemax 0.1.0
|
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>api.rb</h1>
|
48
|
+
<table class="header-table">
|
49
|
+
<tr class="top-aligned-row">
|
50
|
+
<td><strong>Path:</strong></td>
|
51
|
+
<td>lib/git_hub/api.rb
|
52
|
+
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>Last Update:</strong></td>
|
57
|
+
<td>2010-01-05 21:39:19 +0300</td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<!-- banner header -->
|
62
|
+
|
63
|
+
<div id="bodyContent">
|
64
|
+
|
65
|
+
<div id="contextContent">
|
66
|
+
|
67
|
+
<div id="requires-list">
|
68
|
+
<h3 class="section-bar">Required files</h3>
|
69
|
+
|
70
|
+
<div class="name-list">
|
71
|
+
|
72
|
+
net/https
|
73
|
+
|
74
|
+
singleton
|
75
|
+
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
|
82
|
+
</div>
|
83
|
+
|
84
|
+
<!-- if includes -->
|
85
|
+
|
86
|
+
<div id="section">
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<!-- if method_list -->
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
</div>
|
97
|
+
|
98
|
+
<div id="validator-badges">
|
99
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
100
|
+
</div>
|
101
|
+
|
102
|
+
</body>
|
103
|
+
</html>
|
@@ -0,0 +1,101 @@
|
|
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: base.rb [zemax 0.1.0
|
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>base.rb</h1>
|
48
|
+
<table class="header-table">
|
49
|
+
<tr class="top-aligned-row">
|
50
|
+
<td><strong>Path:</strong></td>
|
51
|
+
<td>lib/git_hub/base.rb
|
52
|
+
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>Last Update:</strong></td>
|
57
|
+
<td>2010-01-07 18:31:51 +0300</td>
|
58
|
+
</tr>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<!-- banner header -->
|
62
|
+
|
63
|
+
<div id="bodyContent">
|
64
|
+
|
65
|
+
<div id="contextContent">
|
66
|
+
|
67
|
+
<div id="requires-list">
|
68
|
+
<h3 class="section-bar">Required files</h3>
|
69
|
+
|
70
|
+
<div class="name-list">
|
71
|
+
|
72
|
+
yaml
|
73
|
+
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
</div>
|
78
|
+
|
79
|
+
|
80
|
+
</div>
|
81
|
+
|
82
|
+
<!-- if includes -->
|
83
|
+
|
84
|
+
<div id="section">
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<!-- if method_list -->
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
<div id="validator-badges">
|
97
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
</body>
|
101
|
+
</html>
|