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
Criando sua Ruby Gem
Search
luizvarela
May 19, 2014
Programming
63
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Criando sua Ruby Gem
Talk do Ruby Monrnig
luizvarela
May 19, 2014
More Decks by luizvarela
See All by luizvarela
Performance Em Aplicações Rails - Do jeito certo
luizvarela
1
90
Other Decks in Programming
See All in Programming
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
220
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
470
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
iOSDCのペンライトを自動制御したい!
akkeylab
0
330
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
380
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
すこし踏み込む CancellationToken
htkym
2
1.5k
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.2k
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
120
setup-vp GitLab対応の裏側
naokihaba
0
140
カツオ、ご期待ください
suneo3476
0
130
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
A Modern Web Designer's Workflow
chriscoyier
699
190k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Site-Speed That Sticks
csswizardry
13
1.5k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Skip the Path - Find Your Career Trail
mkilby
1
240
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
KATA
mclloyd
PRO
35
16k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
340
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