-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpetergate.gemspec
24 lines (21 loc) · 1.22 KB
/
petergate.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'petergate/version'
Gem::Specification.new do |spec|
spec.name = "petergate"
spec.version = Petergate::VERSION
spec.authors = ["Isaac Sloan"]
spec.email = ["[email protected]"]
spec.summary = %q{Authorization system allowing verbose easy read controller syntax.}
spec.description = %q{If you like the straight forward and effective nature of Strong Parameters and suspect that CanCan might be overkill for your project then you'll love Petergate's easy to use and read action and content based authorizations.}
spec.homepage = "https://github.com/isaacsloan/petergate"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").delete_if{|p| p.include?("dummy/")}
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.post_install_message = "NOTICE: As of version 1.5.0, the :admin role has been changed to :root_admin."
spec.add_development_dependency "bundler", "> 1.7"
spec.add_development_dependency "rake", "~> 12.3"
spec.add_dependency 'activerecord', "> 4.0.0"
end