RubyGems Navigation menu

has_protected_token 0.1.0

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 >= 4.2
bcrypt ~> 3.1.1

Development Dependencies (10):

appraisal >= 0
bump >= 0
bundler ~> 1.17.3
byebug >= 0
rake >= 0
rspec >= 0
rubocop >= 0
sqlite3 >= 0
wwtd >= 0

Owners:

Pushed by:

Authors:

  • David Allen

SHA 256 checksum:

98b433749bb28ea2104619e264d44fd31b53ee7371f7a515174be54594348a10

Total downloads 6,978

For this version 1,680

License:

MIT

Required Ruby Version: >= 2.3

Links: