Sha256: 32150a545b52648975a24023dace52b3e44120d6b92d069cc631762b6d05046e

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'active_model_secure_token/version'

Gem::Specification.new do |spec|
  spec.name          = "active_model_secure_token"
  spec.version       = HasSecureToken::VERSION
  spec.authors       = ["Roberto Miranda Altamar", "Joost Baaij"]
  spec.email         = ["rjmaltamar@gmail.com", "joost@spacebabies.nl"]
  spec.summary       = %q{Create uniques random tokens for any model in ruby on rails. Backport of ActiveRecord::SecureToken 5 to AR 3.x and 4.x}
  spec.description   = %q{HasSecureToken provides you an easily way to geneatre uniques random tokens for any model in ruby on rails. **SecureRandom::base58** is used to generate the 24-character unique token, so collisions are highly unlikely.}
  spec.homepage      = "https://github.com/sign2pay/active_model_secure_token"
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency "activemodel"
  spec.add_development_dependency "mongoid"
  spec.add_development_dependency "activerecord", [">= 3.0",  "< 5.0"]

  spec.add_development_dependency "bundler", "~> 1.3"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency 'sqlite3'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_model_secure_token-1.0.0 active_model_secure_token.gemspec