Readme.markdown in hands-0.1.0 vs Readme.markdown in hands-0.2.0

- old
+ new

@@ -2,11 +2,11 @@ Simple library for calculating poker hands. Currently this gem is very limited. I plan on adding outs, odds, and other actually useful stuff. I started writing this on a plane as a personal challenge. It's current state is crude, although tested and works. -[![Dependency Status](https://gemnasium.com/soffes/hands.png)](https://gemnasium.com/soffes/hands) +[![Build Status](https://travis-ci.org/soffes/hands.png?branch=master)](undefined) [![Dependency Status](https://gemnasium.com/soffes/hands.png)](https://gemnasium.com/soffes/hands) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/soffes/hands) ## Installation Add this line to your application's Gemfile: @@ -22,20 +22,20 @@ $ gem install hands ## Usage -Read the [documentation](http://rubydoc.info/github/samsoffes/hands/master/frames). +Read the [documentation](http://rubydoc.info/github/soffes/hands/frames/file/Readme.markdown). ``` ruby # Best hand detection straight = Hands::Hand.new straight << Hands::Card['A', :hearts] straight << Hands::Card[2, :spades] straight << Hands::Card[3, :diamonds] straight << Hands::Card[4, :hearts] straight << Hands::Card[5, :clubs] -straight.best_hand[:type] # 'straight' +straight.best_hand[:type] # :straight # Hand comparison pair = Hands::Hand.new pair << Hands::Card[2, :hearts] pair << Hands::Card[2, :clubs]