rabbit-slide-rabbit-theme-benchmark-ja 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (9) hide show
  1. data/.rabbit +1 -0
  2. data/GFDL +451 -0
  3. data/GPL +674 -0
  4. data/README.rd +38 -0
  5. data/Rakefile +83 -0
  6. data/config.yaml +11 -0
  7. data/lavie.png +0 -0
  8. data/theme-benchmark.rab +128 -0
  9. metadata +74 -0
data/README.rd ADDED
@@ -0,0 +1,38 @@
1
+ = テーマベンチ
2
+
3
+ Rabbitのテーマを確認するためのスライドです。スライドで使われる要素がた
4
+ くさん入っているためテーマの確認に便利です。
5
+
6
+ == 作者向け
7
+
8
+ === 表示
9
+
10
+ rake
11
+
12
+ === 公開
13
+
14
+ rake publish
15
+
16
+ == 閲覧者向け
17
+
18
+ === インストール
19
+
20
+ gem install rabbit-slide-rabbit-theme-benchmark-ja
21
+
22
+ === 表示
23
+
24
+ rabbit rabbit-slide-rabbit-theme-benchmark-ja.gem
25
+
26
+ == ライセンス
27
+
28
+ 以下のライセンスのトリプルライセンスです。
29
+
30
+ * ((<GPL(バージョン3またはそれ以降のバージョン)|URL:http://www.gnu.org/licenses/gpl.html>))
31
+ * ((<GFDL(バージョンなし、変更不可部分なし、表表紙テキストなし、裏表紙テキストなし)|URL:http://www.gnu.org/copyleft/fdl.html>))
32
+ * ((<CC BY-SA 3.0|URL:http://creativecommons.org/licenses/by-sa/3.0/>))
33
+
34
+ GPL・GFDLの「著作者」の表記およびCC BY-SA 3.0の「原著作者のクレジット」
35
+ は以下のいずれかを使ってください。
36
+
37
+ * 須藤功平
38
+ * Kouhei Sutou
data/Rakefile ADDED
@@ -0,0 +1,83 @@
1
+ # Copyright (C) 2012 Kouhei Sutou <kou@cozmixng.org>
2
+ #
3
+ # License: GPLv3+, GFDL or CC BY-SA 3.0
4
+ #
5
+ # This program is free software: you can redistribute it and/or modify
6
+ # it under the terms of the GNU General Public License as published by
7
+ # the Free Software Foundation, either version 3 of the License, or
8
+ # (at your option) any later version.
9
+ #
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License
16
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+
18
+ require "time"
19
+ require "yaml"
20
+ require "rabbit/task/slide"
21
+
22
+ config = YAML.load(File.read("config.yaml"))
23
+
24
+ slide_id = config["id"]
25
+ tags = config["tags"]
26
+ base_name = config["base_name"]
27
+ pdf_base_path = "#{base_name}.pdf"
28
+
29
+ version = nil
30
+ presentation_date = config["presentation_date"]
31
+ parsed_presentation_date = nil
32
+ if presentation_date
33
+ begin
34
+ parsed_presentation_date = Time.parse(presentation_date)
35
+ rescue ArgumentError
36
+ end
37
+ if parsed_presentation_date
38
+ version = parsed_presentation_date.strftime("%Y.%m.%d")
39
+ end
40
+ end
41
+ version ||= "1.0.0"
42
+
43
+ name = config["name"]
44
+ email = config["email"]
45
+ rubygems_user = config["rubygems_user"]
46
+ slideshare_user = config["slideshare_user"]
47
+ speaker_deck_user = config["speaker_deck_user"]
48
+
49
+ readme = File.read(Dir.glob("README*")[0])
50
+
51
+ readme_blocks = readme.split(/(?:\r?\n){2,}/)
52
+ summary = (readme_blocks[0] || "TODO").gsub(/\A(?:[=*!]+|h\d\.) */, "")
53
+ description = readme_blocks[1] || "TODO"
54
+
55
+ specification = Gem::Specification.new do |spec|
56
+ prefix = "rabbit-slide"
57
+ spec.name = "#{prefix}-#{rubygems_user}-#{slide_id}"
58
+ spec.version = version
59
+ spec.homepage = "http://slide.rabbit-shockers.org/#{rubygems_user}/#{slide_id}/"
60
+ spec.authors = [name]
61
+ spec.email = [email]
62
+ spec.summary = summary
63
+ spec.description = description
64
+ spec.licenses = ["GPLv3+", "GFDL", "CC BY-SA 3.0"]
65
+
66
+ spec.files = [".rabbit", "config.yaml", "Rakefile"]
67
+ spec.files += Dir.glob("{COPYING,GPL,GFDL,README*}")
68
+ spec.files += Dir.glob("rabbit/**/*.*")
69
+ spec.files += Dir.glob("**/*.{svg,png,jpg,jpeg,gif,eps,pdf}")
70
+ spec.files += Dir.glob("*.{rd,rab,hiki,md,pdf}")
71
+ spec.files -= Dir.glob("{pkg,pdf}/**/*.*")
72
+
73
+ spec.add_runtime_dependency("rabbit")
74
+ end
75
+
76
+ Rabbit::Task::Slide.new(specification) do |task|
77
+ task.rubygems_user = rubygems_user
78
+ task.slideshare_user = slideshare_user
79
+ task.speaker_deck_user = speaker_deck_user
80
+ task.pdf_base_path = pdf_base_path
81
+ task.tags = tags
82
+ task.presentation_date = parsed_presentation_date
83
+ end
data/config.yaml ADDED
@@ -0,0 +1,11 @@
1
+ ---
2
+ id: theme-benchmark-ja
3
+ tags:
4
+ - rabbit
5
+ base_name: theme-benchmark
6
+ name: Rabbit
7
+ presentation_date:
8
+ email: lavie@rabbit-shockers.org
9
+ rubygems_user: rabbit
10
+ slideshare_user:
11
+ speaker_deck_user:
data/lavie.png ADDED
Binary file
@@ -0,0 +1,128 @@
1
+ = テーマベンチ
2
+
3
+ : author
4
+ 須藤 功平
5
+
6
+ : institution
7
+ COZMIXNG
8
+
9
+ : date
10
+ 2007/06/24
11
+
12
+ : allotted-time
13
+ 10m
14
+
15
+ = これはなに?
16
+
17
+ テーマ確認用スライド
18
+
19
+ * 基本的な要素を含む
20
+
21
+ = 箇条書き
22
+
23
+ * レベル1-1
24
+ * レベル2-1
25
+ * レベル2-2
26
+ * レベル3
27
+ * レベル1-2
28
+
29
+ = 順序つきリスト
30
+
31
+ (1) レベル1-1
32
+ (1) レベル2-1
33
+ (1) レベル2-2
34
+ (1) レベル3
35
+ (1) レベル1-2
36
+
37
+ = 複合リスト
38
+
39
+ (1) レベル1-1
40
+ * レベル2-1
41
+ * レベル2-2
42
+ * レベル3
43
+ (1) レベル1-2
44
+
45
+ = 説明リスト
46
+
47
+ : Lavie
48
+ Rabbitのマスコット
49
+
50
+ : ショッカー
51
+ らびっとゆーざずぐるーぷ
52
+
53
+ = 説明リスト+箇条書き
54
+
55
+ : 見出し1
56
+ * レベル1-1
57
+ * レベル1-2
58
+
59
+ : 見出し2
60
+ * レベル1-1
61
+ * レベル1-2
62
+
63
+ = 画像
64
+
65
+ # image
66
+ # src = lavie.png
67
+ # relative_height = 100
68
+
69
+ = 画像: 見出し付き
70
+
71
+ # image
72
+ # src = lavie.png
73
+ # caption = Lavie
74
+ # relative_height = 100
75
+
76
+ = 整形済みテキスト
77
+
78
+ require 'drb'
79
+ uri =
80
+ 'druby://localhost:10101/'
81
+ rabbit =
82
+ DRbObject.new_with_uri(uri)
83
+ rabbit.move_to_next_if_can
84
+
85
+ = ソース
86
+
87
+ # coderay ruby
88
+ class You
89
+ def love?(it)
90
+ it == "Rabbit"
91
+ end
92
+ end
93
+
94
+ = 引用: タイトル付き
95
+
96
+ # blockquote
97
+ # title = The Matrix
98
+ You take the ((*red pill*)), you stay in Wonderland and
99
+ I show you how deep the ((*rabbit-hole*)) goes.
100
+
101
+ = 引用: 箇条書付き
102
+
103
+ # blockquote
104
+
105
+ 引用中の箇条書き
106
+ * レベル1
107
+
108
+ = 表
109
+
110
+ # RT
111
+ caption = シンプルな表
112
+
113
+ 見出し1, 見出し2
114
+
115
+ 内容1-1, 内容2-1
116
+ 内容1-2, 内容2-2
117
+
118
+ = タイトルのみ
119
+
120
+ = 最後のスライド
121
+
122
+ 新テーマ募集中
123
+
124
+ * 完全性は必要ない
125
+ * 一部未対応の要素有りでもOK
126
+ * 例: 複合リスト未対応
127
+
128
+ テーマのアイディアも募集中
metadata ADDED
@@ -0,0 +1,74 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rabbit-slide-rabbit-theme-benchmark-ja
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Rabbit
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-08-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rabbit
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ! 'Rabbitのテーマを確認するためのスライドです。スライドで使われる要素がた
31
+
32
+ くさん入っているためテーマの確認に便利です。'
33
+ email:
34
+ - lavie@rabbit-shockers.org
35
+ executables: []
36
+ extensions: []
37
+ extra_rdoc_files: []
38
+ files:
39
+ - .rabbit
40
+ - config.yaml
41
+ - Rakefile
42
+ - GPL
43
+ - GFDL
44
+ - README.rd
45
+ - lavie.png
46
+ - theme-benchmark.rab
47
+ homepage: http://slide.rabbit-shockers.org/rabbit/theme-benchmark-ja/
48
+ licenses:
49
+ - GPLv3+
50
+ - GFDL
51
+ - CC BY-SA 3.0
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ requirements: []
69
+ rubyforge_project:
70
+ rubygems_version: 1.8.23
71
+ signing_key:
72
+ specification_version: 3
73
+ summary: テーマベンチ
74
+ test_files: []