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
luizvarela
May 19, 2014
Programming
0
60
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
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
2.3k
AtCoder Conference 2025
shindannin
0
970
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
200
Patterns of Patterns
denyspoltorak
0
1k
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
250
Graviton と Nitro と私
maroon1st
0
170
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
180
gunshi
kazupon
1
140
Deno Tunnel を使ってみた話
kamekyame
0
340
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
190
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
180
Featured
See All Featured
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
710
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Designing Experiences People Love
moore
143
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
The Spectacular Lies of Maps
axbom
PRO
1
440
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
520
Faster Mobile Websites
deanohume
310
31k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
42
Producing Creativity
orderedlist
PRO
348
40k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
290
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