RubyGems Navigation menu

has_protected_token 0.0.0.pre.alpha

Generate random tokens (or use your own) for any ActiveRecord model. Hashes and salts the token before storage in the database using the same methodology as has_secure_password.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - November 30, 2019 (12 KB)
  2. 0.1.0 - October 31, 2019 (11 KB)
  3. 0.0.0.pre.beta - October 27, 2019 (9.5 KB)
  4. 0.0.0.pre.alpha - October 23, 2019 (9 KB)

Runtime Dependencies (2):

activerecord >= 3.0
bcrypt ~> 3.1.1

Development Dependencies (7):

bump >= 0
bundler ~> 1.17.3
byebug >= 0
rake >= 0
rspec >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • David Allen

SHA 256 checksum:

998edfc826880dfb8d67e041ae80dfbd054ca72e25e88237177fb01fbbf45632

Total downloads 6,986

For this version 1,563

License:

MIT

Required Ruby Version: >= 0

Required Rubygems Version: > 1.3.1

Links: