• 2011: Ryan Fitzgerald (@rrff__) and I joined in • 2012: reached 1,000,000 downloads – Kyrylo Silin (@kyrylosilin) and rking (@sharpsawDOTorg) started contribuFng • 2013: reached 2,000,000 downloads – 71 disFnct contributors
? Base64.strict_encode64 From: ~/ruby-1.9.3/lib/ruby/base64.rb Owner: #<Class:Base64> Visibility: public Signature: strict_encode64(bin) Returns the Base64-encoded version of bin. This method complies with RFC 4648. No line feeds are added.
? Base64.encode64 From: ~/ruby-1.9.3/lib/ruby/base64.rb Owner: #<Class:Base64> Visibility: public Signature: encode64(bin) Returns the Base64-encoded version of bin. This method complies with RFC 2045. Line feeds are added every 60 characters.
From: ~/basic_auth.rb Owner: #<Class:BasicAuth> Visibility: public Number of lines: 4 def self.decode(header) base64 = header[/Basic (.*)/, 1] Base64.decode64 base64.split(“:”) end
safe_title From: post.rb @ line 7: Number of lines: 3 Owner: Post Visibility: public def safe_title make_safe @params[:title] end [5] pry(#<Post>):1> @params
safe_title From: post.rb @ line 7: Number of lines: 3 Owner: Post Visibility: public def safe_title make_safe @params[:title] end [5] pry(#<Post>):1> @params {“title”=>”new post”, “body”=>”your text here”} [6] pry(#<Post>):1>
safe_title From: post.rb @ line 7: Number of lines: 3 Owner: Post Visibility: public def safe_title make_safe @params[:title] end [5] pry(#<Post>):1> @params {“title”=>”new post”, “body”=>”your text here”} [6] pry(#<Post>):1> edit --ex
have an unhandled excepFon or test failure. – cd-‐cause lets you pry into any excepFon that happens inside the console • pry-‐stack_explorer – lets you move up/down the callstack as though you had a binding.pry at every level
– pry-‐doc, documentaFon for C methods – pry-‐docmore, documentaFon for ruby syntax – bond, tab compleFon for Hash#[], etc. – jist, IntegraFon with gist.github.com • pry-‐rails – makes “rails c” use pry!