~/talk

How to Make a Gem of a Gem

Talkat RubyConf 2021 · 2021-11-08..11-10· [ruby]
slides:none on file

Forty‑one personal gems exist, and the workflow shows how to scaffold with bundle gem, run tests and lint, then ship via rake release (versions start at 0.0.1). Concrete tradeoffs: a naive Nokogiri import takes 12+ minutes, a streaming SAX parser in a new gem drops it to ~9 seconds. Lessons include keeping interfaces small (cypress_rails vs jasmine_rails), avoiding endless configurability, and building maintainable replacements like standard and mocktail that actually have tests and thread fixes.

AI-written summary · about

  1. 0:00Start
  2. 6:42Plumbing
  3. 7:59Coding
  4. 9:04Behold your awesome power
  5. 10:07Hard to focus in a crowded codebase?
  6. 16:23$ bundle gem standard
  7. 17:32Don't let your priors color your thinking
  8. 26:22Breaking news!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.