updated to newer ruby
added better nesting support and upgraded to latest rspec matchers