update .gitignore
add .ruby-* files
update .gitignore
update Gemfile and add Gemfile.lock
add rspec to Rakefile
refactor lib/spec to ease stubbing