./example/config.ru in helios-0.0.5 vs ./example/config.ru in helios-0.1.1
- old
+ new
@@ -1,6 +1,17 @@
require 'bundler'
Bundler.require
DB = Sequel.connect(ENV['DATABASE_URL'])
-run Helios::Application.new(model: 'Sample.xcdatamodeld')
+app = Helios::Application.new {
+ service :data, model: Dir['*.xcdatamodel*'].first
+ service :push_notification
+ service :in_app_purchase
+ service :passbook, admin: false
+ service :accounts do
+ provider :developer
+ provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'], scope: "user,repo,gist"
+ end
+ }
+
+run app