Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
これまで細々と作成したGemの紹介をします - Kashiwa.rb #9
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Koji NAKAMURA
March 16, 2025
Technology
320
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
これまで細々と作成したGemの紹介をします - Kashiwa.rb #9
https://kashiwarb.connpass.com/event/347810/
の LT 資料です
Koji NAKAMURA
March 16, 2025
More Decks by Koji NAKAMURA
See All by Koji NAKAMURA
lldbを使ってCRubyの中を覗く
kozy4324
0
26
Lightning近況報告
kozy4324
0
350
龍昌餃子で理解するWebサーバーの並行処理モデル - 東葛.dev #9
kozy4324
1
390
Rubyで作る論理回路シミュレータの設計の話 - Kashiwa.rb #12
kozy4324
1
640
Rubyで作る論理回路シミュレータ - Shinjuku.rb #99
kozy4324
0
130
Steep導入したいRTA - Kashiwa.rb #11
kozy4324
0
250
東京Ruby会議12のお手伝いしてきた話
kozy4324
0
150
個人開発発表 LT - Shinjuku.rb #97
kozy4324
0
960
Ruby界隈を中心に2024をふりかえる - Kashiwa.rb #6
kozy4324
0
270
Other Decks in Technology
See All in Technology
Agent 活用環境の構築・運用のための AWS サービスのご紹介/agentcore-for-building-and-operating-agents
ren8k
1
310
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
550
WireGuard for Apache NuttX - Bringing Secure Remote Access to embedded Devices -
aki310ooooo
0
120
Copilot Coworkで「みのるん式」やってみた
minorun365
PRO
1
720
外国人エンジニアがVueプロトタイプで仕様を合わせている話 / Vue Fes Japan 2026 LT
eluwing
0
370
Patterns in AI Driven Software Development
akosma
PRO
0
430
AIテスト自動化と評価駆動開発EDD
happysamurai294
0
130
ALBのLCU予約とトラフィックの波によるプロダクト理解 / Understanding ALB LCU and Traffic Spikes
mito201
1
130
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
2.7k
リアクションエンジニア ― 小さなリアクションから、話しかけやすい組織をつくる ―
ryuguyana
1
100
これだけは抑えておきたい!後悔しない re:Invent の過ごし方 / AWS re:Invent 2026 prestudy
kinunori
2
650
Systems Manager AgentがインストールされたPCを紛失した時の対策を考えてみた
amarelo_n24
1
110
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Unsuck your backbone
ammeep
672
58k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
59k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
970
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Ruling the World: When Life Gets Gamed
codingconduct
0
430
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
610
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
600
It's Worth the Effort
3n
188
29k
Transcript
これまで細々と作成した Gemの紹介をします 2025.3.17 Kashiwa.rb #9 Koji NAKAMURA (@kozy4324)
Koji NAKAMURA • 𝕏: @kozy4324 • GitHub:@kozy4324 • Classi株式会社所属 •
Kashiwa.rb主催 自己紹介
今日紹介する Gem • httpspec_simple • cap_cap • ruby-lsp-rake • logicuit
httpspec_simple
httpspec_simple • RSpec の Extension として作った • 指定した URL のリクエストに対して、レスポンスコードとかレ
スポンスボディに含まれている文字列のチェックを RSpec で 宣言的にテストしたくて作った
httpspec_simple
httpspec_simple • 最終コミット日付「11 years ago…」 • きっと今の RSpec では動かない(未確認) •
「RSpec の内部 DSL で宣言的にテスト記述できるのは面白 いなぁ」と当時は思いながら作ってみた
cap_cap
cap_cap • (Cap)ture web pages by using (Cap)ybara and Poltergeist.
• Poltergeist なつい... • CLI でヘッドレスブラウザを利用して Web ページのレンダリン グ結果をキャプチャしてくれる君
cap_cap • 最終コミット日付「7 years ago…」 • 動くとは思えない • 昨今であればブラウザにヘッドレスモードあるし、DevTools Protocol
とか使えばいい • ちょっとした CLI ツールを Gem として作って配布するの面白 いよねっていうのがアイデアでした
ruby-lsp-rake
ruby-lsp-rake • Ruby LSP の Add-on • Rake の DSL
を解決してくれる君 • Ruby LSP と仲良くなりたくて作った
ruby-lsp-rake
ruby-lsp-rake • すでにある何かの plugin や add-on や extension を作るの は敷居が高くなくてオススメ
◦ httpspec_simple もそうだった • あとエディタや開発体験 (DX) に関連したプロダクトだとドッグ フーディングしやすい
logicuit
logicuit • logi(c cir)cuit -> logicuit • 電気回路シミュレータ • 書籍「CPUの創りかた」を理解したくて作っている
• https://www.amazon.co.jp/dp/4839909865/
logicuit
logicuit • 「電気回路」というドメインに対して内部 DSL を作ってみたく なったというチャレンジも含む
https://x.com/kozy4324/status/1901168933035798977
まとめ • plugin や add-on や extension を Gem で作ろう
• ちょっとした CLI ツールを Gem で作ろう • Ruby の内部 DSL を Gem で作ろう