saasbook/hw — pull request #1 by tansaku (2013-06-28 17:08:13+00:00)
Title: Starting on Stack assignment

Sending this just so you can see what I'm doing in the context of the hw repo

Getting some odd results when trying to run autograder sanity spec on HW1-4:

Samuels-MacBook-Pro-2:rag-saasbook sam$ ./grade ../hw/ruby-calisthenics/skeletons/part4.rb ../hw/ruby-calisthenics/sanity_specs/part4_spec.rb
Score out of 100: 0
---BEGIN rspec comments---
--------------------------------------------------------------------------------
your_code.rb:37: syntax error, unexpected '{', expecting keyword_end
..."should define a constructor" { lambda { Dessert.new }.shoul...
... ^
your_code.rb:37: syntax error, unexpected '}', expecting keyword_end
your_code.rb:39: syntax error, unexpected '{', expecting keyword_end
... it "should define #{method}" { Dessert.new('a',1).should re...
... ^
your_code.rb:39: syntax error, unexpected '}', expecting keyword_end
your_code.rb:44: syntax error, unexpected '{', expecting keyword_end
..."should define a constructor" { lambda { JellyBean.new }.sho...
... ^
your_code.rb:44: syntax error, unexpected '}', expecting keyword_end
your_code.rb:46: syntax error, unexpected '{', expecting keyword_end
... it "should define #{method}" { JellyBean.new('a',1).should ...
... ^
your_code.rb:46: syntax error, unexpected '}', expecting keyword_end

--------------------------------------------------------------------------------
---END rspec comments---

HW1-1, 1-2 and 1-3 seem fine, and give more intelligible output like:

anagrams
should be defined
should return an Array (FAILED - 1)

I'm using my up to date fork of saasbook-rag here:

https://github.com/tansaku/rag-saasbook