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!

instalar:
=

Versões:

  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

Donos:

Pushed by:

Autores:

  • David Allen

SHA 256 checksum:

998edfc826880dfb8d67e041ae80dfbd054ca72e25e88237177fb01fbbf45632

Total de downloads 7.014

Desta versão 1.569

Licença:

MIT

Versão Requerida do Ruby: >= 0

Versão Requerida do RubyGems: > 1.3.1

Links: