test/config.ru in rack-simple_auth-0.0.7 vs test/config.ru in rack-simple_auth-0.0.8
- old
+ new
@@ -5,10 +5,13 @@
'GET' => 'path',
'POST' => 'params',
'DELETE' => 'path',
'PUT' => 'path',
'PATCH' => 'path',
- 'tolerance' => 2
+ 'tolerance' => 2,
+ 'signature' => 'test_signature',
+ 'secret' => 'test_secret',
+ 'logpath' => "#{File.expand_path('..', __FILE__)}/logs"
}
-use Rack::SimpleAuth::HMAC, 'test_signature', 'test_secret', config, "#{File.expand_path('..', __FILE__)}/logs"
+use Rack::SimpleAuth::HMAC, config
run Rack::Lobster.new