rubygems-update 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rubygems-update might be problematic. Click here for more details.
- data/ChangeLog +2335 -0
- data/README +54 -0
- data/Rakefile +293 -0
- data/Releases +98 -0
- data/TODO +7 -0
- data/bin/gem +11 -0
- data/bin/gem_server +111 -0
- data/bin/generate_yaml_index.rb +58 -0
- data/bin/update_rubygems +18 -0
- data/doc/doc.css +73 -0
- data/doc/makedoc.rb +4 -0
- data/examples/application/an-app.gemspec +26 -0
- data/examples/application/bin/myapp +3 -0
- data/examples/application/lib/somefunctionality.rb +3 -0
- data/gemspecs/README +4 -0
- data/gemspecs/cgikit-1.1.0.gemspec +18 -0
- data/gemspecs/jabber4r.gemspec +26 -0
- data/gemspecs/linguistics.gemspec +22 -0
- data/gemspecs/ook.gemspec +21 -0
- data/gemspecs/progressbar.gemspec +22 -0
- data/gemspecs/redcloth.gemspec +22 -0
- data/gemspecs/rublog.gemspec +23 -0
- data/gemspecs/ruby-doom.gemspec +21 -0
- data/gemspecs/rubyjdwp.gemspec +21 -0
- data/gemspecs/statistics.gemspec +21 -0
- data/lib/rubygems.rb +353 -0
- data/lib/rubygems/builder.rb +54 -0
- data/lib/rubygems/cmd_manager.rb +127 -0
- data/lib/rubygems/command.rb +191 -0
- data/lib/rubygems/config_file.rb +57 -0
- data/lib/rubygems/doc_manager.rb +94 -0
- data/lib/rubygems/format.rb +65 -0
- data/lib/rubygems/gem_commands.rb +925 -0
- data/lib/rubygems/gem_runner.rb +23 -0
- data/lib/rubygems/installer.rb +621 -0
- data/lib/rubygems/loadpath_manager.rb +108 -0
- data/lib/rubygems/old_format.rb +150 -0
- data/lib/rubygems/open-uri.rb +604 -0
- data/lib/rubygems/package.rb +740 -0
- data/lib/rubygems/remote_installer.rb +499 -0
- data/lib/rubygems/rubygems_version.rb +6 -0
- data/lib/rubygems/source_index.rb +130 -0
- data/lib/rubygems/specification.rb +613 -0
- data/lib/rubygems/user_interaction.rb +176 -0
- data/lib/rubygems/validator.rb +148 -0
- data/lib/rubygems/version.rb +279 -0
- data/lib/ubygems.rb +4 -0
- data/pkgs/sources/lib/sources.rb +6 -0
- data/pkgs/sources/sources.gemspec +14 -0
- data/post-install.rb +75 -0
- data/redist/session.gem +433 -0
- data/scripts/buildtests.rb +25 -0
- data/scripts/gemdoc.rb +62 -0
- data/scripts/runtest.rb +17 -0
- data/scripts/specdoc.rb +164 -0
- data/setup.rb +1360 -0
- data/test/bogussources.rb +5 -0
- data/test/data/legacy/keyedlist-0.4.0.ruby +11 -0
- data/test/data/legacy/keyedlist-0.4.0.yaml +16 -0
- data/test/data/lib/code.rb +1 -0
- data/test/data/one/README.one +1 -0
- data/test/data/one/lib/one.rb +3 -0
- data/test/data/one/one.gemspec +17 -0
- data/test/data/one/one.yaml +40 -0
- data/test/functional.rb +145 -0
- data/test/gemenvironment.rb +45 -0
- data/test/gemutilities.rb +18 -0
- data/test/insure_session.rb +46 -0
- data/test/mock/gems/gems/sources-0.0.1/lib/sources.rb +5 -0
- data/test/mock/gems/specifications/sources-0.0.1.gemspec +8 -0
- data/test/mockgemui.rb +45 -0
- data/test/onegem.rb +23 -0
- data/test/simple_gem.rb +66 -0
- data/test/test_builder.rb +13 -0
- data/test/test_cached_fetcher.rb +60 -0
- data/test/test_check_command.rb +28 -0
- data/test/test_command.rb +130 -0
- data/test/test_configfile.rb +36 -0
- data/test/test_format.rb +70 -0
- data/test/test_gemloadpaths.rb +45 -0
- data/test/test_gempaths.rb +115 -0
- data/test/test_loadmanager.rb +40 -0
- data/test/test_local_cache.rb +157 -0
- data/test/test_package.rb +600 -0
- data/test/test_parse_commands.rb +179 -0
- data/test/test_process_commands.rb +21 -0
- data/test/test_remote_fetcher.rb +162 -0
- data/test/test_remote_installer.rb +154 -0
- data/test/test_source_index.rb +58 -0
- data/test/test_specification.rb +286 -0
- data/test/test_validator.rb +53 -0
- data/test/test_version_comparison.rb +204 -0
- data/test/testgem.rc +6 -0
- data/test/user_capture.rb +1 -0
- data/test/yaml_data.rb +59 -0
- metadata +151 -0
data/bin/gem
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require 'rubygems'
|
|
4
|
+
Gem.manage_gems
|
|
5
|
+
|
|
6
|
+
# We need to preserve the original ARGV to use for passing gem options
|
|
7
|
+
# to source gems. If there is a -- in the line, strip all options after
|
|
8
|
+
# it...its for the source building process.
|
|
9
|
+
args = !ARGV.include?("--") ? ARGV.clone : ARGV[0...ARGV.index("--")]
|
|
10
|
+
|
|
11
|
+
Gem::GemRunner.new.run(args)
|
data/bin/gem_server
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
DOC_TEMPLATE = <<-WEBPAGE
|
|
4
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
5
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
7
|
+
<head>
|
|
8
|
+
<title>RubyGems Documentation Index</title>
|
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<center>
|
|
13
|
+
<h1>RubyGems Documentation Index</h1>
|
|
14
|
+
<table border="2">
|
|
15
|
+
<tr>
|
|
16
|
+
<td align='center'><h3>Gem Name</h3></td>
|
|
17
|
+
<td align='center'><h3>Description</h3></td>
|
|
18
|
+
<td align='center'><h3>Documentation</h3></td>
|
|
19
|
+
</tr>
|
|
20
|
+
START:specs
|
|
21
|
+
<tr><td>%full_name%</td>
|
|
22
|
+
<td>%summary%</td>
|
|
23
|
+
<td>
|
|
24
|
+
IF:rdoc_installed
|
|
25
|
+
<a href="%doc_path%">RDoc Index</a>
|
|
26
|
+
ENDIF:rdoc_installed
|
|
27
|
+
IFNOT:rdoc_installed
|
|
28
|
+
None installed
|
|
29
|
+
ENDIF:rdoc_installed
|
|
30
|
+
</td>
|
|
31
|
+
</tr>
|
|
32
|
+
END:specs
|
|
33
|
+
</table>
|
|
34
|
+
</center>
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
|
37
|
+
WEBPAGE
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
##
|
|
41
|
+
# gem_server and gem_server.cgi are equivalent programs that allow
|
|
42
|
+
# users to serve gems for consumption by `gem --remote-install`.
|
|
43
|
+
#
|
|
44
|
+
# gem_server starts an HTTP server on the given port, and serves the folowing:
|
|
45
|
+
# * "/" - Browsing of gem spec files for installed gems
|
|
46
|
+
# * "/yaml" - Full yaml dump of metadata for installed gems
|
|
47
|
+
# * "/gems" - Direct access to download the installable gems
|
|
48
|
+
#
|
|
49
|
+
# Usage: gem_server [-p portnum] [-d gem_path]
|
|
50
|
+
# port_num:: The TCP port the HTTP server will bind to
|
|
51
|
+
# gem_path::
|
|
52
|
+
# Root gem directory containing both "cache" and "specifications"
|
|
53
|
+
# subdirectories.
|
|
54
|
+
if __FILE__ == $0
|
|
55
|
+
require 'rubygems'
|
|
56
|
+
Gem.manage_gems
|
|
57
|
+
require 'webrick'
|
|
58
|
+
require 'yaml'
|
|
59
|
+
require 'optparse'
|
|
60
|
+
require 'rdoc/template'
|
|
61
|
+
Socket.do_not_reverse_lookup=true
|
|
62
|
+
options = {}
|
|
63
|
+
ARGV.options do |opts|
|
|
64
|
+
opts.on_tail("--help",
|
|
65
|
+
"show this message") {puts opts; exit}
|
|
66
|
+
opts.on('-pPORT','--port=PORT',
|
|
67
|
+
"Specify the port to listen on") { |options[:port]| }
|
|
68
|
+
opts.on('-dGEMDIR','--dir=GEMDIR',
|
|
69
|
+
"Specify the directory from which to serve Gems") { |options[:gemdir]| }
|
|
70
|
+
opts.parse!
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
s = WEBrick::HTTPServer.new(:Port => options[:port] || 8808)
|
|
74
|
+
s.mount_proc("/yaml") { |req, res|
|
|
75
|
+
fn = File.join(options[:gemdir] || Gem.dir, "specifications")
|
|
76
|
+
res['content-type'] = 'text/plain'
|
|
77
|
+
res['date'] = File.stat(fn).mtime
|
|
78
|
+
res.body << Gem::SourceIndex.from_installed_gems(fn).to_yaml
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
s.mount_proc("/") { |req, res|
|
|
82
|
+
specs = []
|
|
83
|
+
specifications_dir = File.join(options[:gemdir] || Gem.dir, "specifications")
|
|
84
|
+
Gem::SourceIndex.from_installed_gems(specifications_dir).each do |path, spec|
|
|
85
|
+
specs << {
|
|
86
|
+
"name" => spec.name,
|
|
87
|
+
"version" => spec.version,
|
|
88
|
+
"full_name" => spec.full_name,
|
|
89
|
+
"summary" => spec.summary,
|
|
90
|
+
"rdoc_installed" => Gem::DocManager.new(spec).rdoc_installed?,
|
|
91
|
+
"doc_path" => ('/doc_root/' + spec.full_name + '/rdoc/index.html')
|
|
92
|
+
}
|
|
93
|
+
end
|
|
94
|
+
specs = specs.sort_by { |spec| [spec["name"].downcase, spec["version"]] }
|
|
95
|
+
template = TemplatePage.new(DOC_TEMPLATE)
|
|
96
|
+
res['content-type'] = 'text/html'
|
|
97
|
+
template.write_html_on(res.body, {"specs" => specs})
|
|
98
|
+
}
|
|
99
|
+
{
|
|
100
|
+
"/gems" => "/cache/",
|
|
101
|
+
"/doc_root" => "/doc/"
|
|
102
|
+
}.each do |mount_point, mount_dir|
|
|
103
|
+
s.mount(
|
|
104
|
+
mount_point,
|
|
105
|
+
WEBrick::HTTPServlet::FileHandler,
|
|
106
|
+
File.join(options[:gemdir] || Gem.dir, mount_dir),
|
|
107
|
+
true)
|
|
108
|
+
end
|
|
109
|
+
trap("INT") { s.shutdown; exit! }
|
|
110
|
+
s.start
|
|
111
|
+
end
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
$:.unshift '~/rubygems'
|
|
3
|
+
|
|
4
|
+
require 'optparse'
|
|
5
|
+
require 'rubygems'
|
|
6
|
+
require 'zlib'
|
|
7
|
+
|
|
8
|
+
Gem.manage_gems
|
|
9
|
+
|
|
10
|
+
options = {}
|
|
11
|
+
ARGV.options do |opts|
|
|
12
|
+
opts.on_tail("--help", "show this message") {puts opts; exit}
|
|
13
|
+
opts.on('-d', '--dir=DIRNAME', "base directory with dir/gems", String) {|options[:directory]|}
|
|
14
|
+
opts.parse!
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
directory = options[:directory]
|
|
18
|
+
unless directory
|
|
19
|
+
puts "Error, must specify directory name. Use --help"
|
|
20
|
+
exit
|
|
21
|
+
else
|
|
22
|
+
unless File.exist?(directory) && File.directory?(directory)
|
|
23
|
+
puts "Error, unknown directory name #{directory}."
|
|
24
|
+
exit
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
class Indexer
|
|
29
|
+
|
|
30
|
+
def initialize(directory)
|
|
31
|
+
@directory = directory
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def gem_file_list
|
|
35
|
+
Dir.glob(File.join(@directory, "gems", "*.gem"))
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
def build_index
|
|
39
|
+
File.open(File.join(@directory, "yaml"), "w") do |file|
|
|
40
|
+
file.puts "--- !ruby/object:Gem::Cache"
|
|
41
|
+
file.puts "gems:"
|
|
42
|
+
gem_file_list.each do |gemfile|
|
|
43
|
+
spec = Gem::Format.from_file_by_path(gemfile).spec
|
|
44
|
+
file.puts " #{spec.full_name}: #{spec.to_yaml.gsub(/\n/, "\n ")[4..-1]}"
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
build_compressed_index
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def build_compressed_index
|
|
51
|
+
File.open(File.join(@directory, "yaml.Z"), "w") do |file|
|
|
52
|
+
file.write(Zlib::Deflate.deflate(File.read(File.join(@directory, "yaml"))))
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Indexer.new(directory).build_index
|
data/bin/update_rubygems
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
update_dir = $LOAD_PATH.find { |fn| fn =~ /rubygems-update/ }
|
|
4
|
+
|
|
5
|
+
if update_dir.nil?
|
|
6
|
+
puts "Error: Cannot find RubyGems Update Path!"
|
|
7
|
+
puts
|
|
8
|
+
puts "RubyGems has already been updated."
|
|
9
|
+
puts "The rubygems-update gem may now be uninstalled."
|
|
10
|
+
puts "E.g. gem uninstall rubygems-update"
|
|
11
|
+
else
|
|
12
|
+
update_dir = File.dirname(update_dir)
|
|
13
|
+
Dir.chdir update_dir
|
|
14
|
+
update_dir =~ /([0-9.]*)$/
|
|
15
|
+
RGVERSION = $1
|
|
16
|
+
puts "Installing RubyGems #{RGVERSION}"
|
|
17
|
+
system "ruby setup.rb #{ARGV.join(' ')}"
|
|
18
|
+
end
|
data/doc/doc.css
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
BODY
|
|
2
|
+
{
|
|
3
|
+
font-size:10.5pt;
|
|
4
|
+
font-family:verdana,sans-serif;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
th
|
|
8
|
+
{
|
|
9
|
+
font-size:10.5pt;
|
|
10
|
+
font-family:verdana,sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
td
|
|
14
|
+
{
|
|
15
|
+
font-size:10.5pt;
|
|
16
|
+
font-family:verdana,sans-serif;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
code
|
|
21
|
+
{
|
|
22
|
+
background-color:yellow;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
#HEADLINE
|
|
26
|
+
{
|
|
27
|
+
font-size:12pt;
|
|
28
|
+
font-family:verdana,sans-serif;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
A
|
|
32
|
+
{
|
|
33
|
+
color:#993300;
|
|
34
|
+
|
|
35
|
+
font-family:verdana,sans-serif;
|
|
36
|
+
text-decoration:none;
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
A:hover
|
|
41
|
+
{
|
|
42
|
+
color:#404040;
|
|
43
|
+
font-family:verdana,sans-serif;
|
|
44
|
+
text-decoration:none;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h2 {
|
|
48
|
+
color:#993300;
|
|
49
|
+
background: #cccccc;
|
|
50
|
+
border-bottom: #646464 1px solid;
|
|
51
|
+
padding-top: 0.1em;
|
|
52
|
+
padding-left: 0.5em;
|
|
53
|
+
padding-bottom: 0.0em;
|
|
54
|
+
font-size:12pt;
|
|
55
|
+
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
pre {
|
|
59
|
+
border-right: #646464 1px solid;
|
|
60
|
+
padding-right: 0.5em;
|
|
61
|
+
border-top: #646464 1px solid;
|
|
62
|
+
padding-top: 0.5em;
|
|
63
|
+
border-left: #646464 1px solid;
|
|
64
|
+
padding-left: 0.5em;
|
|
65
|
+
border-bottom: #646464 1px solid;
|
|
66
|
+
padding-bottom: 0.5em;
|
|
67
|
+
margin-left: 1em;
|
|
68
|
+
margin-right: 2em;
|
|
69
|
+
white-space: pre;
|
|
70
|
+
background-color: #e6e6e6;
|
|
71
|
+
color: black;
|
|
72
|
+
}
|
|
73
|
+
|
data/doc/makedoc.rb
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
$:.unshift '../lib'
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'an-app'
|
|
6
|
+
s.version = "0.0.3"
|
|
7
|
+
s.required_ruby_version = ">= 1.8.1"
|
|
8
|
+
s.platform = Gem::Platform::RUBY
|
|
9
|
+
s.summary = "This gem demonstrates executable scripts"
|
|
10
|
+
s.requirements << 'a computer processor'
|
|
11
|
+
s.add_dependency("session", "> 0.0.0")
|
|
12
|
+
s.files = Dir.glob("lib/**/*").delete_if {|item| item.include?("CVS")}
|
|
13
|
+
s.files.concat Dir.glob("bin/**/*").delete_if {|item| item.include?("CVS")}
|
|
14
|
+
s.require_path = 'lib'
|
|
15
|
+
s.autorequire = 'somefunctionality'
|
|
16
|
+
s.executables = ["myapp"]
|
|
17
|
+
#s.extra_rdoc_files = ["README", "Changes.rdoc"]
|
|
18
|
+
#s.default_executable = "myapp"
|
|
19
|
+
s.bindir = "bin"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
if $0==__FILE__
|
|
23
|
+
Gem::manage_gems
|
|
24
|
+
Gem::Builder.new(spec).build
|
|
25
|
+
end
|
|
26
|
+
|
data/gemspecs/README
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require 'rubygems'
|
|
2
|
+
Gem::manage_gems
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'cgikit'
|
|
6
|
+
s.version = '1.1.0'
|
|
7
|
+
s.summary = 'CGIKit is a componented-oriented web application framework like Apple Computers WebObjects. This framework services Model-View-Controller architecture programming by components based on a HTML file, a definition file and a Ruby source. '
|
|
8
|
+
s.files = ["lib/cgikit", "lib/cgikit.rb", "lib/cgikit/components", "lib/cgikit/components/CKErrorPage", "lib/cgikit/components/CKErrorPage/CKErrorPage.ckd", "lib/cgikit/components/CKErrorPage/CKErrorPage.html", "lib/cgikit/components/CKErrorPage/CKErrorPage.rb", "misc/cgikit-el", "misc/cgikit-el/cgikit-el.en.rd", "misc/cgikit-el/cgikit-el.ja.rd", "misc/cgikit-el/cgikit-help-en.el", "misc/cgikit-el/cgikit-help-ja.el", "misc/cgikit-el/cgikit.el", "misc/cgikit-el/ChangeLog", "misc/cgikit-el/makehelp.rb", "docs/en", "docs/ja", "docs/en/userguide", "docs/en/userguide/architecture.html", "docs/en/userguide/cookie.html", "docs/en/userguide/deployment.html", "docs/en/userguide/elements.html", "docs/en/userguide/images", "docs/en/userguide/index.html", "docs/en/userguide/install.html", "docs/en/userguide/session.html", "docs/en/userguide/standard.css", "docs/en/userguide/images/architecture_mvc.png", "docs/ja/userguide", "docs/ja/userguide/architecture.html", "docs/ja/userguide/cookie.html", "docs/ja/userguide/deployment.html", "docs/ja/userguide/elements.html", "docs/ja/userguide/images", "docs/ja/userguide/index.html", "docs/ja/userguide/install.html", "docs/ja/userguide/session.html", "docs/ja/userguide/standard.css", "docs/ja/userguide/images/architecturea.png", "src/00about.rb", "src/01adapter.rb", "src/02error.rb", "src/03session.rb", "src/04application.rb", "src/05elements1.rb", "src/06elements2.rb", "src/07elements3.rb", "src/08scanner.rb", "src/09parser.rb", "src/10message.rb", "src/11utilities.rb", "src/12resource.rb", "examples/AboutExamples", "examples/AboutExamples.ja", "examples/AddressBook", "examples/CookieCounter", "examples/ErrorScreen", "examples/Examples", "examples/FileUpload", "examples/HelloWorld", "examples/HelloWorldModRuby", "examples/RequestShower", "examples/SessionTest", "examples/AddressBook/AddressBook.cgi", "examples/AddressBook/addresses.txt", "examples/AddressBook/lib", "examples/AddressBook/MainPage", "examples/AddressBook/lib/address.rb", "examples/AddressBook/MainPage/MainPage.ckd", "examples/AddressBook/MainPage/MainPage.html", "examples/AddressBook/MainPage/MainPage.rb", "examples/CookieCounter/CookieCounter.cgi", "examples/CookieCounter/MainPage", "examples/CookieCounter/MainPage/MainPage.ckd", "examples/CookieCounter/MainPage/MainPage.html", "examples/CookieCounter/MainPage/MainPage.rb", "examples/ErrorScreen/ErrorScreen.cgi", "examples/ErrorScreen/log.txt", "examples/ErrorScreen/MainPage", "examples/ErrorScreen/MainPage/MainPage.ckd", "examples/ErrorScreen/MainPage/MainPage.html", "examples/ErrorScreen/MainPage/MainPage.rb", "examples/Examples/CheckboxPage", "examples/Examples/ConditionalPage", "examples/Examples/Examples.cgi", "examples/Examples/GenericHTMLElementsPage", "examples/Examples/HeaderFooterParts", "examples/Examples/HyperlinkPage", "examples/Examples/ImagePage", "examples/Examples/IndexPage", "examples/Examples/IntroductionPage", "examples/Examples/MainPage", "examples/Examples/MultiLocalePage", "examples/Examples/MultipleSubmitButtonsPage", "examples/Examples/PopUpButtonPage", "examples/Examples/RadioButtonPage", "examples/Examples/RepetitionPage", "examples/Examples/RepetitionTablePage", "examples/Examples/resources", "examples/Examples/SourcePage", "examples/Examples/StringPage", "examples/Examples/TextAreaPage", "examples/Examples/TextFieldPage", "examples/Examples/CheckboxPage/CheckboxPage.ckd", "examples/Examples/CheckboxPage/CheckboxPage.html", "examples/Examples/CheckboxPage/CheckboxPage.rb", "examples/Examples/CheckboxPage/CheckboxPage_ja.html", "examples/Examples/ConditionalPage/ConditionalPage.ckd", "examples/Examples/ConditionalPage/ConditionalPage.html", "examples/Examples/ConditionalPage/ConditionalPage.rb", "examples/Examples/ConditionalPage/ConditionalPage_ja.html", "examples/Examples/GenericHTMLElementsPage/GenericHTMLElementsPage.ckd", "examples/Examples/GenericHTMLElementsPage/GenericHTMLElementsPage.html", "examples/Examples/GenericHTMLElementsPage/GenericHTMLElementsPage.rb", "examples/Examples/GenericHTMLElementsPage/GenericHTMLElementsPage_ja.html", "examples/Examples/HeaderFooterParts/HeaderFooterParts.ckd", "examples/Examples/HeaderFooterParts/HeaderFooterParts.html", "examples/Examples/HeaderFooterParts/HeaderFooterParts.rb", "examples/Examples/HeaderFooterParts/HeaderFooterParts_ja.html", "examples/Examples/HyperlinkPage/HyperlinkPage.ckd", "examples/Examples/HyperlinkPage/HyperlinkPage.html", "examples/Examples/HyperlinkPage/HyperlinkPage.rb", "examples/Examples/HyperlinkPage/HyperlinkPage_ja.html", "examples/Examples/ImagePage/ImagePage.ckd", "examples/Examples/ImagePage/ImagePage.html", "examples/Examples/ImagePage/ImagePage.rb", "examples/Examples/ImagePage/ImagePage_ja.html", "examples/Examples/IndexPage/IndexPage.ckd", "examples/Examples/IndexPage/IndexPage.html", "examples/Examples/IndexPage/IndexPage.rb", "examples/Examples/IntroductionPage/IntroductionPage.ckd", "examples/Examples/IntroductionPage/IntroductionPage.html", "examples/Examples/IntroductionPage/IntroductionPage.rb", "examples/Examples/IntroductionPage/IntroductionPage_ja.html", "examples/Examples/MainPage/MainPage.ckd", "examples/Examples/MainPage/MainPage.html", "examples/Examples/MainPage/MainPage.rb", "examples/Examples/MultiLocalePage/MultiLocalePage.ckd", "examples/Examples/MultiLocalePage/MultiLocalePage.html", "examples/Examples/MultiLocalePage/MultiLocalePage.rb", "examples/Examples/MultiLocalePage/MultiLocalePage_ja.html", "examples/Examples/MultipleSubmitButtonsPage/MultipleSubmitButtonsPage.ckd", "examples/Examples/MultipleSubmitButtonsPage/MultipleSubmitButtonsPage.html", "examples/Examples/MultipleSubmitButtonsPage/MultipleSubmitButtonsPage.rb", "examples/Examples/MultipleSubmitButtonsPage/MultipleSubmitButtonsPage_ja.html", "examples/Examples/PopUpButtonPage/PopUpButtonPage.ckd", "examples/Examples/PopUpButtonPage/PopUpButtonPage.html", "examples/Examples/PopUpButtonPage/PopUpButtonPage.rb", "examples/Examples/PopUpButtonPage/PopUpButtonPage_ja.html", "examples/Examples/RadioButtonPage/RadioButtonPage.ckd", "examples/Examples/RadioButtonPage/RadioButtonPage.html", "examples/Examples/RadioButtonPage/RadioButtonPage.rb", "examples/Examples/RadioButtonPage/RadioButtonPage_ja.html", "examples/Examples/RepetitionPage/RepetitionPage.ckd", "examples/Examples/RepetitionPage/RepetitionPage.html", "examples/Examples/RepetitionPage/RepetitionPage.rb", "examples/Examples/RepetitionPage/RepetitionPage_ja.html", "examples/Examples/RepetitionTablePage/RepetitionTablePage.ckd", "examples/Examples/RepetitionTablePage/RepetitionTablePage.html", "examples/Examples/RepetitionTablePage/RepetitionTablePage.rb", "examples/Examples/RepetitionTablePage/RepetitionTablePage_ja.html", "examples/Examples/resources/cgikit.png", "examples/Examples/SourcePage/SourcePage.ckd", "examples/Examples/SourcePage/SourcePage.html", "examples/Examples/SourcePage/SourcePage.rb", "examples/Examples/SourcePage/SourcePage_ja.html", "examples/Examples/StringPage/StringPage.ckd", "examples/Examples/StringPage/StringPage.html", "examples/Examples/StringPage/StringPage.rb", "examples/Examples/StringPage/StringPage_ja.html", "examples/Examples/TextAreaPage/TextAreaPage.ckd", "examples/Examples/TextAreaPage/TextAreaPage.html", "examples/Examples/TextAreaPage/TextAreaPage.rb", "examples/Examples/TextAreaPage/TextAreaPage_ja.html", "examples/Examples/TextFieldPage/TextFieldPage.ckd", "examples/Examples/TextFieldPage/TextFieldPage.html", "examples/Examples/TextFieldPage/TextFieldPage.rb", "examples/Examples/TextFieldPage/TextFieldPage_ja.html", "examples/FileUpload/FileUpload.cgi", "examples/FileUpload/MainPage", "examples/FileUpload/MainPage/MainPage.ckd", "examples/FileUpload/MainPage/MainPage.html", "examples/FileUpload/MainPage/MainPage.rb", "examples/HelloWorld/HelloWorld.cgi", "examples/HelloWorld/MainPage", "examples/HelloWorld/MainPage/MainPage.ckd", "examples/HelloWorld/MainPage/MainPage.html", "examples/HelloWorld/MainPage/MainPage.rb", "examples/HelloWorldModRuby/helloworldmodruby.rb", "examples/HelloWorldModRuby/HelloWorldModRuby.rbx", "examples/HelloWorldModRuby/MainPage", "examples/HelloWorldModRuby/MainPage/MainPage.ckd", "examples/HelloWorldModRuby/MainPage/MainPage.html", "examples/HelloWorldModRuby/MainPage/MainPage.rb", "examples/RequestShower/MainPage", "examples/RequestShower/RequestShower.cgi", "examples/RequestShower/MainPage/MainPage.ckd", "examples/RequestShower/MainPage/MainPage.html", "examples/RequestShower/MainPage/MainPage.rb", "examples/SessionTest/MainPage", "examples/SessionTest/SessionErrorPage", "examples/SessionTest/SessionTest.cgi", "examples/SessionTest/MainPage/MainPage.ckd", "examples/SessionTest/MainPage/MainPage.html", "examples/SessionTest/MainPage/MainPage.rb", "examples/SessionTest/SessionErrorPage/SessionErrorPage.ckd", "examples/SessionTest/SessionErrorPage/SessionErrorPage.html", "examples/SessionTest/SessionErrorPage/SessionErrorPage.rb", "README", "README.ja", "CHANGES", "CHANGES.ja"]
|
|
9
|
+
s.require_paths = ["lib"]
|
|
10
|
+
s.autorequire = 'cgikit'
|
|
11
|
+
s.author = 'SUZUKI Tetsuya'
|
|
12
|
+
s.email = 'info@spice-of-life.net'
|
|
13
|
+
s.homepage = 'http://www.spice-of-life.net/download/cgikit/'
|
|
14
|
+
end
|
|
15
|
+
if $0==__FILE__
|
|
16
|
+
Gem::manage_gems
|
|
17
|
+
Gem::Builder.new(spec).build
|
|
18
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
require 'rubygems'
|
|
2
|
+
|
|
3
|
+
spec = Gem::Specification.new do |s|
|
|
4
|
+
|
|
5
|
+
s.name = 'jabber4r'
|
|
6
|
+
s.version = "0.7.0"
|
|
7
|
+
s.platform = Gem::Platform::RUBY
|
|
8
|
+
s.summary = "Jabber4r is a pure-Ruby Jabber client library"
|
|
9
|
+
s.requirements << 'Jabber server'
|
|
10
|
+
s.files = Dir.glob("lib/**/*").delete_if {|item| item.include?("CVS")}
|
|
11
|
+
s.require_path = 'lib'
|
|
12
|
+
s.autorequire = 'jabber4r/jabber4r'
|
|
13
|
+
|
|
14
|
+
s.has_rdoc=true
|
|
15
|
+
|
|
16
|
+
s.author = "Richard Kilmer"
|
|
17
|
+
s.email = "rich@infoether.com"
|
|
18
|
+
s.rubyforge_project = "jabber4r"
|
|
19
|
+
s.homepage = "http://jabber4r.rubyforge.org"
|
|
20
|
+
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
if $0==__FILE__
|
|
24
|
+
Gem::manage_gems
|
|
25
|
+
Gem::Builder.new(spec).build
|
|
26
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$:.unshift '../lib'
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'Linguistics'
|
|
6
|
+
s.version = "1.0.2"
|
|
7
|
+
s.author = "Michael Granger, Martin Chase"
|
|
8
|
+
s.email = "ged@FaerieMUD.org, stillflame@FaerieMUD.org"
|
|
9
|
+
s.homepage = "http://www.deveiate.org/code/linguistics.html"
|
|
10
|
+
s.platform = Gem::Platform::RUBY
|
|
11
|
+
s.summary = "This is a generic, language-neutral framework for extending Ruby objects with linguistic methods."
|
|
12
|
+
s.files = Dir.glob("{experiments,tests,redist,lib,docs}/**/*").delete_if {|item| item.include?("CVS") || item.include?("rdoc")}
|
|
13
|
+
s.files.concat ["utils.rb", "test.rb"]
|
|
14
|
+
s.require_path = 'lib'
|
|
15
|
+
s.autorequire = 'linguistics'
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
if $0==__FILE__
|
|
19
|
+
Gem::manage_gems
|
|
20
|
+
Gem::Builder.new(spec).build
|
|
21
|
+
end
|
|
22
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$:.unshift '../lib'
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'Ook'
|
|
6
|
+
s.version = "1.0.2"
|
|
7
|
+
s.author = "Chad Fowler"
|
|
8
|
+
s.email = "chad@chadfowler.com"
|
|
9
|
+
s.homepage = "http://www.chadfowler.com/ruby/rubyook"
|
|
10
|
+
s.platform = Gem::Platform::RUBY
|
|
11
|
+
s.summary = "A Ruby interpreter for the Ook! (www.dangermouse.net/esoteric/ook.html) and BrainF*ck (www.catseye.mb.ca/esoteric/bf/index.html) programming languages."
|
|
12
|
+
s.files = Dir.glob("{samples,tests,lib,docs}/**/*").delete_if {|item| item.include?("CVS") || item.include?("rdoc")}
|
|
13
|
+
s.require_path = 'lib'
|
|
14
|
+
s.autorequire = 'ook'
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
if $0==__FILE__
|
|
18
|
+
Gem::manage_gems
|
|
19
|
+
Gem::Builder.new(spec).build
|
|
20
|
+
end
|
|
21
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$:.unshift '../lib'
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'progressbar'
|
|
6
|
+
s.version = "0.0.3"
|
|
7
|
+
s.author = "Satoru Takabayashi"
|
|
8
|
+
s.email = "satoru@namazu.org"
|
|
9
|
+
s.homepage = "http://namazu.org/~satoru/ruby-progressbar/"
|
|
10
|
+
s.platform = Gem::Platform::RUBY
|
|
11
|
+
s.summary = "Ruby/ProgressBar is a text progress bar library for Ruby. It can indicate progress with percentage, a progress bar, and estimated remaining time."
|
|
12
|
+
s.files = Dir.glob("{sample,lib,docs}/**/*").delete_if {|item| item.include?("CVS") || item.include?("rdoc")}
|
|
13
|
+
s.files.concat ["ChangeLog"]
|
|
14
|
+
s.require_path = 'lib'
|
|
15
|
+
s.autorequire = 'progressbar'
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
if $0==__FILE__
|
|
19
|
+
Gem::manage_gems
|
|
20
|
+
Gem::Builder.new(spec).build
|
|
21
|
+
end
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
$:.unshift '../lib'
|
|
2
|
+
require 'rubygems'
|
|
3
|
+
|
|
4
|
+
spec = Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'RedCloth'
|
|
6
|
+
s.version = "2.0.2"
|
|
7
|
+
s.author = "Why the Lucky Stiff"
|
|
8
|
+
s.email = "why@ruby-lang.org"
|
|
9
|
+
s.homepage = "http://www.whytheluckystiff.net/ruby/redcloth/"
|
|
10
|
+
s.platform = Gem::Platform::RUBY
|
|
11
|
+
s.summary = "RedCloth is a module for using Textile in Ruby. Textile is a text format. A very simple text format. Another stab at making readable text that can be converted to HTML."
|
|
12
|
+
s.files = Dir.glob("{tests,lib,docs}/**/*").delete_if {|item| item.include?("CVS") || item.include?("rdoc")}
|
|
13
|
+
s.files << "run-tests.rb"
|
|
14
|
+
s.require_path = 'lib'
|
|
15
|
+
s.autorequire = 'redcloth'
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
if $0==__FILE__
|
|
19
|
+
Gem::manage_gems
|
|
20
|
+
Gem::Builder.new(spec).build
|
|
21
|
+
end
|
|
22
|
+
|