-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsequel_secure_password.gemspec
36 lines (31 loc) · 1.41 KB
/
sequel_secure_password.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
28
29
30
31
32
33
34
35
36
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sequel_secure_password/version'
Gem::Specification.new do |gem|
gem.name = "sequel_secure_password"
gem.version = SequelSecurePassword::VERSION
gem.authors = ["Mateusz Lenik"]
gem.email = ["[email protected]"]
gem.description = %q{Plugin adds authentication methods to Sequel models using BCrypt library.}
gem.summary = <<EOF
Plugin adds BCrypt authentication and password hashing to Sequel models.
Model using this plugin should have 'password_digest' field.
This plugin was created by extracting has_secure_password strategy from rails.
EOF
gem.homepage = "http://github.com/mlen/sequel_secure_password"
gem.license = "MIT"
gem.files = `git ls-files`.split($/)
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_dependency 'bcrypt', ['>= 3.1', '< 4.0']
gem.add_dependency 'sequel', ['>= 4.1.0', '< 6.0']
gem.add_development_dependency 'rspec', '~> 3.0'
gem.add_development_dependency 'rake', '~> 12'
gem.add_development_dependency 'rubygems-tasks', '~> 0.2'
if RUBY_PLATFORM == "java"
gem.add_development_dependency 'jdbc-sqlite3', '~> 3.15', '>= 3.15.0'
else
gem.add_development_dependency 'sqlite3', '~> 1.3', '>= 1.3.0'
end
end