fixed bugs / added spec / updated gemspec