copyright 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/.yardoc/checksums +2 -0
- data/.yardoc/objects/CopyrightYears/copyright_years_i.dat +0 -0
- data/.yardoc/objects/CopyrightYears.dat +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/LICENSE +20 -0
- data/README.md +17 -0
- data/Rakefile +78 -0
- data/VERSION +1 -0
- data/copyright.gemspec +77 -0
- data/doc/CopyrightYears.html +234 -0
- data/doc/_index.html +88 -0
- data/doc/class_list.html +37 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +23 -0
- data/doc/css/style.css +263 -0
- data/doc/file.README.html +66 -0
- data/doc/file_list.html +29 -0
- data/doc/index.html +66 -0
- data/doc/js/app.js +91 -0
- data/doc/js/full_list.js +39 -0
- data/doc/js/jquery.js +19 -0
- data/doc/method_list.html +32 -0
- data/doc/top-level-namespace.html +79 -0
- data/init.rb +1 -0
- data/lib/copyright.rb +21 -0
- data/test/test_copyright.rb +33 -0
- data/test/test_helper.rb +9 -0
- metadata +105 -0
data/.document
ADDED
data/.gitignore
ADDED
data/.yardoc/checksums
ADDED
Binary file
|
Binary file
|
Binary file
|
data/.yardoc/proxy_types
ADDED
Binary file
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Takaaki Kato
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Copyright
|
2
|
+
|
3
|
+
Ruby on Rails plugin to add a helper method for copyright period
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
require 'rubygems'
|
8
|
+
require 'copyright'
|
9
|
+
include CopyrightYears
|
10
|
+
|
11
|
+
## Author
|
12
|
+
|
13
|
+
* Takaaki Kato <takaaki.kato@gmail.com>
|
14
|
+
|
15
|
+
## Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2009 Takaaki Kato. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "copyright"
|
8
|
+
gem.summary = %Q{Ruby gem/Rails plugin for copyright-related methods}
|
9
|
+
gem.description = %Q{Adds a method for copyright period}
|
10
|
+
gem.email = "takaaki.kato@gmail.com"
|
11
|
+
gem.homepage = "http://github.com/takaaki/copyright"
|
12
|
+
gem.authors = ["Takaaki Kato"]
|
13
|
+
gem.add_development_dependency "shoulda", ">= 2.10.2"
|
14
|
+
gem.add_development_dependency "yard", ">= 0.5.2"
|
15
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
+
end
|
17
|
+
Jeweler::GemcutterTasks.new
|
18
|
+
rescue LoadError
|
19
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'rake/testtask'
|
23
|
+
Rake::TestTask.new(:test) do |test|
|
24
|
+
test.libs << 'lib' << 'test'
|
25
|
+
test.pattern = 'test/**/test_*.rb'
|
26
|
+
test.verbose = true
|
27
|
+
end
|
28
|
+
|
29
|
+
begin
|
30
|
+
require 'rcov/rcovtask'
|
31
|
+
Rcov::RcovTask.new do |test|
|
32
|
+
test.libs << 'test'
|
33
|
+
test.pattern = 'test/**/test_*.rb'
|
34
|
+
test.verbose = true
|
35
|
+
end
|
36
|
+
rescue LoadError
|
37
|
+
task :rcov do
|
38
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
task :test => :check_dependencies
|
43
|
+
|
44
|
+
begin
|
45
|
+
require 'reek/adapters/rake_task'
|
46
|
+
Reek::RakeTask.new do |t|
|
47
|
+
t.fail_on_error = true
|
48
|
+
t.verbose = false
|
49
|
+
t.source_files = 'lib/**/*.rb'
|
50
|
+
end
|
51
|
+
rescue LoadError
|
52
|
+
task :reek do
|
53
|
+
abort "Reek is not available. In order to run reek, you must: sudo gem install reek"
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
begin
|
58
|
+
require 'roodi'
|
59
|
+
require 'roodi_task'
|
60
|
+
RoodiTask.new do |t|
|
61
|
+
t.verbose = false
|
62
|
+
end
|
63
|
+
rescue LoadError
|
64
|
+
task :roodi do
|
65
|
+
abort "Roodi is not available. In order to run roodi, you must: sudo gem install roodi"
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
task :default => :test
|
70
|
+
|
71
|
+
begin
|
72
|
+
require 'yard'
|
73
|
+
YARD::Rake::YardocTask.new
|
74
|
+
rescue LoadError
|
75
|
+
task :yardoc do
|
76
|
+
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
|
77
|
+
end
|
78
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
data/copyright.gemspec
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{copyright}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Takaaki Kato"]
|
12
|
+
s.date = %q{2009-12-28}
|
13
|
+
s.description = %q{Adds a method for copyright period}
|
14
|
+
s.email = %q{takaaki.kato@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
".yardoc/checksums",
|
23
|
+
".yardoc/objects/CopyrightYears.dat",
|
24
|
+
".yardoc/objects/CopyrightYears/copyright_years_i.dat",
|
25
|
+
".yardoc/objects/root.dat",
|
26
|
+
".yardoc/proxy_types",
|
27
|
+
"LICENSE",
|
28
|
+
"README.md",
|
29
|
+
"Rakefile",
|
30
|
+
"VERSION",
|
31
|
+
"copyright.gemspec",
|
32
|
+
"doc/CopyrightYears.html",
|
33
|
+
"doc/_index.html",
|
34
|
+
"doc/class_list.html",
|
35
|
+
"doc/css/common.css",
|
36
|
+
"doc/css/full_list.css",
|
37
|
+
"doc/css/style.css",
|
38
|
+
"doc/file.README.html",
|
39
|
+
"doc/file_list.html",
|
40
|
+
"doc/index.html",
|
41
|
+
"doc/js/app.js",
|
42
|
+
"doc/js/full_list.js",
|
43
|
+
"doc/js/jquery.js",
|
44
|
+
"doc/method_list.html",
|
45
|
+
"doc/top-level-namespace.html",
|
46
|
+
"init.rb",
|
47
|
+
"lib/copyright.rb",
|
48
|
+
"test/test_copyright.rb",
|
49
|
+
"test/test_helper.rb"
|
50
|
+
]
|
51
|
+
s.homepage = %q{http://github.com/takaaki/copyright}
|
52
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
53
|
+
s.require_paths = ["lib"]
|
54
|
+
s.rubygems_version = %q{1.3.5}
|
55
|
+
s.summary = %q{Ruby gem/Rails plugin for copyright-related methods}
|
56
|
+
s.test_files = [
|
57
|
+
"test/test_copyright.rb",
|
58
|
+
"test/test_helper.rb"
|
59
|
+
]
|
60
|
+
|
61
|
+
if s.respond_to? :specification_version then
|
62
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
63
|
+
s.specification_version = 3
|
64
|
+
|
65
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
66
|
+
s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
|
67
|
+
s.add_development_dependency(%q<yard>, [">= 0.5.2"])
|
68
|
+
else
|
69
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
70
|
+
s.add_dependency(%q<yard>, [">= 0.5.2"])
|
71
|
+
end
|
72
|
+
else
|
73
|
+
s.add_dependency(%q<shoulda>, [">= 2.10.2"])
|
74
|
+
s.add_dependency(%q<yard>, [">= 0.5.2"])
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
@@ -0,0 +1,234 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Module: CopyrightYears</title>
|
7
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
<a href="_index.html">Index (C)</a> »
|
23
|
+
|
24
|
+
|
25
|
+
<span class="title">CopyrightYears</span>
|
26
|
+
|
27
|
+
</div>
|
28
|
+
|
29
|
+
<div id="search">
|
30
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
31
|
+
<a id="method_list_link" href="#">Method List</a>
|
32
|
+
<a id ="file_list_link" href="#">File List</a>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div class="clear"></div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<iframe id="search_frame"></iframe>
|
39
|
+
|
40
|
+
<div id="content"><h1>Module: CopyrightYears
|
41
|
+
|
42
|
+
|
43
|
+
</h1>
|
44
|
+
|
45
|
+
<dl class="box">
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<dt class="r1 last">Defined in:</dt>
|
54
|
+
<dd class="r1 last">lib/copyright.rb</dd>
|
55
|
+
|
56
|
+
</dl>
|
57
|
+
<div class="clear"></div>
|
58
|
+
|
59
|
+
<h2>Overview</h2><div class="docstring">
|
60
|
+
<div class="discussion">
|
61
|
+
<p>
|
62
|
+
Adds a method for copyright period
|
63
|
+
</p>
|
64
|
+
|
65
|
+
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
<div class="tags">
|
69
|
+
<h3>Author:</h3>
|
70
|
+
<ul class="author">
|
71
|
+
|
72
|
+
<li>
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
Takaaki Kato <takaaki.kato@gmail.com>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</li>
|
84
|
+
|
85
|
+
</ul>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
<h2>Instance Method Summary</h2>
|
91
|
+
|
92
|
+
<ul class="summary">
|
93
|
+
|
94
|
+
<li class="public ">
|
95
|
+
<span class="summary_signature">
|
96
|
+
|
97
|
+
<a href="#copyright_years-instance_method" title="#copyright_years (instance method)">- (Object) <strong>copyright_years</strong>(since) </a>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
</span>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
<span class="summary_desc">
|
110
|
+
Returns copyright period in years.
|
111
|
+
|
112
|
+
</span>
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
|
117
|
+
</ul>
|
118
|
+
|
119
|
+
|
120
|
+
<div id="instance_method_details" class="method_details_list">
|
121
|
+
<h2>Instance Method Details</h2>
|
122
|
+
|
123
|
+
|
124
|
+
<div class="method_details first">
|
125
|
+
<p class="signature first" id="copyright_years-instance_method">
|
126
|
+
|
127
|
+
- (<tt>Object</tt>) <strong>copyright_years</strong>(since)
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
</p><div class="docstring">
|
132
|
+
<div class="discussion">
|
133
|
+
<p>
|
134
|
+
Returns copyright period in years
|
135
|
+
</p>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
<div class="tags">
|
141
|
+
|
142
|
+
<div class="examples">
|
143
|
+
<h3>Examples:</h3>
|
144
|
+
|
145
|
+
<h4>
|
146
|
+
When the argument is the year of now
|
147
|
+
|
148
|
+
</h4>
|
149
|
+
<pre class="example code"> <span class='copyright_years identifier id'>copyright_years</span><span class='lparen token'>(</span><span class='integer val'>2009</span><span class='rparen token'>)</span> <span class='comment val'>#=> "2009"</span>
|
150
|
+
</pre>
|
151
|
+
|
152
|
+
<h4>
|
153
|
+
When the argument if before of this year
|
154
|
+
|
155
|
+
</h4>
|
156
|
+
<pre class="example code"> <span class='copyright_years identifier id'>copyright_years</span><span class='lparen token'>(</span><span class='integer val'>1997</span><span class='rparen token'>)</span> <span class='comment val'>#=> "1997 - 2009"</span>
|
157
|
+
</pre>
|
158
|
+
|
159
|
+
</div>
|
160
|
+
<h3>Parameters:</h3>
|
161
|
+
<ul class="param">
|
162
|
+
|
163
|
+
<li>
|
164
|
+
|
165
|
+
<span class='type'>(<tt>#is_a?(Integer)</tt>)</span>
|
166
|
+
|
167
|
+
|
168
|
+
<span class='name'></span>
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
</li>
|
173
|
+
|
174
|
+
</ul>
|
175
|
+
<h3>Raises:</h3>
|
176
|
+
<ul class="raise">
|
177
|
+
|
178
|
+
<li>
|
179
|
+
|
180
|
+
<span class='type'>(<tt>ArgumentError</tt>)</span>
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
</ul>
|
188
|
+
|
189
|
+
</div><table class="source_code">
|
190
|
+
<tr>
|
191
|
+
<td>
|
192
|
+
<pre class="lines">
|
193
|
+
|
194
|
+
|
195
|
+
12
|
196
|
+
13
|
197
|
+
14
|
198
|
+
15
|
199
|
+
16
|
200
|
+
17
|
201
|
+
18
|
202
|
+
19
|
203
|
+
20</pre>
|
204
|
+
</td>
|
205
|
+
<td>
|
206
|
+
<pre class="code"><span class="info file"># File 'lib/copyright.rb', line 12</span>
|
207
|
+
|
208
|
+
<span class='def def kw'>def</span> <span class='copyright_years identifier id'>copyright_years</span><span class='lparen token'>(</span><span class='since identifier id'>since</span><span class='rparen token'>)</span>
|
209
|
+
<span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>"Argument should be a number"</span> <span class='unless unless_mod kw'>unless</span> <span class='since identifier id'>since</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Integer constant id'>Integer</span><span class='rparen token'>)</span>
|
210
|
+
<span class='raise identifier id'>raise</span> <span class='ArgumentError constant id'>ArgumentError</span><span class='comma token'>,</span> <span class='string val'>"since should not be a future"</span> <span class='if if_mod kw'>if</span> <span class='Date constant id'>Date</span><span class='dot token'>.</span><span class='civil identifier id'>civil</span><span class='lparen token'>(</span><span class='since identifier id'>since</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='year identifier id'>year</span> <span class='gt op'>></span> <span class='Date constant id'>Date</span><span class='dot token'>.</span><span class='today identifier id'>today</span><span class='dot token'>.</span><span class='year identifier id'>year</span>
|
211
|
+
<span class='if if kw'>if</span> <span class='Date constant id'>Date</span><span class='dot token'>.</span><span class='civil identifier id'>civil</span><span class='lparen token'>(</span><span class='since identifier id'>since</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='year identifier id'>year</span> <span class='eq op'>==</span> <span class='Date constant id'>Date</span><span class='dot token'>.</span><span class='today identifier id'>today</span><span class='dot token'>.</span><span class='year identifier id'>year</span>
|
212
|
+
<span class='since identifier id'>since</span><span class='dot token'>.</span><span class='to_s identifier id'>to_s</span>
|
213
|
+
<span class='else else kw'>else</span>
|
214
|
+
<span class='dstring node'>"#{since} - #{Date.today.year}"</span>
|
215
|
+
<span class='end end kw'>end</span>
|
216
|
+
<span class='end end kw'>end</span>
|
217
|
+
</pre>
|
218
|
+
</td>
|
219
|
+
</tr>
|
220
|
+
</table>
|
221
|
+
</div>
|
222
|
+
|
223
|
+
</div>
|
224
|
+
|
225
|
+
</div>
|
226
|
+
|
227
|
+
<div id="footer">
|
228
|
+
Generated on Mon Dec 28 05:44:10 2009 by
|
229
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
230
|
+
0.5.2 (ruby-1.8.7).
|
231
|
+
</div>
|
232
|
+
|
233
|
+
</body>
|
234
|
+
</html>
|
data/doc/_index.html
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<title>Documentation by YARD 0.5.2</title>
|
7
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
9
|
+
|
10
|
+
<script type="text/javascript" charset="utf-8">
|
11
|
+
relpath = '';
|
12
|
+
if (relpath != '') relpath += '/';
|
13
|
+
</script>
|
14
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
15
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body>
|
19
|
+
<div id="header">
|
20
|
+
<div id="menu">
|
21
|
+
|
22
|
+
|
23
|
+
<span class="title"></span>
|
24
|
+
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<div id="search">
|
28
|
+
<a id="class_list_link" href="#">Namespace List</a>
|
29
|
+
<a id="method_list_link" href="#">Method List</a>
|
30
|
+
<a id ="file_list_link" href="#">File List</a>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div class="clear"></div>
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<iframe id="search_frame"></iframe>
|
37
|
+
|
38
|
+
<div id="content"><div id="listing">
|
39
|
+
<h1 class="noborder title">Documentation by YARD 0.5.2</h1>
|
40
|
+
<h1 class="alphaindex">Alphabetic Index</h1>
|
41
|
+
|
42
|
+
|
43
|
+
<h2>File Listing</h2>
|
44
|
+
<ul id="files">
|
45
|
+
|
46
|
+
|
47
|
+
<li class="r1"><a href="index.html" title="README">README</a></li>
|
48
|
+
|
49
|
+
|
50
|
+
</ul>
|
51
|
+
|
52
|
+
<div class="clear"></div>
|
53
|
+
|
54
|
+
<h2>Namespace Listing A-Z</h2>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
<table>
|
60
|
+
<tr>
|
61
|
+
<td valign='top' width="33%">
|
62
|
+
|
63
|
+
|
64
|
+
<ul id="alpha_C" class="alpha">
|
65
|
+
<li class="letter">C</li>
|
66
|
+
<ul>
|
67
|
+
|
68
|
+
<li>
|
69
|
+
<a href="CopyrightYears.html" title="CopyrightYears">CopyrightYears</a>
|
70
|
+
|
71
|
+
</li>
|
72
|
+
|
73
|
+
</ul>
|
74
|
+
</ul>
|
75
|
+
|
76
|
+
</td>
|
77
|
+
</tr>
|
78
|
+
</table>
|
79
|
+
</div></div>
|
80
|
+
|
81
|
+
<div id="footer">
|
82
|
+
Generated on Mon Dec 28 05:44:10 2009 by
|
83
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
|
84
|
+
0.5.2 (ruby-1.8.7).
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</body>
|
88
|
+
</html>
|
data/doc/class_list.html
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta name="Content-Type" content="text/html; charset=UTF-8" />
|
6
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
|
7
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
8
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
9
|
+
<script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
|
10
|
+
<base target="_parent" />
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<h1 id="full_list_header">Namespace List</h1>
|
14
|
+
<div id="search">Search: <input type="text" /></div>
|
15
|
+
<div class="clear"></div>
|
16
|
+
<ul id="full_list">
|
17
|
+
|
18
|
+
|
19
|
+
<li class="r1 ">
|
20
|
+
|
21
|
+
<a href="top-level-namespace.html">Top Level Namespace</a>
|
22
|
+
|
23
|
+
|
24
|
+
</li>
|
25
|
+
|
26
|
+
<li class="r2 ">
|
27
|
+
|
28
|
+
<a href="CopyrightYears.html" title="CopyrightYears">CopyrightYears</a>
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
</li>
|
33
|
+
|
34
|
+
</ul>
|
35
|
+
</body>
|
36
|
+
</html>
|
37
|
+
|
data/doc/css/common.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/* Override this file with custom rules */
|
@@ -0,0 +1,23 @@
|
|
1
|
+
body {
|
2
|
+
margin: 0;
|
3
|
+
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
4
|
+
font-size: 13px;
|
5
|
+
height: 101%;
|
6
|
+
}
|
7
|
+
html { overflow-y: scroll; }
|
8
|
+
|
9
|
+
h1 { padding: 0; margin: 5px; margin-top: 12px; margin-left: 10px; margin-bottom: 0; font-size: 1.4em; }
|
10
|
+
.clear { clear: both; }
|
11
|
+
#search { position: absolute; right: 5px; top: 9px; }
|
12
|
+
#full_list { padding: 0; list-style: none; margin-left: 0; }
|
13
|
+
#full_list li { padding: 7px 15px; font-size: 1.1em; }
|
14
|
+
#noresults { display: none; padding: 7px 15px; }
|
15
|
+
li { color: #555; }
|
16
|
+
li.deprecated { text-decoration: line-through; font-style: italic; }
|
17
|
+
li.r1 { background: #f0f0f0; border: 1px dotted #f0f0f0; border-left-width: 0; border-right-width: 0; }
|
18
|
+
li.r2 { background: #fafafa; border: 1px dotted #fafafa; border-left-width: 0; border-right-width: 0; }
|
19
|
+
li:hover { background: #ffffa5; cursor: pointer; border: 1px dotted #ddddc4; border-left-width: 0; border-right-width: 0; }
|
20
|
+
li:hover * { position: relative; left: -3px; }
|
21
|
+
a:link, a:visited { text-decoration: none; color: #05a; }
|
22
|
+
a:hover { background: #ffffa5; }
|
23
|
+
#search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|