-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhas_secure_attribute.gemspec
31 lines (25 loc) · 1.26 KB
/
has_secure_attribute.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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'has_secure_attribute/version'
require 'date'
Gem::Specification.new do |s|
s.name = "has_secure_attribute"
s.version = HasSecureAttribute::VERSION
s.authors = ["Panayotis Matsinopoulos"]
s.email = ["[email protected]"]
s.description = "Does what `has_secure_password` does, but for any attribute that you want. It does not have to be a `password` attribute. It may be for example `security_answer`"
s.date = DateTime.now.to_date.to_s
s.license = 'MIT'
s.files = Dir.glob("{lib,spec}/**/*") + %w(README.md MIT)
s.homepage = "https://github.com/pmatsinopoulos/has_secure_attribute"
s.require_paths = ["lib"]
s.summary = "Allows an ActiveRecord::Base class to declare an attribute that will be saved one-way encrypted and not clear text"
s.add_runtime_dependency("activerecord", "~> 5.1")
s.add_runtime_dependency("bcrypt", "~> 3.1")
s.add_development_dependency("rake", "~> 12.0")
s.add_development_dependency("rspec", "~> 3.0")
s.add_development_dependency("mysql2", "~> 0.4.0")
s.add_development_dependency("factory_bot", "~> 4.8", ">= 4.8.0")
s.add_development_dependency("database_cleaner", "~> 1.6", ">= 1.6.0")
end