Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Criando sua Ruby Gem
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
luizvarela
May 19, 2014
Programming
0
61
Criando sua Ruby Gem
Talk do Ruby Monrnig
luizvarela
May 19, 2014
Tweet
Share
More Decks by luizvarela
See All by luizvarela
Performance Em Aplicações Rails - Do jeito certo
luizvarela
1
78
Other Decks in Programming
See All in Programming
CSC307 Lecture 07
javiergs
PRO
0
550
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
450
SourceGeneratorのススメ
htkym
0
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
250
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Oxlint JS plugins
kazupon
1
810
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
340
Data-Centric Kaggle
isax1015
2
770
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
「ブロックテーマでは再現できない」は本当か?
inc2734
0
780
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
Bash Introduction
62gerente
615
210k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
How to Ace a Technical Interview
jacobian
281
24k
[SF Ruby Conf 2025] Rails X
palkan
1
740
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
Optimizing for Happiness
mojombo
379
71k
Transcript
Criando sua própria Ruby Gem luizvarela
O que são Ruby Gems? • Código Ruby encapsulado; •
Wrapper para bibliotecas em C; • Gerenciadas via Bundler;
• O mesmo código é usado em vários projetos; •
Evita reescrever código; • Participação da comunidade Open-Source. ◦ Criação de novas features; ◦ Bug fixes; Por que usar Gems?
• Code • Gem specification • Tests • Documentation O
que uma Gem deve incluir
Ferramentas que vamos utilizar MiniTest
Construindo nossa Gem
Let’s Code!! <3
Construindo nossa Gem
Construindo nossa Gem
Construindo nossa Gem
Construindo nossa Gem
Construindo nossa Gem
Construindo nossa Gem
Construindo nossa Gem
Esc Escrevendo testes
Escrevendo testes
Escrevendo Testes
Escrevendo Testes
Implementando o Bob
Escrevendo Testes
Escrevendo uma Rake Task
Rake Task
Pry
Pry
Travis CI / Codeclimate
Travis CI
Codeclimate
Publicando nossa Gem
• https://rubygems.org/ • http://bundler.io/ • http://pryrepl.org/ • http://exercism.io/ • http://docs.travis-ci.com/
• https://codeclimate.com/ Recursos Adicionais