Released 1.0.0 yoda


#1

released yoda version 1.0.0 has been!

Spec yoda will, and spec you shall too.

require ‘yoda’

class Bowling
def hit(pins)
end

 def score
   0
 end

end

Bowling.yoda {
“score 0 for gutter game”.it_will {
bowling = Bowling.new
20.times { bowling.hit(0) }

   bowling.score 1.it_is?
   bowling.score 42.it_is_not!
 }

}

Changes:

1.0.0 / 2009-04-22


#2

On Thu, Apr 23, 2009 at 01:31:37PM +0900, Ryan D. wrote:

released yoda version 1.0.0 has been!

I tried to install, and I get this error:

[aaron@Jordan ~]$ gem install yoda
ERROR: gem could not be found, all around you it is.
[aaron@Jordan ~]$ gem -v
1.3.1
[aaron@Jordan ~]$

Do I need rubygems 1.3.2?


#3

On Apr 22, 2009, at 21:34, Aaron P. wrote:

[aaron@Jordan ~]$

Do I need rubygems 1.3.2?

I guess so:

$ sudo gem install yoda
yoda-1.0.0 installed successfully it is
Gems installed are 1
yoda-1.0.0 ri documentation it is installing…
yoda-1.0.0 RDoc documentation it is installing…
$ gem -v
1.3.2