Ported example.rb into an RSpec spec, and added rspec as a development dependency in the gemspec