Sha256: c1ce3367d542ec4862a62c0daf1c709906fc698782383ad5bf82080f1e9b191e

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = "has_secure_token"
  spec.version       = HasSecureToken::VERSION
  spec.authors       = ["Roberto Miranda Altamar"]
  spec.email         = ["rjmaltamar@gmail.com"]
  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/robertomiranda/has_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 "activerecord", ">= 3.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
has_secure_token-1.0.0 has_secure_token.gemspec