Heading image for post: Ruby5 Roundup - Episode 385

Ruby

Ruby5 Roundup - Episode 385

Profile picture of Paul Elliott

Last week I released another episode of the Ruby5 podcast with my old friend, Matthew Conway. Here is a quick roundup of this episode.

http://ruby5.envylabs.com/episodes/421-episode-385-july-12th-2013

RSpec 2.14

http://myronmars.to/n/dev-blog/2013/07/rspec-2-14-is-released

We've seen a lot of changes in rspec over the years. Last week version 2.14 was released and marks the end of the 2.x line. It also comes with some cool new features like spies, mock support for the new expectation syntax, new configurations, and some bug fixes. Upgrading should not impact your existing test suite, so do it today and start spying!

Rails Security Course

http://railssecurity.com

CodeClimate is offering a free month-long Rails security course via email. It promises to contain some tips not in the official guides, explanations of how things we thought were taken care of aren't exactly, and tricks you thought were cool but are actually really dangerous. Did I mention this is all free?

Heroku Pipelines

https://blog.heroku.com/archives/2013/7/10/heroku-pipelines-beta

Heroku released a new labs feature called pipelines. If you have staging and production environments, it lets you hook them together then promote the slug from staging to production. It should reduce deployment times and help to streamline your deployment process. You can also diff the two servers to see what would be deployed.

Bogus

https://github.com/psyho/bogus

Bogus is a gem that provides some safely to the world of mocking and stubbing. It lets you make test doubles that have the same interface as the class it is doubling and can alert you if you stub a method that doesn't actually exist.

Drink Menu

https://github.com/joefiorini/drink-menu

The best part of RubyMotion is the strong ecosystem around the technology. Another new addition is Drink Menu, which lets you build OS X menu bar applications with RubyMotion. That means nicer DSLs, easier development and testing, and no Objective-C!

Vimscript And You!

http://blog.hashrocket.com/posts/vimscript-and-you

Fellow Rocketeer Jonathan Jackson wrote a blog post explaining how to use RSpec to test your vim plugins. It leverages a library called vimrunner by Andrew Radev to link everything together. I never thought testing vim plugins could be this easy, but you'll see in this blog post's TDD'd example that it is!

So that's it for this episode of Ruby5. If you haven't already, subscribe to the podcast and keep yourself up to date. Thanks for listening!

More posts about Ruby Ruby5 Roundup

  • Adobe logo
  • Barnes and noble logo
  • Aetna logo
  • Vanderbilt university logo
  • Ericsson logo

We're proud to have launched hundreds of products for clients such as LensRentals.com, Engine Yard, Verisign, ParkWhiz, and Regions Bank, to name a few.

Let's talk about your project