Sha256: e63f34cc2c3ff785dfa407759640d83f6e8910c03456f5ac9ef4f8cc42859564

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 KB

Contents

## 1.0.0.rc1 (2012-11-26)
* Extract RandomToken module from MiniAuth module.

## 0.3.2 (2012-11-08)
* Don't protect all columns from mass assignment by default.

## 0.3.1 (2012-07-18)
* Set `password_digest` when the user is saved without validation.

## 0.3.0 (2011-12-21)

* Add the class method `token` that defines "generate_#{name}_token" and
  "verify_#{name}_token" methods dynamically.
* Remove the deprecation warnings in Rails 3.2.0.rc1
* Unset `changing_password` and `setting_password` after the object is saved.

## 0.2.0 (2011-12-19)

* Two attributes `changing_password` and `setting_password` are introduced.
* When `changing_password` is set to `true`, users should enter `current_password`
  and `new_password` to change their password. If they enter wrong `current_passwod`,
  validation on `current_password` fails.
* When `setting_password` is set to `true`, users should enter not-blank `password`.
  Unlike the version 0.1.0, nil password is not accepted.
* When neither of these two attributes is set to `true`, users can't set or change
  their password. If the `password` parameter is passed to the object,
  it is neglected and all validations relating password are skipped.
* Besides, two attributes `password_confirmation` and `new_password_confirmation`
  are added.

## 0.1.0 (2011-12-13)

* The `authenticate` method returns `self` instead of `true`

## 0.1.0.pre2 (2011-12-13)

* The `password_digest` field is protected against mass-assignment

## 0.1.0.pre (2011-12-13)

* MiniAuth#authenticate is implemented using BCrypt::Password
* Password should not be blank string but can be nil 
* First public release as a gem

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mini_auth-1.0.0 CHANGELOG.md
mini_auth-1.0.0.rc CHANGELOG.md