forked from EntropyZero/canard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanard.gemspec
29 lines (24 loc) · 1.21 KB
/
canard.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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require 'canard/version'
Gem::Specification.new do |s|
s.name = 'canard'
s.version = Canard::VERSION
s.date = `git log -1 --format="%cd" --date=short lib/canard/version.rb`
s.authors = ['James McCarthy']
s.email = ['[email protected]']
s.homepage = 'https://github.com/james2m/canard'
s.summary = %q{Adds role based authorisation to Rails by combining RoleModel and CanCanCan.}
s.description = %q{Wraps CanCanCan and RoleModel up to make role based authorisation really easy in Rails 4+.}
s.rubyforge_project = "canard"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ['lib']
s.add_development_dependency 'minitest', '~> 2'
s.add_development_dependency 'rails', '~> 3.2.3', '>= 3.2.3'
s.add_development_dependency 'mongoid', '~> 3.0'
s.requirements << "cancan's community supported Rails4+ compatible cancancan fork."
s.add_runtime_dependency 'cancancan', '>= 1'
s.add_runtime_dependency 'role_model', '~> 0'
end