~/talk

Building a Ruby Library the Parts No One Talks About

Talkat Aloha RubyConf 2012 · 2012-10-08..10-09· [ruby]
links:none on file
slides:none on file

Argues for concrete practices: follow semantic versioning and use a Gemfile with the pessimistic operator for dependencies; expose configuration as plain Ruby (a central configure block) rather than a DSL; prefer a namespaced logger like log4r over stdlib Logger; wrap errors in a single parent exception with descriptive subclasses (vagrant uses about 150 subclasses); add slow end-to-end acceptance tests (three hours) and run them before release; use Travis CI, keep README/docs with the code and generate API docs with yard.

AI-written summary · about

  1. 0:00Start
  2. 3:09Configurable
  3. 11:39Workflow with Gemfile
  4. 19:09Central Configuration
  5. 20:13Instance Configuration
  6. 22:47Usage: Your API
  7. 26:23Bad: Result
  8. 27:16Single Parent Class
  9. 27:53Descriptive Subclasses
~/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.