test/config.ru in rack-simple_auth-0.0.1 vs test/config.ru in rack-simple_auth-0.0.2
- old
+ new
@@ -1,5 +1,13 @@
require 'rack/lobster'
require 'rack/simple_auth'
-use Rack::SimpleAuth::HMAC, 'test_signature', 'test_secret'
+config = {
+ 'GET' => 'path',
+ 'POST' => 'params',
+ 'DELETE' => 'path',
+ 'PUT' => 'path',
+ 'PATCH' => 'path'
+}
+
+use Rack::SimpleAuth::HMAC, 'test_signature', 'test_secret', config
run Rack::Lobster.new
\ No newline at end of file