rabbit-slide-kou-rubykaigi-2013 2013.6.1.7 → 2013.6.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/config.yaml +3 -3
  3. data/theme.rb +43 -0
  4. metadata +22 -39
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2c42be11d80c134e0422e1957358b663891813f2
4
+ data.tar.gz: 6f427dea23a323051e248a356eca47c9b064fdd8
5
+ SHA512:
6
+ metadata.gz: 6794689637d6d81bb3cf4c46e05b40bf691990789d51f32841fa0007466dc4987304b7882f3cb081a2964ce24a73cae3dd6f1d7d79d569ec4542cf7138e42975
7
+ data.tar.gz: 9f17026aae2bffd62d720d153896c62b1c80464dc0791c8cd020d36727505629644b05be27bc68660f067d421a823f86d7b41efab957ff6caed8d7af47453231
@@ -6,13 +6,13 @@ tags:
6
6
  - rubykaigi
7
7
  - library
8
8
  presentation_date: 2013/06/01
9
- version: 2013.6.1.7
9
+ version: 2013.6.1.9
10
10
  licenses:
11
11
  - CC BY-SA 3.0
12
12
  slideshare_id: rubykaigi-2013
13
13
  speaker_deck_id: be-a-library-developer
14
- ustream_id:
15
- vimeo_id:
14
+ ustream_id: 33615831
15
+ vimeo_id: 69128203
16
16
  author:
17
17
  markup_language: :rd
18
18
  name: Kouhei Sutou
@@ -0,0 +1,43 @@
1
+ # -*- coding: utf-8 -*-
2
+ #
3
+ # Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
4
+ #
5
+ # License: CC BY-SA 3.0
6
+
7
+ @clear_code_font_family = find_font_family("Andika")
8
+
9
+ include_theme("clear-code")
10
+
11
+ match(TitleSlide, Title) do |titles|
12
+ set_font_family(titles, find_font_family("Burnstown Dam"))
13
+ end
14
+
15
+ unless print?
16
+ match(Slide, "**", PreformattedBlock) do |blocks|
17
+ blocks.each do |block|
18
+ next if block.slide["evaluate-code"] != "true"
19
+ name = "render-cairo"
20
+ block.delete_post_draw_proc_by_name(name)
21
+ block.add_pre_draw_proc(name) do |canvas, x, y, w, h, simulation|
22
+ unless simulation
23
+ context = canvas.renderer.instance_variable_get(:@context)
24
+ context.save do
25
+ x_fuzzy = rand / 10
26
+ x_fuzzy *= -1 if rand(2).zero?
27
+ y_fuzzy = rand / 100
28
+ y_fuzzy *= -1 if rand(2).zero?
29
+ context.translate( canvas.width * (0.6 + x_fuzzy),
30
+ -canvas.height * (0.1 + y_fuzzy))
31
+ context.scale(4, 4)
32
+ red = rand
33
+ green = rand
34
+ blue = rand
35
+ context.set_source(red, green, blue)
36
+ eval(block.text)
37
+ end
38
+ end
39
+ [x, y, w, h]
40
+ end
41
+ end
42
+ end
43
+ end
metadata CHANGED
@@ -1,78 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-slide-kou-rubykaigi-2013
3
3
  version: !ruby/object:Gem::Version
4
- version: 2013.6.1.7
5
- prerelease:
4
+ version: 2013.6.1.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kouhei Sutou
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-01 00:00:00.000000000 Z
11
+ date: 2014-01-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rabbit
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 2.0.2
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: 2.0.2
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rabbit-theme-clear-code
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
- description: ! 'Is there a gem author around you? Did you meet any author of the gems
47
-
41
+ description: |-
42
+ Is there a gem author around you? Did you meet any author of the gems
48
43
  used? Did you contact with any author of the gems used on the
49
-
50
44
  Internet?
51
45
 
52
-
53
46
  Do you think that "the author is cool!", "the author is awesome!" or
54
-
55
47
  "I respect the author!"? Do you want to be a gem author?
56
48
 
57
-
58
- This talk doesn''t describe about how to create a gem because it is
59
-
49
+ This talk doesn't describe about how to create a gem because it is
60
50
  easy. "gem" is a package of Ruby library (, tool and so on) for easy
61
-
62
51
  to install. This talk describes about developing a library that is gem
63
-
64
52
  content.
65
53
 
66
-
67
54
  This talk is based on my experience as a library developer. This talk
68
-
69
55
  describes about how to write codes, how to write documents, release,
70
-
71
56
  support and mental set for a better "library developer". I hope that
72
-
73
57
  this talk is a trigger for increasing the number of better "library
74
-
75
- developers".'
58
+ developers".
76
59
  email:
77
60
  - kou@clear-code.com
78
61
  executables: []
@@ -82,43 +65,43 @@ files:
82
65
  - .rabbit
83
66
  - config.yaml
84
67
  - Rakefile
68
+ - theme.rb
85
69
  - README.rd
86
- - library-developer-experience.svg
70
+ - apply-key-idea.svg
71
+ - rubyist-experience.svg
87
72
  - what-experience-to-remember.svg
73
+ - no-remember-experience.svg
74
+ - remember-than-imagine.svg
75
+ - library-developer-experience.svg
88
76
  - remember-is-difficult.svg
89
- - rubyist-experience.svg
77
+ - to-remember.svg
90
78
  - clear-code.svg
91
79
  - what-experience.svg
92
- - remember-than-imagine.svg
93
- - to-remember.svg
94
- - no-remember-experience.svg
95
- - apply-key-idea.svg
96
80
  - to-remember.png
97
81
  - be-a-library-developer.rab
98
82
  - pdf/rubykaigi-2013-be-a-library-developer.pdf
99
83
  homepage: http://slide.rabbit-shocker.org/authors/kou/rubykaigi-2013/
100
84
  licenses:
101
85
  - CC BY-SA 3.0
86
+ metadata: {}
102
87
  post_install_message:
103
88
  rdoc_options: []
104
89
  require_paths:
105
90
  - lib
106
91
  required_ruby_version: !ruby/object:Gem::Requirement
107
- none: false
108
92
  requirements:
109
- - - ! '>='
93
+ - - '>='
110
94
  - !ruby/object:Gem::Version
111
95
  version: '0'
112
96
  required_rubygems_version: !ruby/object:Gem::Requirement
113
- none: false
114
97
  requirements:
115
- - - ! '>='
98
+ - - '>='
116
99
  - !ruby/object:Gem::Version
117
100
  version: '0'
118
101
  requirements: []
119
102
  rubyforge_project:
120
- rubygems_version: 1.8.23
103
+ rubygems_version: 2.0.14
121
104
  signing_key:
122
- specification_version: 3
105
+ specification_version: 4
123
106
  summary: Be a library developer!
124
107
  test_files: []