forked from robertomiranda/has_secure_token
-
Notifications
You must be signed in to change notification settings - Fork 0
/
has_secure_token.gemspec
27 lines (23 loc) · 1.31 KB
/
has_secure_token.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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 = ["[email protected]"]
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", "< 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