rabbit-slide-unasuke-omotesandorb-40 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 +1 -0
- data/README.md +22 -0
- data/Rakefile +17 -0
- data/config.yaml +19 -0
- data/img/architecture.png +0 -0
- data/img/bank-bundle-update-issue.png +0 -0
- data/img/bank-github-slack.png +0 -0
- data/img/bank-slack-airbrake.png +0 -0
- data/img/bank-slack-deployed.png +0 -0
- data/img/icon_raw.jpg +0 -0
- data/img/omotesandorb-slack-01.png +0 -0
- data/img/omotesandorb-slack-02.png +0 -0
- data/img/omotesandorb-slack-03.png +0 -0
- data/img/omotesandorb-slack-04.png +0 -0
- data/pdf/omotesandorb-40-slide.pdf +0 -0
- data/slide.md +108 -0
- metadata +73 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8297a45bb6bf8d538183290610a90f9781fb6604c3db81fc355a7ffda743e8d2
|
4
|
+
data.tar.gz: 667970bd570f58625dec9a58d6359ab5cd126c9c68e8a6cef7fa459f044b9849
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 221d61c82936e45af3626d5b830e6657ea1fb8d6534a34cf1e9ad5a5b26f9e749bbe568d41fcc517a4f050d4a7345339e529ada8a70eff880dc14e144a95d4e8
|
7
|
+
data.tar.gz: 8592a149dc46a7ce1898fc12b5b827ce5c9bb8ee60678f5542a9b2fa97e7c1fdd8794970f3ea41844ffd5aaaa34aa76943bcb725958147c06d4f320843391ca0
|
data/.rabbit
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
slide.md
|
data/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# omotesando.rb #40
|
2
|
+
|
3
|
+
## 作者向け
|
4
|
+
|
5
|
+
### 表示
|
6
|
+
|
7
|
+
rake
|
8
|
+
|
9
|
+
### 公開
|
10
|
+
|
11
|
+
rake publish
|
12
|
+
|
13
|
+
## 閲覧者向け
|
14
|
+
|
15
|
+
### インストール
|
16
|
+
|
17
|
+
gem install rabbit-slide-unasuke-omotesandorb-40
|
18
|
+
|
19
|
+
### 表示
|
20
|
+
|
21
|
+
rabbit rabbit-slide-unasuke-omotesandorb-40.gem
|
22
|
+
|
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("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,19 @@
|
|
1
|
+
---
|
2
|
+
id: omotesandorb-40
|
3
|
+
base_name: slide
|
4
|
+
tags: []
|
5
|
+
presentation_date:
|
6
|
+
version: 1.0.0
|
7
|
+
licenses: []
|
8
|
+
slideshare_id:
|
9
|
+
speaker_deck_id:
|
10
|
+
ustream_id:
|
11
|
+
vimeo_id:
|
12
|
+
youtube_id:
|
13
|
+
author:
|
14
|
+
markup_language: :markdown
|
15
|
+
name: unasuke
|
16
|
+
email: yusuke1994525@gmail.com
|
17
|
+
rubygems_user: unasuke
|
18
|
+
slideshare_user:
|
19
|
+
speaker_deck_user:
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/img/icon_raw.jpg
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/slide.md
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
# Rails 5.2.1 ですが何か
|
2
|
+
subtitle
|
3
|
+
: 2018-11-08
|
4
|
+
|
5
|
+
subtitle
|
6
|
+
: 表参道.rb #40
|
7
|
+
|
8
|
+
author
|
9
|
+
: うなすけ
|
10
|
+
|
11
|
+
theme
|
12
|
+
: unasuke-white
|
13
|
+
|
14
|
+
# 自己紹介
|
15
|
+
- 名前 : うなすけ
|
16
|
+
- 所属 : 株式会社バンク (エンジニア)
|
17
|
+
- インフラ寄りサーバーサイドエンジニア
|
18
|
+
- 業界4年目
|
19
|
+
|
20
|
+
- {::tag name="x-small"}GitHub [@unasuke](https://github.com/unasuke){:/tag}
|
21
|
+
- {::tag name="x-small"}Mastodon [@unasuke@mstdn.unasuke.com](https://mstdn.unasuke.com/@unasuke){:/tag}
|
22
|
+
- {::tag name="x-small"}Twitter [@yu\_suke1994](https://twitter.com/yu_suke1994){:/tag}
|
23
|
+
|
24
|
+
![](img/icon_raw.jpg){:relative_width="24" align="right" relative_margin_right="-10" relative_margin_top="42"}
|
25
|
+
|
26
|
+
# 皆さん
|
27
|
+
```diff
|
28
|
+
-gem 'rails', '5.1'
|
29
|
+
+gem 'rails', '~> 5.2.1'
|
30
|
+
```
|
31
|
+
|
32
|
+
{:.center}
|
33
|
+
やってますか?
|
34
|
+
|
35
|
+
# 発端
|
36
|
+
![](img/omotesandorb-slack-01.png){:relative_width="100"}
|
37
|
+
|
38
|
+
# 発端
|
39
|
+
![](img/omotesandorb-slack-02.png){:relative_width="100"}
|
40
|
+
|
41
|
+
# 発端
|
42
|
+
![](img/omotesandorb-slack-03.png){:relative_height="100"}
|
43
|
+
|
44
|
+
# 発端
|
45
|
+
![](img/bank-github-slack.png){:relative_height="100"}
|
46
|
+
|
47
|
+
# 問題発生
|
48
|
+
![](img/omotesandorb-slack-04.png){:relative_width="100"}
|
49
|
+
|
50
|
+
{:.center}
|
51
|
+
{::tag name="x-large"}やばい{:/tag}
|
52
|
+
|
53
|
+
# どうしてこうなったクイズ
|
54
|
+
1. 定期的に `bundle update` をしていたから
|
55
|
+
1. 便利ツールを使ったから
|
56
|
+
1. 社内に `rails/rails` を監視している暇人がいたから
|
57
|
+
|
58
|
+
{:.center}
|
59
|
+
せいかいはどれ?
|
60
|
+
|
61
|
+
# 定期的な `bundle update`
|
62
|
+
![](img/bank-bundle-update-issue.png){:relative_width="100"}
|
63
|
+
|
64
|
+
[https://dependabot.com/](https://dependabot.com/)
|
65
|
+
|
66
|
+
# bundle update tools
|
67
|
+
- [masutaka/circleci-bundle-update-pr](https://github.com/masutaka/circleci-bundle-update-pr)
|
68
|
+
- 内部では結局 `bundle update`
|
69
|
+
- [https://www.deppbot.com/](https://www.deppbot.com/)
|
70
|
+
- なぜか `Gemfile` を認識せず
|
71
|
+
- [https://dependabot.com/](https://dependabot.com/)
|
72
|
+
- CVE 出たら即座に上げてくれたりと便利
|
73
|
+
- 人力 cron (一時期やってた)
|
74
|
+
|
75
|
+
# 便利ツール
|
76
|
+
- [Ruby on Rails 5.2 リリースノート \| Rails ガイド](https://railsguides.jp/5_2_release_notes.html)
|
77
|
+
- 便利っていうか必読
|
78
|
+
- [http://railsdiff.org/](http://railsdiff.org/)
|
79
|
+
- 各バージョンでの `rails new` のdiffが見れる
|
80
|
+
|
81
|
+
# ところで 5.1 → 5.2
|
82
|
+
- ActiveStorage
|
83
|
+
- Redis Cache Store
|
84
|
+
- HTTP/2 Early Hints
|
85
|
+
- Credential
|
86
|
+
- CSP
|
87
|
+
|
88
|
+
何ひとつ使用してませんが……
|
89
|
+
|
90
|
+
# なんやかんやで
|
91
|
+
![](img/bank-slack-deployed.png){:relative_width="100"}
|
92
|
+
|
93
|
+
update 成功 🎉🎉🎉🎉
|
94
|
+
|
95
|
+
# アクシデントは、あった
|
96
|
+
![](img/bank-slack-airbrake.png){:relative_width="100"}
|
97
|
+
|
98
|
+
private api を使っていた……
|
99
|
+
|
100
|
+
※ `:nodoc:` がついてたら private api です
|
101
|
+
|
102
|
+
# 大事なこと
|
103
|
+
- 新機能の開発に追われてても基盤改善の時間は確保する
|
104
|
+
- 確保するというか、草の根的にやる
|
105
|
+
- 次第に任されるようになる
|
106
|
+
- いつも手元に git clone rails
|
107
|
+
- GitHubにアクセスするより速い
|
108
|
+
- private api を使わない
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rabbit-slide-unasuke-omotesandorb-40
|
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: 2018-11-08 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: ''
|
28
|
+
email:
|
29
|
+
- yusuke1994525@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".rabbit"
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- config.yaml
|
38
|
+
- img/architecture.png
|
39
|
+
- img/bank-bundle-update-issue.png
|
40
|
+
- img/bank-github-slack.png
|
41
|
+
- img/bank-slack-airbrake.png
|
42
|
+
- img/bank-slack-deployed.png
|
43
|
+
- img/icon_raw.jpg
|
44
|
+
- img/omotesandorb-slack-01.png
|
45
|
+
- img/omotesandorb-slack-02.png
|
46
|
+
- img/omotesandorb-slack-03.png
|
47
|
+
- img/omotesandorb-slack-04.png
|
48
|
+
- pdf/omotesandorb-40-slide.pdf
|
49
|
+
- slide.md
|
50
|
+
homepage: http://slide.rabbit-shocker.org/authors/unasuke/omotesandorb-40/
|
51
|
+
licenses: []
|
52
|
+
metadata: {}
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
requirements: []
|
68
|
+
rubyforge_project:
|
69
|
+
rubygems_version: 2.7.6
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: 'omotesando.rb #40'
|
73
|
+
test_files: []
|