forked from attr-encrypted/attr_encrypted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattr_encrypted.gemspec
52 lines (43 loc) · 1.89 KB
/
attr_encrypted.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'attr_encrypted/version'
require 'date'
Gem::Specification.new do |s|
s.name = 'attr_encrypted'
s.version = AttrEncrypted::Version.string
s.date = Date.today
s.summary = 'Encrypt and decrypt attributes'
s.description = 'Generates attr_accessors that encrypt and decrypt attributes transparently'
s.authors = ['Sean Huber', 'S. Brent Faulkner', 'William Monk']
s.homepage = 'http://github.com/attr-encrypted/attr_encrypted'
s.has_rdoc = false
s.rdoc_options = ['--line-numbers', '--inline-source', '--main', 'README.rdoc']
s.require_paths = ['lib']
s.files = Dir['{bin,lib}/**/*'] + %w(MIT-LICENSE Rakefile README.rdoc)
s.test_files = Dir['test/**/*']
s.add_dependency('encryptor', ['>= 1.3.0'])
if RUBY_VERSION < '1.9.3'
# For Ruby 1.8.7 CI builds, we must force a dependency on the latest Ruby
# 1.8.7-compatible version of ActiveSupport (i.e. pre-4.0.0).
s.add_development_dependency('activerecord', ['>= 2.0.0'], ['< 4.0.0'])
else
# In practice, we'll always build the official gem using Ruby 1.9.3 or
# later, in which case we can allow installation on machines with any
# supported version of ActiveRecord from 2.0.0 onwards.
s.add_development_dependency('activerecord', ['>= 2.0.0'])
end
s.add_development_dependency('datamapper')
s.add_development_dependency('mocha')
s.add_development_dependency('sequel')
s.add_development_dependency('sqlite3')
s.add_development_dependency('dm-sqlite-adapter')
s.add_development_dependency('rake', '0.9.2.2')
if RUBY_VERSION < '1.9.3'
s.add_development_dependency('rcov')
else
s.add_development_dependency('simplecov')
s.add_development_dependency('simplecov-rcov')
end
end