add init file and require path to gemspec
pass event along with each transition