19 April 2014

The Ruby Reflector

Topic

Myron Marston

  Source Favicon
Email

Thank you to David Chelimsky and Myron Marston for RSpec, which we use on all our apps.

Thank you to Max Howell for making it simple to install dependencies like C compilers, Postgres, Ack, Exuberant Ctags, tmux, ImageMagick, Redis, and more with Homebrew.

Thank you to Wayne E. Seguin, Michal Papis, and 37signals for making it easy to manage Ruby versions with RVM and rbenv.

Thank you Nicholas Marriott for making it easier to manage various terminals with …

robots.thoughtbot.com Read
  Source Favicon
By Peter Cooper of Ruby Inside 9 months ago.
Email

Myron Marston unveils the last 2.x feature release of the popular spec framework and announces work is well underway for the future RSpec 3. 2.14 includes a new feature called 'spies' which is shown off here.

Functional Programming and Ruby

At GoRuCo 2013, Pat Shaughnessy gave a 40 minute talk comparing Haskell (a functional language) to Ruby and looked at how to implement common functional patterns in Ruby. Well explained and backed by good slides.

Reading

rubyinside.com Read
  Source Favicon
By Peter Cooper of Ruby Inside over 1 year ago.
Email

After several years at the helm, David Chelimsky is handing over the reins to Myron Marston and Andy Lindeman for RSpec and rspec-rails respectively. Thanks for all your hard work, David.

Upgrading to Rails 4: A Forthcoming Book (in Beta)

Andy Lindeman of the RSpec core team is working on a new book designed to bring you up to speed with Rails 4. It's in beta so you can support him now, if you like.

Reading

Making Your Ruby Fly

Andrei Lisnic…

rubyinside.com Read
  Source Favicon
By David of David Chelimsky over 1 year ago.
Email

Myron Marston is taking over leadership of the RSpec project, and will be the lead maintainer of the rspec-core, rspec-expectations, and rspec-mocks gems.

Andy Lindeman is taking over as lead maintainer of the rspec-rails gem.

Myron Marston is RSpec's new project lead

Myron Marston has been contributing to RSpec since the ramp up to the 2.0 release in 2010, and joined the core team in early 2011. In addition to solid contributions to the code base, Myron has taken responsibility …

blog.davidchelimsky.net Read
  Source Favicon
By David of David Chelimsky over 1 year ago.
Email

…shouldn't override. Instead, define ExampleGroup#parent_groups . ( Myron Marston)

Limit monkey patching of shared example/context declaration methods ( shared_examples_for , etc.) to just the objects that need it rather than every object in the system ( Myron Marston).

Fix Metadata#fetch to support computed values ( Sam Goldman).

Named subject can now be referred to from within subject block in a nested group (tomykaira).

Fix fail_fast so that it properly exits when an …

blog.davidchelimsky.net Read
  Source Favicon
By David of David Chelimsky almost 2 years ago.
Email

…hook error. Previously, the error was silenced and the user got no feedback about what happened. ( Myron Marston)

--require and -I are merged among different configuration sources ( Andy Lindeman)

Delegate to mocha methods instead of aliasing them in mocha adapter.

rspec-expectations-2.11.0

full changelog

Enhancements

Expand expect syntax so that it supports expections on bare values in addition to blocks ( Myron Marston).

Add configuration options to control available …

blog.davidchelimsky.net Read
  Source Favicon
By Peter Cooper of Ruby Inside almost 2 years ago.
Email

It's not out yet but Myron Marston gives us a look at a new feature coming to the forthcoming RSpec 2.11: the ability to stub constants.

Adding SMS Capabilities to Your Rails App With Twilio

Vim for Ruby on Rails (and A Sexy Theme!)

Last week's link to using Sublime Text 2 was popular but this week's turn is Vim! Aston J aims to show off why Vim is a good choice for Rails development along with a bevy of commands.

9 FactoryGirl Tips…

rubyinside.com Read
  Source Favicon
By Peter Cooper of Ruby Inside almost 2 years ago.
Email

Myron Marston shows off a new syntax for expectations in RSpec. It looks like "expect(foo).to eq(bar)" versus the more typical "foo.should eq(bar)". What's the motivation? Learn more here.

Removing config.threadsafe! from Rails

Core Rails developer Aaron ' tenderlove' Patterson looks at why the 'config.threadsafe!' directive can be removed from Rails and demonstrates the issues involved.

Rails Pull Request: Enable threadsafe! …

rubyinside.com Read
  Source Favicon
By Peter Cooper of Ruby Inside 2 years ago.
Email

Myron Marston draws attention to Sinatra's 'halt' method which you can use to immediate stop a request within a filter or route, and explains why he likes it for handling exceptions in Sinatra apps.

Replace Your Test Helpers with a Reusable API

Eric Hodel makes an interesting argument that instead of leaning on test helper files all of the time, perhaps there are common bits of functionality you can bake into your library or app's own APIs.

assert_nothing_tested.. …

rubyinside.com Read
  Source Favicon
By David of David Chelimsky over 2 years ago.
Email

Improved failure message for the have_xxx matcher ( Myron Marston)

HaveMatcher supports count ( Matthew Bellantoni)

Change matcher dups Enumerable before the action, supporting custom Enumerable types like CollectionProxy in Rails ( David Chelimsky)

Bug fixes

Fix typo in have(n).xyz documentation ( Jean Boussier)

fix safe_sort for ruby 1.9.2 ( Kernel now defines <=> for Object) ( Peter van Hardenberg)

rspec-mocks-2.7.0

full changelog

blog.davidchelimsky.net Read