README.md in gollum-auth-0.6.2 vs README.md in gollum-auth-0.7.0
- old
+ new
@@ -11,10 +11,11 @@
[HTTP Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication)
to gollum so that only authenticated users have access to your wiki.
Optionally you can allow readonly-access for unauthenticated guests.
Also the current user's name and e-mail are passed to gollum (via session key
`gollum.author`) to see who changed what.
+It works with Gollum 4 and Gollum 5.
## Installation
Add this line to your application's Gemfile:
@@ -63,10 +64,10 @@
name: Morty Smith
email: morty@example.com
}
# Allow unauthenticated users to read the wiki (disabled by default).
-options = { allow_guests: true }
+options = { allow_unauthenticated_readonly: true }
# Allow only authenticated users to change the wiki.
# (NOTE: This must be loaded *before* Precious::App!)
use Gollum::Auth, users, options