rabbit-slide-unasuke-techfeed-conference-2022 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rabbit +2 -0
- data/README.rd +24 -0
- data/Rakefile +17 -0
- data/config.yaml +24 -0
- data/img/bg.png +0 -0
- data/img/hash_shorthand_syntax.png +0 -0
- data/img/icon.jpg +0 -0
- data/img/irb_auto_completion.png +0 -0
- data/img/title_bg.png +0 -0
- data/pdf/techfeed-conference-2022-slide.pdf +0 -0
- data/slide.rab +138 -0
- data/theme.rb +113 -0
- metadata +69 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2742ef97ffeb521edeb06bad9861a07e34ff33c50f8ff067cf5299d21119d5f6
|
4
|
+
data.tar.gz: fa1c33d57816059e3d3d60212db8d3f63826444d634ca187d5196fc91c2a0249
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: cce7c1bd6c023735e90e826ee9edfc575391bb22fac1dd357cc9cb0e3cce7f4382ac5fe3b01b5af88066e6a5a68b4cf7fd4669dfb7906af1323a8e58e5bd02f4
|
7
|
+
data.tar.gz: 7372eefd044118d193ac68539d2d6ba2ecd90d2ec5686f174d63206d4907194a12154d1161ab3465c382015b5d40283c75da6229776d0effac563731f295cb10
|
data/.rabbit
ADDED
data/README.rd
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
= Ruby 最新動向
|
2
|
+
|
3
|
+
https://techfeed.io/events/techfeed-conference-2022#ruby-trend
|
4
|
+
|
5
|
+
== 作者向け
|
6
|
+
|
7
|
+
=== 表示
|
8
|
+
|
9
|
+
rake
|
10
|
+
|
11
|
+
=== 公開
|
12
|
+
|
13
|
+
rake publish
|
14
|
+
|
15
|
+
== 閲覧者向け
|
16
|
+
|
17
|
+
=== インストール
|
18
|
+
|
19
|
+
gem install rabbit-slide-unasuke-techfeed-conference-2022
|
20
|
+
|
21
|
+
=== 表示
|
22
|
+
|
23
|
+
rabbit rabbit-slide-unasuke-techfeed-conference-2022.gem
|
24
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require "rabbit/task/slide"
|
2
|
+
|
3
|
+
# Edit ./config.yaml to customize meta data
|
4
|
+
|
5
|
+
spec = nil
|
6
|
+
Rabbit::Task::Slide.new do |task|
|
7
|
+
spec = task.spec
|
8
|
+
# spec.files += Dir.glob("doc/**/*.*")
|
9
|
+
# spec.files -= Dir.glob("private/**/*.*")
|
10
|
+
# spec.add_runtime_dependency("rabbit-theme-YOUR-THEME")
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "Tag #{spec.version}"
|
14
|
+
task :tag do
|
15
|
+
sh("git", "tag", "-a", spec.version.to_s, "-m", "Publish #{spec.version}")
|
16
|
+
sh("git", "push", "--tags")
|
17
|
+
end
|
data/config.yaml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
id: techfeed-conference-2022
|
3
|
+
base_name: slide
|
4
|
+
tags:
|
5
|
+
- ruby
|
6
|
+
presentation_date: 2021-05-14
|
7
|
+
presentation_start_time:
|
8
|
+
presentation_end_time:
|
9
|
+
version: 1.0.0
|
10
|
+
licenses: ['MIT']
|
11
|
+
slideshare_id:
|
12
|
+
speaker_deck_id:
|
13
|
+
vimeo_id:
|
14
|
+
youtube_id:
|
15
|
+
width: 1920
|
16
|
+
height: 1080
|
17
|
+
author:
|
18
|
+
markup_language: :rd
|
19
|
+
name: unasuke
|
20
|
+
email: yusuke1994525@gmail.com
|
21
|
+
rubygems_user: unasuke
|
22
|
+
slideshare_user:
|
23
|
+
speaker_deck_user:
|
24
|
+
source_code_url: https://github.com/unasuke/techfeed-conference-2022
|
data/img/bg.png
ADDED
Binary file
|
Binary file
|
data/img/icon.jpg
ADDED
Binary file
|
Binary file
|
data/img/title_bg.png
ADDED
Binary file
|
Binary file
|
data/slide.rab
ADDED
@@ -0,0 +1,138 @@
|
|
1
|
+
= Ruby 最新動向
|
2
|
+
|
3
|
+
# : subtitle
|
4
|
+
# サブタイトル
|
5
|
+
: author
|
6
|
+
unasuke
|
7
|
+
# : institution
|
8
|
+
# 所属
|
9
|
+
: content-source
|
10
|
+
TechFeed Conference 2022
|
11
|
+
: date
|
12
|
+
2022-05-14
|
13
|
+
# : allotted-time
|
14
|
+
# 5m
|
15
|
+
# : start-time
|
16
|
+
# 2022-05-11T21:42:02+09:00
|
17
|
+
# : end-time
|
18
|
+
# 2022-05-11T21:47:02+09:00
|
19
|
+
: theme
|
20
|
+
theme
|
21
|
+
|
22
|
+
= 自己紹介
|
23
|
+
|
24
|
+
* Name: うなすけ
|
25
|
+
* Work: フリーランス
|
26
|
+
* Ruby歴: 7年くらい
|
27
|
+
* Kaigi on Rails オーガナイザー
|
28
|
+
* (('tag:x-small')) GitHub ((<URL:https://github.com/unasuke>))
|
29
|
+
* (('tag:x-small')) TechFeed ((<URL:https://techfeed.io/people/@unasuke>))
|
30
|
+
* (('tag:x-small')) Twitter ((<URL:https://twitter.com/yu_suke1994>))
|
31
|
+
|
32
|
+
# image
|
33
|
+
# src = img/icon.jpg
|
34
|
+
# relative_width = 24
|
35
|
+
# align = right
|
36
|
+
# relative_margin_right = -8
|
37
|
+
# relative_margin_top = 20
|
38
|
+
|
39
|
+
= コンテンツ
|
40
|
+
|
41
|
+
最新動向の前に一旦これまでをおさらいしましょう
|
42
|
+
\n\n
|
43
|
+
|
44
|
+
* 2.7から3.0での変更
|
45
|
+
* 3.0から3.1での変更
|
46
|
+
* 最新動向
|
47
|
+
|
48
|
+
= 2.7から3.0での変更
|
49
|
+
* 2.0と比較して実行速度がおよそ3倍に
|
50
|
+
* Ractorという新しい並列処理の仕組みの導入
|
51
|
+
* 型注釈の導入
|
52
|
+
* キーワード引数の分離
|
53
|
+
|
54
|
+
\n\n
|
55
|
+
(('tag:x-small'))((<URL:https://www.ruby-lang.org/ja/news/2020/12/25/ruby-3-0-0-released/>))
|
56
|
+
|
57
|
+
= 3.0から3.1での変更
|
58
|
+
|
59
|
+
* YJITの導入
|
60
|
+
* Railsによく効く Shopifyによる開発
|
61
|
+
* debug.gem
|
62
|
+
* 新しく書き直されたデバッガ IDEサポートなどの新機能
|
63
|
+
* IRBのオートコンプリート
|
64
|
+
* JavaScript like Hash shorthand syntax
|
65
|
+
|
66
|
+
\n\n
|
67
|
+
(('tag:x-small'))((<URL:https://www.ruby-lang.org/ja/news/2021/12/25/ruby-3-1-0-released/>))
|
68
|
+
|
69
|
+
= IRBのオートコンプリート
|
70
|
+
# image
|
71
|
+
# src = img/irb_auto_completion.png
|
72
|
+
# relative_width = 95
|
73
|
+
|
74
|
+
= JavaScript like Hash shorthand syntax
|
75
|
+
# image
|
76
|
+
# src = img/hash_shorthand_syntax.png
|
77
|
+
# relative_width = 85
|
78
|
+
|
79
|
+
= 最新動向
|
80
|
+
* Rustとの関係性
|
81
|
+
* WebAssembly
|
82
|
+
* 型
|
83
|
+
|
84
|
+
= 最新動向 : Rustとの関係性
|
85
|
+
* YJITがC言語からRustに書き直された
|
86
|
+
* ((<URL:https://shopify.engineering/porting-yjit-ruby-compiler-to-rust>))
|
87
|
+
* 拡張ライブラリをRustで書けるようになった
|
88
|
+
* ((<URL:https://github.com/rubygems/rubygems/pull/5175>))
|
89
|
+
|
90
|
+
= 最新動向 : WebAssembly
|
91
|
+
|
92
|
+
CRubyのplatformとしてWASIを対象にすることが可能に、これによりブラウザ上でCRubyのコードが動くようになった
|
93
|
+
(2022年1月)
|
94
|
+
\n
|
95
|
+
|
96
|
+
* ((<URL:https://github.com/ruby/ruby/pull/5407>))
|
97
|
+
* ((<URL:https://bugs.ruby-lang.org/issues/18462>))
|
98
|
+
* ここで試せます
|
99
|
+
* ((<URL:https://try.ruby-lang.org/playground/>))
|
100
|
+
* ((<URL:https://rubyonbrowser.ongaeshi.me/>))
|
101
|
+
|
102
|
+
= 最新動向 : 型
|
103
|
+
\n\n
|
104
|
+
(('tag:center'))(('tag:xx-large')) 絶賛開発中
|
105
|
+
|
106
|
+
\n\n\n
|
107
|
+
|
108
|
+
(('tag:x-small'))((<URL:https://speakerdeck.com/pocke/rbs-and-rails-present-and-future>))
|
109
|
+
\n
|
110
|
+
|
111
|
+
POROならうまくいく、Railsくらい大きなものはまだ課題が多い
|
112
|
+
|
113
|
+
= まとめ
|
114
|
+
* Rustとの関係性ができた
|
115
|
+
* WebAssemblyで広がるRubyの活躍の場
|
116
|
+
* 型はみんなで整備していこう
|
117
|
+
|
118
|
+
\n\n\n
|
119
|
+
|
120
|
+
Thanks!
|
121
|
+
|
122
|
+
= 参考リンク集 (1)
|
123
|
+
|
124
|
+
* ((<URL:https://www.ruby-lang.org/ja/news/2020/12/25/ruby-3-0-0-released/>))
|
125
|
+
* ((<URL:https://www.ruby-lang.org/ja/news/2021/12/25/ruby-3-1-0-released/>))
|
126
|
+
* ((<URL:http://www.atdot.net/~ko1/activities/2021_10_ginzarails.pdf>))
|
127
|
+
* ((<URL:https://www.ruby-lang.org/ja/news/2022/04/03/ruby-3-2-0-preview1-released/>))
|
128
|
+
* ((<URL:https://bugs.ruby-lang.org/issues/14579>))
|
129
|
+
|
130
|
+
|
131
|
+
= 参考リンク集 (2)
|
132
|
+
* ((<URL:https://shopify.engineering/porting-yjit-ruby-compiler-to-rust>))
|
133
|
+
* ((<URL:https://github.com/rubygems/rubygems/pull/5175>))
|
134
|
+
* ((<URL:https://briankung.dev/2022/01/31/sneak-preview-writing-ruby-gem-native-extensions-in-rust/>))
|
135
|
+
* ((<URL:https://github.com/ruby/ruby/pull/5407>))
|
136
|
+
* ((<URL:https://bugs.ruby-lang.org/issues/18462>))
|
137
|
+
* ((<URL:https://www.ruby.or.jp/ja/news/20211025>))
|
138
|
+
* ((<URL:https://speakerdeck.com/pocke/rbs-and-rails-present-and-future>))
|
data/theme.rb
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
@default_foreground ||= @foreground
|
2
|
+
@default_background ||= @background
|
3
|
+
@default_shadow_color ||= @shadow_color
|
4
|
+
|
5
|
+
# pp font_families
|
6
|
+
font_color = '#333'
|
7
|
+
@default_font = 'BIZ UDPGothic'
|
8
|
+
@font_family = find_font_family(@default_font)
|
9
|
+
@bold_font = @default_font
|
10
|
+
@bold_font_family = find_font_family(@bold_font)
|
11
|
+
@monospace_font = 'Cica'
|
12
|
+
@monospace_font_family = find_font_family(@monospace_font)
|
13
|
+
|
14
|
+
@xxxx_large_font_size = screen_size(10 * Pango::SCALE)
|
15
|
+
@xxx_large_font_size = screen_size(8 * Pango::SCALE)
|
16
|
+
@xx_large_font_size = screen_size(6 * Pango::SCALE)
|
17
|
+
@x_large_font_size = screen_size(4.5 * Pango::SCALE)
|
18
|
+
@large_font_size = screen_size(4 * Pango::SCALE)
|
19
|
+
@normal_font_size = screen_size(3.5 * Pango::SCALE)
|
20
|
+
@small_font_size = screen_size(3.2 * Pango::SCALE)
|
21
|
+
@x_small_font_size = screen_size(3 * Pango::SCALE)
|
22
|
+
@xx_small_font_size = screen_size(2.8 * Pango::SCALE)
|
23
|
+
@xxx_small_font_size = screen_size(2.5 * Pango::SCALE)
|
24
|
+
@script_font_size = @x_small_font_size
|
25
|
+
@large_script_font_size = @small_font_size
|
26
|
+
@x_large_script_font_size = @large_font_size
|
27
|
+
@title_slide_title_font_size = @xxx_large_font_size
|
28
|
+
|
29
|
+
@block_quote_fill_color = "#f8f8f8"
|
30
|
+
@preformatted_fill_color = "#f8f8f8"
|
31
|
+
@default_headline_line_color = font_color
|
32
|
+
|
33
|
+
@title_slide_background_image = 'img/title_bg.png'
|
34
|
+
@slide_background_image = 'img/bg.png'
|
35
|
+
|
36
|
+
# set_foreground(@default_foreground)
|
37
|
+
# set_background(@default_background)
|
38
|
+
|
39
|
+
add_image_path("ruby-images")
|
40
|
+
include_theme("default-icon")
|
41
|
+
# include_theme("default-title-text")
|
42
|
+
include_theme("default-text")
|
43
|
+
include_theme("default-title-slide")
|
44
|
+
include_theme("default-slide")
|
45
|
+
include_theme("default-item-mark")
|
46
|
+
include_theme("default-method-list")
|
47
|
+
include_theme("default-preformatted")
|
48
|
+
include_theme("default-block-quote")
|
49
|
+
include_theme("default-foot-text")
|
50
|
+
include_theme("default-description")
|
51
|
+
include_theme("image")
|
52
|
+
include_theme("table")
|
53
|
+
include_theme("newline-in-slides")
|
54
|
+
include_theme("per-slide-background-color")
|
55
|
+
include_theme("background-image-toolkit")
|
56
|
+
include_theme("per-slide-background-image")
|
57
|
+
include_theme("body-background-image")
|
58
|
+
include_theme("tag")
|
59
|
+
include_theme("syntax-highlighting")
|
60
|
+
include_theme("default-comment")
|
61
|
+
|
62
|
+
include_theme("title-slide-background-image")
|
63
|
+
include_theme("slide-background-image")
|
64
|
+
|
65
|
+
match(TitleSlide, "*") do |elems|
|
66
|
+
elems.horizontal_centering = true
|
67
|
+
elems.prop_set("size", @large_font_size)
|
68
|
+
set_font_family(elems)
|
69
|
+
end
|
70
|
+
|
71
|
+
match(TitleSlide, Title) do |titles|
|
72
|
+
titles.prop_set("size", @title_slide_title_font_size)
|
73
|
+
titles.padding_bottom = @space * 2
|
74
|
+
titles.prop_set("weight", "SemiBold")
|
75
|
+
end
|
76
|
+
|
77
|
+
match(Slide, HeadLine) do |heads|
|
78
|
+
heads.prop_set("size", @large_font_size)
|
79
|
+
heads.prop_set("weight", "bold")
|
80
|
+
end
|
81
|
+
|
82
|
+
match(TitleSlide) do |slides|
|
83
|
+
# slides.margin_left = 900
|
84
|
+
slides.vertical_centering = true
|
85
|
+
slides.prop_set "foreground", font_color
|
86
|
+
slides.prop_set("weight", "bold")
|
87
|
+
end
|
88
|
+
match(TitleSlide, Subtitle) do |subtitle|
|
89
|
+
subtitle.margin_top = -20
|
90
|
+
subtitle.prop_set("size", @large_font_size)
|
91
|
+
end
|
92
|
+
match(TitleSlide, Author) do |author|
|
93
|
+
author.margin_top = 50
|
94
|
+
author.prop_set("size", @large_font_size)
|
95
|
+
author.prop_set("weight", "normal")
|
96
|
+
end
|
97
|
+
match(TitleSlide, Place) do |place|
|
98
|
+
place.prop_set("size", @small_font_size)
|
99
|
+
end
|
100
|
+
match(TitleSlide, "*") do |elems|
|
101
|
+
elems.horizontal_centering = true
|
102
|
+
end
|
103
|
+
|
104
|
+
match(TitleSlide, Date) do |dates|
|
105
|
+
dates.prop_set("size", @small_font_size)
|
106
|
+
# dates.prop_set("style", "italic")
|
107
|
+
end
|
108
|
+
|
109
|
+
match(TitleSlide, ContentSource) do |sources|
|
110
|
+
sources.prop_set("size", @small_font_size)
|
111
|
+
sources.margin_bottom = @space
|
112
|
+
# sources.prop_set("style", "italic")
|
113
|
+
end
|
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rabbit-slide-unasuke-techfeed-conference-2022
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- unasuke
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-05-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rabbit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.0.2
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.0.2
|
27
|
+
description: https://techfeed.io/events/techfeed-conference-2022#ruby-trend
|
28
|
+
email:
|
29
|
+
- yusuke1994525@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rabbit"
|
35
|
+
- README.rd
|
36
|
+
- Rakefile
|
37
|
+
- config.yaml
|
38
|
+
- img/bg.png
|
39
|
+
- img/hash_shorthand_syntax.png
|
40
|
+
- img/icon.jpg
|
41
|
+
- img/irb_auto_completion.png
|
42
|
+
- img/title_bg.png
|
43
|
+
- pdf/techfeed-conference-2022-slide.pdf
|
44
|
+
- slide.rab
|
45
|
+
- theme.rb
|
46
|
+
homepage: https://slide.rabbit-shocker.org/authors/unasuke/techfeed-conference-2022/
|
47
|
+
licenses:
|
48
|
+
- MIT
|
49
|
+
metadata: {}
|
50
|
+
post_install_message:
|
51
|
+
rdoc_options: []
|
52
|
+
require_paths:
|
53
|
+
- lib
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '0'
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
requirements: []
|
65
|
+
rubygems_version: 3.3.13
|
66
|
+
signing_key:
|
67
|
+
specification_version: 4
|
68
|
+
summary: Ruby 最新動向
|
69
|
+
test_files: []
|