lib/sinatra/toadhopper.rb in toadhopper-sinatra-2.0 vs lib/sinatra/toadhopper.rb in toadhopper-sinatra-2.1

- old
+ new

@@ -19,11 +19,11 @@ { :url => request.url, :params => request.params, :session => session.to_hash, :environment => ENV.to_hash, - :framework_env => options.environment.to_s, - :project_root => options.root, + :framework_env => settings.environment.to_s, + :project_root => settings.root, :notifier_name => (notifier_name = "toadhopper-sinatra"), :notifier_version => VERSION, :notifier_url => 'http://github.com/toolmantim/toadhopper-sinatra' }, {'X-Hoptoad-Client-Name' => notifier_name} \ No newline at end of file