README.md in devise-token_authenticatable-0.3.2 vs README.md in devise-token_authenticatable-0.4.0
- old
+ new
@@ -22,13 +22,14 @@
### Which version to use for which version of devise?
*devise-token_authenticatable* | *devise*
-------------------------------:|---------
-0.1.0 | ~> 3.2.0
-0.2.0 | ~> 3.3.0
-0.3.x | ~> 3.4.0
+`~> 0.1` | `~> 3.2.0`
+`~> 0.2` | `~> 3.3.0`
+`~> 0.3` | `~> 3.4.0`
+`~> 0.4` | `~> 3.5.0`
## Usage
Add `:token_authenticatable` to your devise model:
@@ -46,10 +47,10 @@
config.token_authentication_key = :other_key_name
# enable reset of the authentication token before the model is saved,
# defaults to false
config.should_reset_authentication_token = true
-
+
# enables the setting of the authentication token - if not already - before the model is saved,
# defaults to false
config.should_ensure_authentication_token = true
end