Skip to content

yycruby/rake-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remembering Jim Weirich

Jim Weirich was a beloved and prolific cornerstone of the Ruby community. November 18th would have been his 59th birthday, let's spend a bit of time looking back on the things he contributed.

Rake

The most widely used tool that Jim built is of course Rake, a Ruby version of the ubiquitous make. If you've built a Rails app, you've used Rake to run your migrations and do other things.

Builder

Working with XML is cumbersome, but it doesn't have to be. Of course the better way is to generate your XML programmatically, which is exactly what builder is for. Nowadays you probably use JSON, which can be generated with jbuilder, inspired by builder.

FlexMock

While not as widely used as rspec-mocks or mocha, it's still worth looking into flexmock for its simplicity.

Argus

Before he passed away, Jim was focused on using Ruby with robotics. He gave a few talks about controlling Parrot AR drones with this library.

Exercise: Write your own Rake

Let's see if we can write a basic version of Rake based on a set of existing tests. We only need to worry about the core concepts, not the power features or edge cases.

Clone this repo and install dependencies with bundle install. Start by running the specs with rake spec, which should immediately fail. Now open lib/rake.rb in your editor and try to get the first spec passing.

About

Rake exercise from Jim Weirich talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published