rabbit-slide-kou-debian-gum-2012 2012.06.23.1 → 2012.06.23.2
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.
- data/Rakefile +2 -60
- data/config.yaml +12 -5
- data/pdf/debian-gum-2012-rabbit.pdf +0 -0
- metadata +6 -5
data/Rakefile
CHANGED
@@ -13,65 +13,7 @@
|
|
13
13
|
# You should have received a copy of the GNU General Public License
|
14
14
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
15
15
|
|
16
|
-
require "
|
17
|
-
require "yaml"
|
18
|
-
require "rabbit/task"
|
16
|
+
require "rabbit/task/slide"
|
19
17
|
|
20
|
-
|
21
|
-
|
22
|
-
slide_id = config["id"]
|
23
|
-
tags = config["tags"]
|
24
|
-
base_name = config["base_name"]
|
25
|
-
pdf_base_path = "#{base_name}.pdf"
|
26
|
-
|
27
|
-
version = nil
|
28
|
-
presentation_date = config["presentation_date"]
|
29
|
-
if presentation_date
|
30
|
-
begin
|
31
|
-
parsed_presentation_date = Time.parse(presentation_date)
|
32
|
-
version = parsed_presentation_date.strftime("%Y.%m.%d")
|
33
|
-
rescue ArgumentError
|
34
|
-
end
|
35
|
-
end
|
36
|
-
version ||= "1.0.0"
|
37
|
-
|
38
|
-
author = config["author"]
|
39
|
-
email = config["email"]
|
40
|
-
rubygems_user = config["rubygems_user"]
|
41
|
-
slideshare_user = config["slideshare_user"]
|
42
|
-
speaker_deck_user = config["speaker_deck_user"]
|
43
|
-
|
44
|
-
readme = File.read(Dir.glob("README*")[0])
|
45
|
-
|
46
|
-
readme_blocks = readme.split(/(?:\r?\n){2,}/)
|
47
|
-
summary = (readme_blocks[0] || "TODO").gsub(/\A(?:[=*!]+|h\d\.) */, "")
|
48
|
-
description = readme_blocks[1] || "TODO"
|
49
|
-
|
50
|
-
specification = Gem::Specification.new do |spec|
|
51
|
-
prefix = "rabbit-slide"
|
52
|
-
spec.name = "#{prefix}-#{rubygems_user}-#{slide_id}"
|
53
|
-
spec.version = "#{version}.1"
|
54
|
-
spec.homepage = "http://slide.rabbit-shockers.org/#{rubygems_user}/#{slide_id}/"
|
55
|
-
spec.authors = [author]
|
56
|
-
spec.email = [email]
|
57
|
-
spec.summary = summary
|
58
|
-
spec.description = description
|
59
|
-
spec.licenses = ["GPLv3+", "Ruby's or GPLv2+", "Debian Open Use Logo License"]
|
60
|
-
|
61
|
-
spec.files = [".rabbit", "config.yaml", "Rakefile"]
|
62
|
-
spec.files += Dir.glob("{COPYING,GPL,README*}")
|
63
|
-
spec.files += Dir.glob("rabbit/**/*.*")
|
64
|
-
spec.files += Dir.glob("**/*.{svg,png,jpg,jpeg,gif,eps,pdf}")
|
65
|
-
spec.files += Dir.glob("*.{rd,rab,hiki,md,pdf}")
|
66
|
-
spec.files -= Dir.glob("{pkg,pdf}/**/*.*")
|
67
|
-
|
68
|
-
spec.add_runtime_dependency("rabbit")
|
69
|
-
end
|
70
|
-
|
71
|
-
Rabbit::Task::Slide.new(specification) do |task|
|
72
|
-
task.rubygems_user = rubygems_user
|
73
|
-
task.slideshare_user = slideshare_user
|
74
|
-
task.speaker_deck_user = speaker_deck_user
|
75
|
-
task.pdf_base_path = pdf_base_path
|
76
|
-
task.tags = tags
|
18
|
+
Rabbit::Task::Slide.new do |task|
|
77
19
|
end
|
data/config.yaml
CHANGED
@@ -4,9 +4,16 @@ tags:
|
|
4
4
|
- rabbit
|
5
5
|
- debian
|
6
6
|
base_name: rabbit
|
7
|
-
author: Kouhei Sutou
|
8
7
|
presentation_date: 2012/06/23
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
version: 2012.06.23.2
|
9
|
+
licenses:
|
10
|
+
- "GPLv3+"
|
11
|
+
- "Ruby's or GPLv2+"
|
12
|
+
- "Debian Open Use Logo License"
|
13
|
+
slideshare_id: rabbit-14073776
|
14
|
+
author:
|
15
|
+
name: Kouhei Sutou
|
16
|
+
email: kou@cozmixng.org
|
17
|
+
rubygems_user: kou
|
18
|
+
slideshare_user: kou
|
19
|
+
speaker_deck_user:
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit-slide-kou-debian-gum-2012
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2012.06.23.
|
4
|
+
version: 2012.06.23.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rabbit
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
21
|
+
version: 2.0.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 2.0.2
|
30
30
|
description: ! '2012年6月23日に行われた大統一Debian勉強会でRabbitを紹介したスライドです。
|
31
31
|
|
32
32
|
Rabbitの特徴であるプレゼンを時間内に終わることを支援する機能を中心に紹
|
@@ -54,7 +54,8 @@ files:
|
|
54
54
|
- rabbit-timer-screenshot.png
|
55
55
|
- rabbit.rab
|
56
56
|
- rabbit-more.rab
|
57
|
-
|
57
|
+
- pdf/debian-gum-2012-rabbit.pdf
|
58
|
+
homepage: http://slide.rabbit-shocker.org/authors/kou/debian-gum-2012/
|
58
59
|
licenses:
|
59
60
|
- GPLv3+
|
60
61
|
- Ruby's or GPLv2+
|