forked from inossidabile/protector
-
Notifications
You must be signed in to change notification settings - Fork 2
/
protector.gemspec
23 lines (20 loc) · 955 Bytes
/
protector.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'protector/version'
Gem::Specification.new do |spec|
spec.name = "protector"
spec.version = Protector::VERSION
spec.authors = ["Boris Staal"]
spec.email = ["[email protected]"]
spec.description = %q{Comfortable (seriously) white-list security restrictions for models on a field level}
spec.summary = %q{Protector is a successor to the Heimdallr gem: it hits the same goals keeping the Ruby way}
spec.homepage = "https://github.com/inossidabile/protector"
spec.license = "MIT"
spec.files = `git ls-files`.split($/)
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 "activesupport"
spec.add_dependency "i18n"
end