rabbit 0.9.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +9 -2
- data/Rakefile +11 -4
- data/TODO +0 -2
- data/bin/rabbirack +95 -0
- data/bin/rabbit +23 -2
- data/bin/rabbiter +9 -0
- data/data/locale/en/LC_MESSAGES/rabbit.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rabbit.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rabbit.mo +0 -0
- data/doc/_layouts/en.html +1 -1
- data/doc/_layouts/ja.html +1 -1
- data/doc/_layouts/skeleton.html +1 -1
- data/doc/_site/css/rabbit.css +41 -1
- data/doc/_site/en/development.html +2 -2
- data/doc/_site/en/faq.html +2 -2
- data/doc/_site/en/hiki.html +2 -2
- data/doc/_site/en/how-to-make/hiki.html +2 -2
- data/doc/_site/en/how-to-make/index.html +2 -2
- data/doc/_site/en/how-to-make/pdf.html +2 -2
- data/doc/_site/en/how-to-make/rd.html +2 -2
- data/doc/_site/en/how-to-make/theme.html +2 -2
- data/doc/_site/en/index.html +20 -20
- data/doc/_site/en/install/homebrew.html +6 -12
- data/doc/_site/en/install/index.html +5 -3
- data/doc/_site/en/install/macports.html +2 -2
- data/doc/_site/en/install/windows.html +2 -2
- data/doc/_site/en/news.html +172 -61
- data/doc/_site/en/rd.html +2 -2
- data/doc/_site/en/sample/hiki/rabbit.html +3 -3
- data/doc/_site/en/sample/index.html +2 -2
- data/doc/_site/en/sample/rd/rabbit.html +3 -3
- data/doc/_site/en/slides.html +2 -2
- data/doc/_site/en/usage.html +60 -60
- data/doc/_site/en/users.html +2 -2
- data/doc/_site/images/screenshots/en/blue-circle.png +0 -0
- data/doc/_site/images/screenshots/en/clear-blue-raw.png +0 -0
- data/doc/_site/images/screenshots/en/clear-blue.png +0 -0
- data/doc/_site/images/screenshots/en/cozmixng-raw.png +0 -0
- data/doc/_site/images/screenshots/en/cozmixng.png +0 -0
- data/doc/_site/images/screenshots/en/dark-gradation.png +0 -0
- data/doc/_site/images/screenshots/en/day-white.png +0 -0
- data/doc/_site/images/screenshots/en/debian.png +0 -0
- data/doc/_site/images/screenshots/en/green-circle.png +0 -0
- data/doc/_site/images/screenshots/en/night-black.png +0 -0
- data/doc/_site/images/screenshots/en/rabbit-raw.png +0 -0
- data/doc/_site/images/screenshots/en/rabbit.png +0 -0
- data/doc/_site/images/screenshots/en/ranguba-raw.png +0 -0
- data/doc/_site/images/screenshots/en/ranguba.png +0 -0
- data/doc/_site/images/screenshots/en/red-frame.png +0 -0
- data/doc/_site/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/_site/images/screenshots/ja/blue-circle.png +0 -0
- data/doc/_site/images/screenshots/ja/clear-blue-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/clear-blue.png +0 -0
- data/doc/_site/images/screenshots/ja/cozmixng-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/cozmixng.png +0 -0
- data/doc/_site/images/screenshots/ja/dark-gradation.png +0 -0
- data/doc/_site/images/screenshots/ja/day-white.png +0 -0
- data/doc/_site/images/screenshots/ja/debian.png +0 -0
- data/doc/_site/images/screenshots/ja/green-circle.png +0 -0
- data/doc/_site/images/screenshots/ja/night-black.png +0 -0
- data/doc/_site/images/screenshots/ja/rabbit-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/rabbit.png +0 -0
- data/doc/_site/images/screenshots/ja/ranguba-raw.png +0 -0
- data/doc/_site/images/screenshots/ja/ranguba.png +0 -0
- data/doc/_site/images/screenshots/ja/red-frame.png +0 -0
- data/doc/_site/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/_site/index.html.en +8 -2
- data/doc/_site/index.html.ja +8 -2
- data/doc/_site/ja/about.html +2 -2
- data/doc/_site/ja/development.html +2 -2
- data/doc/_site/ja/faq.html +25 -14
- data/doc/_site/ja/hiki.html +2 -2
- data/doc/_site/ja/how-to-make/hiki.html +2 -2
- data/doc/_site/ja/how-to-make/index.html +2 -2
- data/doc/_site/ja/how-to-make/pdf.html +2 -2
- data/doc/_site/ja/how-to-make/rd.html +2 -2
- data/doc/_site/ja/how-to-make/theme.html +2 -2
- data/doc/_site/ja/index.html +2 -2
- data/doc/_site/ja/install/homebrew.html +6 -12
- data/doc/_site/ja/install/index.html +5 -3
- data/doc/_site/ja/install/macports.html +3 -6
- data/doc/_site/ja/install/windows.html +2 -2
- data/doc/_site/ja/news.html +165 -61
- data/doc/_site/ja/rd.html +2 -2
- data/doc/_site/ja/sample/hiki/rabbit.html +3 -3
- data/doc/_site/ja/sample/index.html +2 -2
- data/doc/_site/ja/sample/rd/rabbit.html +3 -3
- data/doc/_site/ja/slides.html +2 -2
- data/doc/_site/ja/usage.html +60 -69
- data/doc/_site/ja/users.html +2 -2
- data/doc/css/rabbit.css +41 -1
- data/doc/en/index.rd +1 -1
- data/doc/en/install/homebrew.rd +2 -11
- data/doc/en/install/index.rd +2 -0
- data/doc/en/news.rd +117 -3
- data/doc/en/sample/hiki/rabbit.hiki +1 -1
- data/doc/en/sample/rd/rabbit.rd +1 -1
- data/doc/en/usage.rd +12 -17
- data/doc/images/screenshots/en/blue-circle.png +0 -0
- data/doc/images/screenshots/en/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/en/clear-blue.png +0 -0
- data/doc/images/screenshots/en/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/en/cozmixng.png +0 -0
- data/doc/images/screenshots/en/dark-gradation.png +0 -0
- data/doc/images/screenshots/en/day-white.png +0 -0
- data/doc/images/screenshots/en/debian.png +0 -0
- data/doc/images/screenshots/en/green-circle.png +0 -0
- data/doc/images/screenshots/en/night-black.png +0 -0
- data/doc/images/screenshots/en/rabbit-raw.png +0 -0
- data/doc/images/screenshots/en/rabbit.png +0 -0
- data/doc/images/screenshots/en/ranguba-raw.png +0 -0
- data/doc/images/screenshots/en/ranguba.png +0 -0
- data/doc/images/screenshots/en/red-frame.png +0 -0
- data/doc/images/screenshots/en/ruby-gnome2.png +0 -0
- data/doc/images/screenshots/ja/blue-circle.png +0 -0
- data/doc/images/screenshots/ja/clear-blue-raw.png +0 -0
- data/doc/images/screenshots/ja/clear-blue.png +0 -0
- data/doc/images/screenshots/ja/cozmixng-raw.png +0 -0
- data/doc/images/screenshots/ja/cozmixng.png +0 -0
- data/doc/images/screenshots/ja/dark-gradation.png +0 -0
- data/doc/images/screenshots/ja/day-white.png +0 -0
- data/doc/images/screenshots/ja/debian.png +0 -0
- data/doc/images/screenshots/ja/green-circle.png +0 -0
- data/doc/images/screenshots/ja/night-black.png +0 -0
- data/doc/images/screenshots/ja/rabbit-raw.png +0 -0
- data/doc/images/screenshots/ja/rabbit.png +0 -0
- data/doc/images/screenshots/ja/ranguba-raw.png +0 -0
- data/doc/images/screenshots/ja/ranguba.png +0 -0
- data/doc/images/screenshots/ja/red-frame.png +0 -0
- data/doc/images/screenshots/ja/ruby-gnome2.png +0 -0
- data/doc/index.html.en +6 -0
- data/doc/index.html.ja +6 -0
- data/doc/ja/faq.rd +21 -3
- data/doc/ja/install/homebrew.rd +2 -11
- data/doc/ja/install/index.rd +2 -0
- data/doc/ja/install/macports.rd +1 -6
- data/doc/ja/news.rd +109 -3
- data/doc/ja/sample/hiki/rabbit.hiki +1 -1
- data/doc/ja/sample/rd/rabbit.rd +1 -1
- data/doc/ja/usage.rd +11 -29
- data/lib/rabbit/canvas.rb +7 -4
- data/lib/rabbit/console.rb +1 -1
- data/lib/rabbit/div/main-i.erb +1 -1
- data/lib/rabbit/div/main.erb +1 -1
- data/lib/rabbit/element/base.rb +17 -1
- data/lib/rabbit/element/image.rb +1 -0
- data/lib/rabbit/element/preformatted.rb +8 -3
- data/lib/rabbit/element/syntax-highlighting.rb +15 -0
- data/lib/rabbit/element/text-renderer.rb +3 -3
- data/lib/rabbit/element/text.rb +0 -12
- data/lib/rabbit/element/title-slide.rb +1 -25
- data/lib/rabbit/formatter.rb +26 -6
- data/lib/rabbit/front.rb +10 -6
- data/lib/rabbit/html/template.erb +1 -1
- data/lib/rabbit/image.rb +1 -1
- data/lib/rabbit/keys.rb +70 -70
- data/lib/rabbit/middleware/config.ru +42 -0
- data/lib/rabbit/middleware/controller.rb +66 -0
- data/lib/rabbit/middleware/public/stylesheets/rabbirack.css +12 -0
- data/lib/rabbit/middleware/views/index.haml +13 -0
- data/lib/rabbit/middleware/views/layout.haml +8 -0
- data/lib/rabbit/parser/ext/aafigure.rb +1 -1
- data/lib/rabbit/parser/ext/blockdiag.rb +46 -0
- data/lib/rabbit/parser/ext/coderay.rb +66 -0
- data/lib/rabbit/parser/ext/emacs.rb +116 -0
- data/lib/rabbit/parser/ext/enscript.rb +15 -22
- data/lib/rabbit/parser/rd.rb +8 -2
- data/lib/rabbit/parser/rd/ext/block-verbatim.rb +53 -16
- data/lib/rabbit/parser/wiki.rb +3 -1
- data/lib/rabbit/parser/wiki/output.rb +28 -16
- data/lib/rabbit/rabbit.rb +7 -1
- data/lib/rabbit/renderer/display.rb +14 -2
- data/lib/rabbit/renderer/display/clutter-embed.rb +1 -1
- data/lib/rabbit/renderer/display/key-handler.rb +12 -12
- data/lib/rabbit/soap/base.rb +1 -1
- data/lib/rabbit/theme-browser.rb +2 -2
- data/lib/rabbit/theme/base/base.rb +7 -0
- data/lib/rabbit/theme/default-comment/default-comment.rb +9 -0
- data/lib/rabbit/theme/default-comment/property.rb +4 -0
- data/lib/rabbit/theme/default-item-mark-setup/default-item-mark-setup.rb +1 -1
- data/lib/rabbit/theme/default-slide/default-slide.rb +2 -2
- data/lib/rabbit/theme/default-text/default-text.rb +5 -0
- data/lib/rabbit/theme/default/default.rb +6 -7
- data/lib/rabbit/theme/footer-comment/footer-comment.rb +35 -8
- data/lib/rabbit/theme/pdf/pdf.rb +18 -0
- data/lib/rabbit/theme/rabbit-powered-by/rabbit-powered-by.rb +1 -1
- data/lib/rabbit/theme/syntax-highlighting/property.rb +4 -0
- data/lib/rabbit/theme/syntax-highlighting/syntax-highlighting.rb +139 -0
- data/lib/rabbit/theme/title-shadow/title-shadow.rb +1 -1
- data/lib/rabbit/theme/twitter-comment/twitter-comment.rb +1 -1
- data/lib/rabbit/twitter.rb +28 -4
- data/lib/rabbit/utils.rb +40 -12
- data/po/en/rabbit.po +175 -145
- data/po/fr/rabbit.po +180 -149
- data/po/ja/rabbit.po +176 -148
- data/po/rabbit.pot +175 -145
- data/sample/can_rabbit.rd +0 -21
- data/sample/rabbit-en.hiki +21 -2
- data/sample/rabbit-en.rd +42 -2
- data/sample/rabbit-implementation.rd +0 -5
- data/sample/rabbit.hiki +19 -16
- data/sample/rabbit.rd +42 -11
- data/sample/test.hiki +31 -0
- data/sample/test.rab +30 -0
- metadata +84 -58
- data/lib/rabbit/parser/ext/anthy.rb +0 -43
- data/lib/rabbit/parser/rd/ext/aafigure.rb +0 -18
- data/lib/rabbit/parser/rd/ext/anthy.rb +0 -29
- data/lib/rabbit/parser/rd/ext/enscript.rb +0 -24
- data/lib/rabbit/parser/rd/ext/tex.rb +0 -24
- data/lib/rabbit/source/rwiki.rb +0 -54
- data/lib/rabbit/theme/pdf-tortoise-and-hare/pdf-tortoise-and-hare.rb +0 -18
- data/lib/rabbit/theme/pdf-tortoise-and-hare/property.rb +0 -3
data/Gemfile
CHANGED
@@ -6,11 +6,18 @@ gem 'gtk2'
|
|
6
6
|
gem 'rsvg2'
|
7
7
|
gem 'poppler'
|
8
8
|
gem 'hikidoc'
|
9
|
-
gem '
|
10
|
-
gem '
|
9
|
+
gem 'albino'
|
10
|
+
gem 'nokogiri'
|
11
|
+
gem "rack"
|
12
|
+
gem "haml"
|
13
|
+
gem "rdtool"
|
14
|
+
gem "coderay"
|
11
15
|
|
12
16
|
group :development, :test do
|
17
|
+
gem 'twitter-stream'
|
18
|
+
gem 'twitter_oauth'
|
13
19
|
gem 'rake'
|
14
20
|
gem 'jeweler'
|
15
21
|
gem 'jekyll'
|
22
|
+
gem 'gettext'
|
16
23
|
end
|
data/Rakefile
CHANGED
@@ -25,9 +25,6 @@ Jeweler::Tasks.new do |_spec|
|
|
25
25
|
spec.summary = 'Rabbit is an RD-document-based presentation application.'
|
26
26
|
spec.description = spec.summary # FIXME
|
27
27
|
spec.license = "GPLv2+"
|
28
|
-
Bundler.load.dependencies_for(:default).each do |dependency|
|
29
|
-
spec.add_runtime_dependency(dependency.name, dependency.requirement.to_s)
|
30
|
-
end
|
31
28
|
|
32
29
|
spec.files = FileList["{lib,data,entities,bin,sample,misc,doc,po}/**/*",
|
33
30
|
"*.rb",
|
@@ -37,9 +34,9 @@ Jeweler::Tasks.new do |_spec|
|
|
37
34
|
"README",
|
38
35
|
"Gemfile"]
|
39
36
|
spec.test_files = FileList["test/**/*.rb"]
|
40
|
-
spec.executables -= ["rabbit.bat"]
|
41
37
|
end
|
42
38
|
|
39
|
+
Rake::Task["release"].prerequisites.clear
|
43
40
|
Jeweler::RubygemsDotOrgTasks.new
|
44
41
|
|
45
42
|
def force_array(enumerable)
|
@@ -172,6 +169,16 @@ task :tag do
|
|
172
169
|
sh("git tag -a #{version} -m 'release #{version}!!!'")
|
173
170
|
end
|
174
171
|
|
172
|
+
namespace :mo do
|
173
|
+
desc "Update .mo."
|
174
|
+
task :update do
|
175
|
+
ruby("update-mo.rb")
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
task :build => "mo:update"
|
180
|
+
task :package => "mo:update"
|
181
|
+
|
175
182
|
namespace :package do
|
176
183
|
desc "Upload tar.gz."
|
177
184
|
task :upload => :package do
|
data/TODO
CHANGED
data/bin/rabbirack
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# -*- mode: ruby; coding: utf-8 -*-
|
3
|
+
#
|
4
|
+
# Copyright (C) 2011 Kouhei Sutou <kou@clear-code.com>
|
5
|
+
#
|
6
|
+
# This program is free software; you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU General Public License as published by
|
8
|
+
# the Free Software Foundation; either version 2 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with this program; if not, write to the Free Software
|
18
|
+
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
19
|
+
|
20
|
+
require "rabbit/console"
|
21
|
+
|
22
|
+
base_dir = nil
|
23
|
+
$LOAD_PATH.each do |path|
|
24
|
+
base_dir = File.join(path, "rabbit", "middleware")
|
25
|
+
if File.exist?(base_dir)
|
26
|
+
break
|
27
|
+
else
|
28
|
+
base_dir = nil
|
29
|
+
end
|
30
|
+
end
|
31
|
+
public_path = File.join(base_dir, "public")
|
32
|
+
config_ru_path = File.join(base_dir, "config.ru")
|
33
|
+
|
34
|
+
parse = lambda do
|
35
|
+
Rabbit::Console.parse!(ARGV) do |opts, options|
|
36
|
+
options.rabbit_uri = "druby://localhost:10101"
|
37
|
+
options.filters = []
|
38
|
+
options.user_languages = []
|
39
|
+
options.log_status = false
|
40
|
+
|
41
|
+
opts.banner += " [passenger|shotgun|rackup] [-- [RACK_RUNNER_OPTIONS]]"
|
42
|
+
|
43
|
+
opts.separator ""
|
44
|
+
|
45
|
+
opts.on("--rabbit-uri=URI",
|
46
|
+
"Rabbit's dRuby URI",
|
47
|
+
"(#{options.rabbit_uri})") do |uri|
|
48
|
+
options.rabbit_uri = uri
|
49
|
+
end
|
50
|
+
|
51
|
+
opts.on("-e", "--environment=ENVIRONMENT",
|
52
|
+
"Use ENVIRONMENT as Rack application environment.") do |environment|
|
53
|
+
ENV["RACK_ENV"] = environment
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
options, logger = parse.call
|
59
|
+
|
60
|
+
ENV["RABBIT_URI"] = options.rabbit_uri
|
61
|
+
|
62
|
+
rack_runner = ARGV.first
|
63
|
+
case rack_runner
|
64
|
+
when "passenger"
|
65
|
+
require 'phusion_passenger'
|
66
|
+
require 'phusion_passenger/standalone/main'
|
67
|
+
ENV["HROONGA_PASSENGER_STANDALONE"] = "yes"
|
68
|
+
ARGV.shift
|
69
|
+
if ARGV[0] == "start"
|
70
|
+
ARGV[1, 0] = ["--rackup", config_ru_path]
|
71
|
+
end
|
72
|
+
PhusionPassenger::Standalone::Main.run!(ARGV)
|
73
|
+
when "shotgun"
|
74
|
+
require "shotgun"
|
75
|
+
shotgun_rb = nil
|
76
|
+
$LOAD_PATH.each do |path|
|
77
|
+
shotgun_rb = File.join(path, "shotgun.rb")
|
78
|
+
if File.exist?(shotgun_rb)
|
79
|
+
break
|
80
|
+
else
|
81
|
+
shotgun_rb = nil
|
82
|
+
end
|
83
|
+
end
|
84
|
+
shotgun_base_dir = File.dirname(File.dirname(shotgun_rb))
|
85
|
+
shotgun_bin = File.join(shotgun_base_dir, "bin", "shotgun")
|
86
|
+
ARGV.shift
|
87
|
+
ARGV.unshift("--public", public_path)
|
88
|
+
ARGV << config_ru_path
|
89
|
+
load shotgun_bin
|
90
|
+
else
|
91
|
+
require "rack"
|
92
|
+
ARGV.shift if rack_runner == "rackup"
|
93
|
+
ARGV.unshift("--option", "config=#{config_ru_path}")
|
94
|
+
Rack::Server.start
|
95
|
+
end
|
data/bin/rabbit
CHANGED
@@ -13,6 +13,8 @@ def parse_args(args=ARGV, logger=nil)
|
|
13
13
|
Rabbit::Console.parse!(args, logger) do |opts, options|
|
14
14
|
options.theme = "default"
|
15
15
|
options.theme_specified = false
|
16
|
+
options.comment_theme = nil
|
17
|
+
options.allotted_time = ENV["RABBIT_ALLOTTED_TIME"]
|
16
18
|
options.base = nil
|
17
19
|
options.source_type = :auto
|
18
20
|
options.full_screen = false
|
@@ -81,6 +83,18 @@ def parse_args(args=ARGV, logger=nil)
|
|
81
83
|
options.theme_specified = true
|
82
84
|
end
|
83
85
|
|
86
|
+
opts.on("--comment-theme=THEME",
|
87
|
+
_("Use [THEME] for comment."),
|
88
|
+
"(#{options.comment_theme})") do |theme|
|
89
|
+
options.comment_theme = theme
|
90
|
+
end
|
91
|
+
|
92
|
+
opts.on("--allotted-time=TIME",
|
93
|
+
_("Use [TIME] as allotted time."),
|
94
|
+
"(#{options.allotted_time})") do |time|
|
95
|
+
options.allotted_time = time
|
96
|
+
end
|
97
|
+
|
84
98
|
|
85
99
|
opts.category _("Source")
|
86
100
|
|
@@ -525,7 +539,10 @@ def parse_args(args=ARGV, logger=nil)
|
|
525
539
|
end
|
526
540
|
|
527
541
|
def make_canvas(options, logger, renderer)
|
528
|
-
Rabbit::Canvas.new(logger, renderer)
|
542
|
+
canvas = Rabbit::Canvas.new(logger, renderer)
|
543
|
+
canvas.comment_theme = options.comment_theme
|
544
|
+
canvas.allotted_time = options.allotted_time
|
545
|
+
canvas
|
529
546
|
end
|
530
547
|
|
531
548
|
def add_source_dialog_filter(dialog, name, pattern)
|
@@ -735,7 +752,11 @@ def do_save_as_image(options, logger)
|
|
735
752
|
end
|
736
753
|
|
737
754
|
def do_display(options, logger)
|
738
|
-
|
755
|
+
display_init_options = {}
|
756
|
+
if options.use_gl
|
757
|
+
display_init_options[:preferred_class_name] = "ClutterEmbed"
|
758
|
+
end
|
759
|
+
Rabbit::Renderer::Display.init(display_init_options)
|
739
760
|
Rabbit.gui_init
|
740
761
|
|
741
762
|
source = make_source(options, ARGV, logger)
|
data/bin/rabbiter
CHANGED
@@ -11,6 +11,7 @@ def parse(args=ARGV, logger=nil)
|
|
11
11
|
options.rabbit_uri = "druby://localhost:10101"
|
12
12
|
options.filters = []
|
13
13
|
options.user_languages = []
|
14
|
+
options.log_status = false
|
14
15
|
|
15
16
|
opts.separator ""
|
16
17
|
|
@@ -33,6 +34,13 @@ def parse(args=ARGV, logger=nil)
|
|
33
34
|
options.user_languages << language
|
34
35
|
end
|
35
36
|
|
37
|
+
opts.separator "Debug"
|
38
|
+
|
39
|
+
opts.on("--[no-]log-status",
|
40
|
+
"Log target statuses.") do |boolean|
|
41
|
+
options.log_status = boolean
|
42
|
+
end
|
43
|
+
|
36
44
|
opts.separator "Deprecated"
|
37
45
|
|
38
46
|
opts.on("--keyword=KEYWORD",
|
@@ -80,6 +88,7 @@ def main
|
|
80
88
|
begin
|
81
89
|
text = clean_text(status['text'], options.filters)
|
82
90
|
comment = "@#{status['user']['screen_name']}: #{text}"
|
91
|
+
logger.info(comment)
|
83
92
|
rabbit.append_comment(comment)
|
84
93
|
rescue DRb::DRbConnError
|
85
94
|
logger.error("Rabbiter: #{$!.class}: #{$!.message}")
|
Binary file
|
Binary file
|
Binary file
|
data/doc/_layouts/en.html
CHANGED
@@ -22,7 +22,7 @@ country: US
|
|
22
22
|
{{ content }}
|
23
23
|
<nav id="sidebar">
|
24
24
|
<h3>The Latest Release</h3>
|
25
|
-
<p>0.
|
25
|
+
<p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
|
26
26
|
<h3>Links</h3>
|
27
27
|
<ul>
|
28
28
|
<li><a href="/en/">README</a></li>
|
data/doc/_layouts/ja.html
CHANGED
data/doc/_layouts/skeleton.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
10
10
|
type="text/css">
|
11
11
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
12
|
-
<meta property="fb:page_id" content="
|
12
|
+
<meta property="fb:page_id" content="rabbit.shockers">
|
13
13
|
<meta property="fb:admins" content="kouhei.sutou">
|
14
14
|
<meta property="og:type" content="product">
|
15
15
|
<meta property="og:image"
|
data/doc/_site/css/rabbit.css
CHANGED
@@ -74,6 +74,20 @@ div.facebook-buttons
|
|
74
74
|
height: 90px;
|
75
75
|
}
|
76
76
|
|
77
|
+
pre
|
78
|
+
{
|
79
|
+
overflow: auto;
|
80
|
+
-moz-border-radius: 5px;
|
81
|
+
-webkit-border-radius: 5px;
|
82
|
+
border-radius: 5px;
|
83
|
+
-moz-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
|
84
|
+
-webkit-box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
|
85
|
+
box-shadow: 0.2em 0.2em 0.5em rgb(100, 100, 100);
|
86
|
+
border: solid 1px #abf562;
|
87
|
+
background: #d8ffb2;
|
88
|
+
padding: 5px 10px;
|
89
|
+
}
|
90
|
+
|
77
91
|
pre#install
|
78
92
|
{
|
79
93
|
position: absolute;
|
@@ -82,6 +96,8 @@ pre#install
|
|
82
96
|
-moz-border-radius: 10px 0;
|
83
97
|
-webkit-border-radius: 10px 0;
|
84
98
|
border-radius: 10px 0;
|
99
|
+
-moz-box-shadow: none;
|
100
|
+
-webkit-box-shadow: none;
|
85
101
|
margin: 0;
|
86
102
|
}
|
87
103
|
|
@@ -90,6 +106,8 @@ pre.command
|
|
90
106
|
background-color: black;
|
91
107
|
color: white;
|
92
108
|
padding: 10px 20px;
|
109
|
+
border-style: none;
|
110
|
+
box-shadow: none;
|
93
111
|
}
|
94
112
|
|
95
113
|
header div.other-language-links
|
@@ -113,6 +131,19 @@ header div.other-language-links a img
|
|
113
131
|
border-style: none;
|
114
132
|
}
|
115
133
|
|
134
|
+
div.latest-release p
|
135
|
+
{
|
136
|
+
text-align: center;
|
137
|
+
font-size: x-large;
|
138
|
+
padding: 0;
|
139
|
+
margin: 0;
|
140
|
+
}
|
141
|
+
|
142
|
+
section.screenshots h2
|
143
|
+
{
|
144
|
+
display: none;
|
145
|
+
}
|
146
|
+
|
116
147
|
ul#screenshots
|
117
148
|
{
|
118
149
|
margin: 0;
|
@@ -129,6 +160,7 @@ ul#screenshots li
|
|
129
160
|
display: inline;
|
130
161
|
}
|
131
162
|
|
163
|
+
div.latest-release,
|
132
164
|
nav.menu
|
133
165
|
{
|
134
166
|
border: #aa0202 0 solid;
|
@@ -214,22 +246,30 @@ nav p.note
|
|
214
246
|
top: 10px;
|
215
247
|
}
|
216
248
|
|
249
|
+
div.latest-release a:link,
|
250
|
+
div#main a:link,
|
217
251
|
nav a:link
|
218
252
|
{
|
219
253
|
color: #aa0202;
|
220
254
|
}
|
221
255
|
|
256
|
+
div.latest-release a:visited,
|
257
|
+
div#main a:visited,
|
222
258
|
nav a:visited
|
223
259
|
{
|
224
260
|
color: #d26364;
|
225
261
|
}
|
226
262
|
|
227
|
-
|
263
|
+
div.latest-release a:hover[href],
|
264
|
+
div#main a:hover[href],
|
265
|
+
nav a:hover[href]
|
228
266
|
{
|
229
267
|
color: white;
|
230
268
|
background-color: #aa0202;
|
231
269
|
}
|
232
270
|
|
271
|
+
div.latest-release a:active,
|
272
|
+
div#main a:active,
|
233
273
|
nav a:active
|
234
274
|
{
|
235
275
|
color: #aa0202;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
10
10
|
type="text/css">
|
11
11
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
12
|
-
<meta property="fb:page_id" content="
|
12
|
+
<meta property="fb:page_id" content="rabbit.shockers">
|
13
13
|
<meta property="fb:admins" content="kouhei.sutou">
|
14
14
|
<meta property="og:type" content="product">
|
15
15
|
<meta property="og:image"
|
@@ -96,7 +96,7 @@ the following:</p>
|
|
96
96
|
</div>
|
97
97
|
<nav id="sidebar">
|
98
98
|
<h3>最新リリース</h3>
|
99
|
-
<p>2011-
|
99
|
+
<p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.0</a>が最新リリースです。</p>
|
100
100
|
<h3>リンク</h3>
|
101
101
|
<ul>
|
102
102
|
<li><a href="/ja/">はじめに</a></li>
|
data/doc/_site/en/faq.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
10
10
|
type="text/css">
|
11
11
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
12
|
-
<meta property="fb:page_id" content="
|
12
|
+
<meta property="fb:page_id" content="rabbit.shockers">
|
13
13
|
<meta property="fb:admins" content="kouhei.sutou">
|
14
14
|
<meta property="og:type" content="product">
|
15
15
|
<meta property="og:image"
|
@@ -73,7 +73,7 @@ page from XXX.rd.</p>
|
|
73
73
|
</div>
|
74
74
|
<nav id="sidebar">
|
75
75
|
<h3>The Latest Release</h3>
|
76
|
-
<p>0.
|
76
|
+
<p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
|
77
77
|
<h3>Links</h3>
|
78
78
|
<ul>
|
79
79
|
<li><a href="/en/">README</a></li>
|
data/doc/_site/en/hiki.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
10
10
|
type="text/css">
|
11
11
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
12
|
-
<meta property="fb:page_id" content="
|
12
|
+
<meta property="fb:page_id" content="rabbit.shockers">
|
13
13
|
<meta property="fb:admins" content="kouhei.sutou">
|
14
14
|
<meta property="og:type" content="product">
|
15
15
|
<meta property="og:image"
|
@@ -376,7 +376,7 @@ which is not surrounded by <p> ... </p>.</p>
|
|
376
376
|
</div>
|
377
377
|
<nav id="sidebar">
|
378
378
|
<h3>最新リリース</h3>
|
379
|
-
<p>2011-
|
379
|
+
<p>2011-07-15にリリースされた<a href="/ja/news.html">1.0.0</a>が最新リリースです。</p>
|
380
380
|
<h3>リンク</h3>
|
381
381
|
<ul>
|
382
382
|
<li><a href="/ja/">はじめに</a></li>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<link rel="stylesheet" href="/css/jquery-ui/themes/ui-lightness.css"
|
10
10
|
type="text/css">
|
11
11
|
<link rel="stylesheet" href="/css/rabbit.css" type="text/css">
|
12
|
-
<meta property="fb:page_id" content="
|
12
|
+
<meta property="fb:page_id" content="rabbit.shockers">
|
13
13
|
<meta property="fb:admins" content="kouhei.sutou">
|
14
14
|
<meta property="og:type" content="product">
|
15
15
|
<meta property="og:image"
|
@@ -69,7 +69,7 @@
|
|
69
69
|
</div>
|
70
70
|
<nav id="sidebar">
|
71
71
|
<h3>The Latest Release</h3>
|
72
|
-
<p>0.
|
72
|
+
<p><a href="en/news.html">1.0.0</a> is the latest release. It had been released at 2011-07-15.</p>
|
73
73
|
<h3>Links</h3>
|
74
74
|
<ul>
|
75
75
|
<li><a href="/en/">README</a></li>
|