minpaso 0.1.0 → 002
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemified +11 -0
- data/History.txt +9 -2
- data/License.txt +55 -2
- data/Manifest.txt +2 -18
- data/README.txt +3 -3
- data/Rakefile +3 -3
- data/bin/minpaso +132 -0
- data/lib/minpaso.rb +2 -0
- data/spec/minpaso_spec.rb +126 -161
- metadata +15 -36
- data/config/hoe.rb +0 -72
- data/config/requirements.rb +0 -17
- data/lib/minpaso/version.rb +0 -9
- data/log/debug.log +0 -0
- data/script/destroy +0 -14
- data/script/generate +0 -14
- data/script/txt2html +0 -74
- data/spec/spec.opts +0 -1
- data/spec/spec_helper.rb +0 -6
- data/tasks/deployment.rake +0 -34
- data/tasks/environment.rake +0 -7
- data/tasks/rspec.rake +0 -21
- data/tasks/website.rake +0 -17
- data/website/index.html +0 -114
- data/website/index.txt +0 -53
- data/website/javascripts/rounded_corners_lite.inc.js +0 -285
- data/website/stylesheets/screen.css +0 -138
- data/website/template.rhtml +0 -48
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minpaso
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: "002"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keita Yamaguchi
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-04-16 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -19,53 +19,32 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: "0"
|
23
23
|
version:
|
24
|
-
description:
|
24
|
+
description:
|
25
25
|
email: keita.yamaguchi@gmail.com
|
26
|
-
executables:
|
27
|
-
|
26
|
+
executables:
|
27
|
+
- minpaso
|
28
28
|
extensions: []
|
29
29
|
|
30
|
-
extra_rdoc_files:
|
31
|
-
|
32
|
-
- License.txt
|
33
|
-
- Manifest.txt
|
34
|
-
- README.txt
|
35
|
-
- website/index.txt
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
36
32
|
files:
|
33
|
+
- .gemified
|
37
34
|
- History.txt
|
38
35
|
- License.txt
|
39
36
|
- Manifest.txt
|
40
37
|
- README.txt
|
41
38
|
- Rakefile
|
42
|
-
- config/hoe.rb
|
43
|
-
- config/requirements.rb
|
44
39
|
- lib/minpaso.rb
|
45
|
-
-
|
46
|
-
- log/debug.log
|
47
|
-
- script/destroy
|
48
|
-
- script/generate
|
49
|
-
- script/txt2html
|
40
|
+
- bin/minpaso
|
50
41
|
- setup.rb
|
51
42
|
- spec/minpaso_spec.rb
|
52
|
-
- spec/spec.opts
|
53
|
-
- spec/spec_helper.rb
|
54
|
-
- tasks/deployment.rake
|
55
|
-
- tasks/environment.rake
|
56
|
-
- tasks/rspec.rake
|
57
|
-
- tasks/website.rake
|
58
|
-
- website/index.html
|
59
|
-
- website/index.txt
|
60
|
-
- website/javascripts/rounded_corners_lite.inc.js
|
61
|
-
- website/stylesheets/screen.css
|
62
|
-
- website/template.rhtml
|
63
43
|
has_rdoc: true
|
64
|
-
homepage: http://
|
44
|
+
homepage: http://rubyforge.org/projects/minpaso/
|
65
45
|
post_install_message:
|
66
|
-
rdoc_options:
|
67
|
-
|
68
|
-
- README.txt
|
46
|
+
rdoc_options: []
|
47
|
+
|
69
48
|
require_paths:
|
70
49
|
- lib
|
71
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -83,9 +62,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
62
|
requirements: []
|
84
63
|
|
85
64
|
rubyforge_project: minpaso
|
86
|
-
rubygems_version: 1.
|
65
|
+
rubygems_version: 1.1.1
|
87
66
|
signing_key:
|
88
67
|
specification_version: 2
|
89
|
-
summary:
|
68
|
+
summary: This is a wrapper library for Minpaso API(http://minpaso.goga.co.jp/).
|
90
69
|
test_files: []
|
91
70
|
|
data/config/hoe.rb
DELETED
@@ -1,72 +0,0 @@
|
|
1
|
-
require 'minpaso/version'
|
2
|
-
|
3
|
-
AUTHOR = 'Keita Yamaguchi' # can also be an array of Authors
|
4
|
-
EMAIL = "keita.yamaguchi@gmail.com"
|
5
|
-
DESCRIPTION = "description of gem"
|
6
|
-
GEM_NAME = 'minpaso' # what ppl will type to install your gem
|
7
|
-
RUBYFORGE_PROJECT = 'minpaso' # The unix name for your project
|
8
|
-
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
9
|
-
DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
|
10
|
-
|
11
|
-
@config_file = "~/.rubyforge/user-config.yml"
|
12
|
-
@config = nil
|
13
|
-
RUBYFORGE_USERNAME = "unknown"
|
14
|
-
def rubyforge_username
|
15
|
-
unless @config
|
16
|
-
begin
|
17
|
-
@config = YAML.load(File.read(File.expand_path(@config_file)))
|
18
|
-
rescue
|
19
|
-
puts <<-EOS
|
20
|
-
ERROR: No rubyforge config file found: #{@config_file}
|
21
|
-
Run 'rubyforge setup' to prepare your env for access to Rubyforge
|
22
|
-
- See http://newgem.rubyforge.org/rubyforge.html for more details
|
23
|
-
EOS
|
24
|
-
exit
|
25
|
-
end
|
26
|
-
end
|
27
|
-
RUBYFORGE_USERNAME.replace @config["username"]
|
28
|
-
end
|
29
|
-
|
30
|
-
|
31
|
-
REV = nil
|
32
|
-
# UNCOMMENT IF REQUIRED:
|
33
|
-
# REV = `svn info`.each {|line| if line =~ /^Revision:/ then k,v = line.split(': '); break v.chomp; else next; end} rescue nil
|
34
|
-
VERS = Minpaso::VERSION::STRING + (REV ? ".#{REV}" : "")
|
35
|
-
RDOC_OPTS = ['--quiet', '--title', 'minpaso documentation',
|
36
|
-
"--opname", "index.html",
|
37
|
-
"--line-numbers",
|
38
|
-
"--main", "README",
|
39
|
-
"--inline-source"]
|
40
|
-
|
41
|
-
class Hoe
|
42
|
-
def extra_deps
|
43
|
-
@extra_deps.reject! { |x| Array(x).first == 'hoe' }
|
44
|
-
@extra_deps
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
# Generate all the Rake tasks
|
49
|
-
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
50
|
-
hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
51
|
-
p.author = AUTHOR
|
52
|
-
p.description = DESCRIPTION
|
53
|
-
p.email = EMAIL
|
54
|
-
p.summary = DESCRIPTION
|
55
|
-
p.url = HOMEPATH
|
56
|
-
p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
|
57
|
-
p.test_globs = ["test/**/test_*.rb"]
|
58
|
-
p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
|
59
|
-
|
60
|
-
# == Optional
|
61
|
-
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
62
|
-
# An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
|
63
|
-
p.extra_deps = [['units', '>= 1.0.1']]
|
64
|
-
|
65
|
-
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
66
|
-
|
67
|
-
end
|
68
|
-
|
69
|
-
CHANGES = hoe.paragraphs_of('History.txt', 0..1).join("\\n\\n")
|
70
|
-
PATH = (RUBYFORGE_PROJECT == GEM_NAME) ? RUBYFORGE_PROJECT : "#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
|
71
|
-
hoe.remote_rdoc_dir = File.join(PATH.gsub(/^#{RUBYFORGE_PROJECT}\/?/,''), 'rdoc')
|
72
|
-
hoe.rsync_args = '-av --delete --ignore-errors'
|
data/config/requirements.rb
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'fileutils'
|
2
|
-
include FileUtils
|
3
|
-
|
4
|
-
require 'rubygems'
|
5
|
-
%w[rake hoe newgem rubigen].each do |req_gem|
|
6
|
-
begin
|
7
|
-
require req_gem
|
8
|
-
rescue LoadError
|
9
|
-
puts "This Rakefile requires the '#{req_gem}' RubyGem."
|
10
|
-
puts "Installation: gem install #{req_gem} -y"
|
11
|
-
exit
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
|
16
|
-
|
17
|
-
require 'minpaso'
|
data/lib/minpaso/version.rb
DELETED
data/log/debug.log
DELETED
File without changes
|
data/script/destroy
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.join(File.dirname(__FILE__), '..')
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/destroy'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Destroy.new.run(ARGV)
|
data/script/generate
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
APP_ROOT = File.join(File.dirname(__FILE__), '..')
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'rubigen'
|
6
|
-
rescue LoadError
|
7
|
-
require 'rubygems'
|
8
|
-
require 'rubigen'
|
9
|
-
end
|
10
|
-
require 'rubigen/scripts/generate'
|
11
|
-
|
12
|
-
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
|
13
|
-
RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
|
14
|
-
RubiGen::Scripts::Generate.new.run(ARGV)
|
data/script/txt2html
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
begin
|
5
|
-
require 'newgem'
|
6
|
-
rescue LoadError
|
7
|
-
puts "\n\nGenerating the website requires the newgem RubyGem"
|
8
|
-
puts "Install: gem install newgem\n\n"
|
9
|
-
exit(1)
|
10
|
-
end
|
11
|
-
require 'redcloth'
|
12
|
-
require 'syntax/convertors/html'
|
13
|
-
require 'erb'
|
14
|
-
require File.dirname(__FILE__) + '/../lib/minpaso/version.rb'
|
15
|
-
|
16
|
-
version = Minpaso::VERSION::STRING
|
17
|
-
download = 'http://rubyforge.org/projects/minpaso'
|
18
|
-
|
19
|
-
class Fixnum
|
20
|
-
def ordinal
|
21
|
-
# teens
|
22
|
-
return 'th' if (10..19).include?(self % 100)
|
23
|
-
# others
|
24
|
-
case self % 10
|
25
|
-
when 1: return 'st'
|
26
|
-
when 2: return 'nd'
|
27
|
-
when 3: return 'rd'
|
28
|
-
else return 'th'
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
class Time
|
34
|
-
def pretty
|
35
|
-
return "#{mday}#{mday.ordinal} #{strftime('%B')} #{year}"
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
def convert_syntax(syntax, source)
|
40
|
-
return Syntax::Convertors::HTML.for_syntax(syntax).convert(source).gsub(%r!^<pre>|</pre>$!,'')
|
41
|
-
end
|
42
|
-
|
43
|
-
if ARGV.length >= 1
|
44
|
-
src, template = ARGV
|
45
|
-
template ||= File.join(File.dirname(__FILE__), '/../website/template.rhtml')
|
46
|
-
|
47
|
-
else
|
48
|
-
puts("Usage: #{File.split($0).last} source.txt [template.rhtml] > output.html")
|
49
|
-
exit!
|
50
|
-
end
|
51
|
-
|
52
|
-
template = ERB.new(File.open(template).read)
|
53
|
-
|
54
|
-
title = nil
|
55
|
-
body = nil
|
56
|
-
File.open(src) do |fsrc|
|
57
|
-
title_text = fsrc.readline
|
58
|
-
body_text = fsrc.read
|
59
|
-
syntax_items = []
|
60
|
-
body_text.gsub!(%r!<(pre|code)[^>]*?syntax=['"]([^'"]+)[^>]*>(.*?)</\1>!m){
|
61
|
-
ident = syntax_items.length
|
62
|
-
element, syntax, source = $1, $2, $3
|
63
|
-
syntax_items << "<#{element} class='syntax'>#{convert_syntax(syntax, source)}</#{element}>"
|
64
|
-
"syntax-temp-#{ident}"
|
65
|
-
}
|
66
|
-
title = RedCloth.new(title_text).to_html.gsub(%r!<.*?>!,'').strip
|
67
|
-
body = RedCloth.new(body_text).to_html
|
68
|
-
body.gsub!(%r!(?:<pre><code>)?syntax-temp-(\d+)(?:</code></pre>)?!){ syntax_items[$1.to_i] }
|
69
|
-
end
|
70
|
-
stat = File.stat(src)
|
71
|
-
created = stat.ctime
|
72
|
-
modified = stat.mtime
|
73
|
-
|
74
|
-
$stdout << template.result(binding)
|
data/spec/spec.opts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
-fs --colour
|
data/spec/spec_helper.rb
DELETED
data/tasks/deployment.rake
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
desc 'Release the website and new gem version'
|
2
|
-
task :deploy => [:check_version, :website, :release] do
|
3
|
-
puts "Remember to create SVN tag:"
|
4
|
-
puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
|
5
|
-
"svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
|
6
|
-
puts "Suggested comment:"
|
7
|
-
puts "Tagging release #{CHANGES}"
|
8
|
-
end
|
9
|
-
|
10
|
-
desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
|
11
|
-
task :local_deploy => [:website_generate, :install_gem]
|
12
|
-
|
13
|
-
task :check_version do
|
14
|
-
unless ENV['VERSION']
|
15
|
-
puts 'Must pass a VERSION=x.y.z release version'
|
16
|
-
exit
|
17
|
-
end
|
18
|
-
unless ENV['VERSION'] == VERS
|
19
|
-
puts "Please update your version.rb to match the release version, currently #{VERS}"
|
20
|
-
exit
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
|
25
|
-
task :install_gem_no_doc => [:clean, :package] do
|
26
|
-
sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
|
27
|
-
end
|
28
|
-
|
29
|
-
namespace :manifest do
|
30
|
-
desc 'Recreate Manifest.txt to include ALL files'
|
31
|
-
task :refresh do
|
32
|
-
`rake check_manifest | patch -p0 > Manifest.txt`
|
33
|
-
end
|
34
|
-
end
|
data/tasks/environment.rake
DELETED
data/tasks/rspec.rake
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require 'spec'
|
3
|
-
rescue LoadError
|
4
|
-
require 'rubygems'
|
5
|
-
require 'spec'
|
6
|
-
end
|
7
|
-
begin
|
8
|
-
require 'spec/rake/spectask'
|
9
|
-
rescue LoadError
|
10
|
-
puts <<-EOS
|
11
|
-
To use rspec for testing you must install rspec gem:
|
12
|
-
gem install rspec
|
13
|
-
EOS
|
14
|
-
exit(0)
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Run the specs under spec/models"
|
18
|
-
Spec::Rake::SpecTask.new do |t|
|
19
|
-
t.spec_opts = ['--options', "spec/spec.opts"]
|
20
|
-
t.spec_files = FileList['spec/*_spec.rb']
|
21
|
-
end
|
data/tasks/website.rake
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
desc 'Generate website files'
|
2
|
-
task :website_generate => :ruby_env do
|
3
|
-
(Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
|
4
|
-
sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
|
5
|
-
end
|
6
|
-
end
|
7
|
-
|
8
|
-
desc 'Upload website files to rubyforge'
|
9
|
-
task :website_upload do
|
10
|
-
host = "#{rubyforge_username}@rubyforge.org"
|
11
|
-
remote_dir = "/var/www/gforge-projects/#{PATH}/"
|
12
|
-
local_dir = 'website'
|
13
|
-
sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
|
14
|
-
end
|
15
|
-
|
16
|
-
desc 'Generate and upload website files'
|
17
|
-
task :website => [:website_generate, :website_upload, :publish_docs]
|
data/website/index.html
DELETED
@@ -1,114 +0,0 @@
|
|
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
|
-
<link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<title>
|
8
|
-
ruby-minpaso
|
9
|
-
</title>
|
10
|
-
<script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
|
11
|
-
<style>
|
12
|
-
|
13
|
-
</style>
|
14
|
-
<script type="text/javascript">
|
15
|
-
window.onload = function() {
|
16
|
-
settings = {
|
17
|
-
tl: { radius: 10 },
|
18
|
-
tr: { radius: 10 },
|
19
|
-
bl: { radius: 10 },
|
20
|
-
br: { radius: 10 },
|
21
|
-
antiAlias: true,
|
22
|
-
autoPad: true,
|
23
|
-
validTags: ["div"]
|
24
|
-
}
|
25
|
-
var versionBox = new curvyCorners(settings, document.getElementById("version"));
|
26
|
-
versionBox.applyCornersToAll();
|
27
|
-
}
|
28
|
-
</script>
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="main">
|
32
|
-
|
33
|
-
<h1>ruby-minpaso</h1>
|
34
|
-
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/minpaso"; return false'>
|
35
|
-
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/minpaso" class="numbers">0.1.0</a>
|
37
|
-
</div>
|
38
|
-
<h2>What</h2>
|
39
|
-
|
40
|
-
|
41
|
-
<p>ruby-minpaso is a wrapper library for Minpaso <span class="caps">API</span>.</p>
|
42
|
-
|
43
|
-
|
44
|
-
<h2>Installing</h2>
|
45
|
-
|
46
|
-
|
47
|
-
<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">minpaso</span></pre></p>
|
48
|
-
|
49
|
-
|
50
|
-
<h2>The basics</h2>
|
51
|
-
|
52
|
-
|
53
|
-
<h3>Search</h3>
|
54
|
-
|
55
|
-
|
56
|
-
<p><pre class='syntax'>
|
57
|
-
<span class="ident">pager</span> <span class="punct">=</span> <span class="constant">Minpaso</span><span class="punct">.</span><span class="ident">search</span><span class="punct">(</span><span class="symbol">:manufacturer</span> <span class="punct">=></span> <span class="punct">"</span><span class="string">Sony</span><span class="punct">")</span>
|
58
|
-
<span class="ident">item</span> <span class="punct">=</span> <span class="ident">pager</span><span class="punct">.</span><span class="ident">items</span><span class="punct">.</span><span class="ident">first</span>
|
59
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">product_name</span>
|
60
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">wei_score</span>
|
61
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">cpu_score</span>
|
62
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">memory_score</span>
|
63
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">video_score</span>
|
64
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">game_score</span>
|
65
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">hdd_score</span>
|
66
|
-
<span class="ident">item</span><span class="punct">.</span><span class="ident">total_score</span>
|
67
|
-
</pre></p>
|
68
|
-
|
69
|
-
|
70
|
-
<h3>Details</h3>
|
71
|
-
|
72
|
-
|
73
|
-
<p><pre class='syntax'>
|
74
|
-
<span class="ident">pcinfo</span> <span class="punct">=</span> <span class="constant">Minpaso</span><span class="punct">::</span><span class="constant">PCInfo</span><span class="punct">.</span><span class="ident">new</span><span class="punct">(</span><span class="number">1788</span><span class="punct">)</span>
|
75
|
-
<span class="ident">pcinfo</span><span class="punct">.</span><span class="ident">cpu</span><span class="punct">.</span><span class="ident">score</span>
|
76
|
-
<span class="ident">pcinfo</span><span class="punct">.</span><span class="ident">memory</span><span class="punct">.</span><span class="ident">size</span><span class="punct">.</span><span class="ident">to_mb</span>
|
77
|
-
</pre></p>
|
78
|
-
|
79
|
-
|
80
|
-
<h2>Forum</h2>
|
81
|
-
|
82
|
-
|
83
|
-
<p><a href="http://groups.google.com/group/ruby-minpaso">http://groups.google.com/group/ruby-minpaso</a></p>
|
84
|
-
|
85
|
-
|
86
|
-
<h2>How to submit patches</h2>
|
87
|
-
|
88
|
-
|
89
|
-
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
90
|
-
|
91
|
-
|
92
|
-
<p>The trunk repository is <code>svn://rubyforge.org/var/svn/minpaso/trunk</code> for anonymous access.</p>
|
93
|
-
|
94
|
-
|
95
|
-
<h2>License</h2>
|
96
|
-
|
97
|
-
|
98
|
-
<p>This code is free to use under the terms of the Ruby license.</p>
|
99
|
-
|
100
|
-
|
101
|
-
<h2>Contact</h2>
|
102
|
-
|
103
|
-
|
104
|
-
<p>Comments are welcome. Send an email to <a href="mailto:keita.yamaguchi@gmail.com">Keita Yamaguchi</a> or the <a href="http://groups.google.com/group/ruby-minpaso">forum</a></p>
|
105
|
-
<p class="coda">
|
106
|
-
<a href="keita.yamaguchi@gmail.com">Keita Yamaguchi</a>, 1st January 2008<br>
|
107
|
-
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
108
|
-
</p>
|
109
|
-
</div>
|
110
|
-
|
111
|
-
<!-- insert site tracking codes here, like Google Urchin -->
|
112
|
-
|
113
|
-
</body>
|
114
|
-
</html>
|