forked from RolifyCommunity/rolify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrolify.gemspec
More file actions
33 lines (28 loc) · 1.28 KB
/
rolify.gemspec
File metadata and controls
33 lines (28 loc) · 1.28 KB
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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "rolify/version"
Gem::Specification.new do |s|
s.name = "rolify"
s.version = Rolify::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Florent Monbillard"]
s.email = ["f.monbillard@gmail.com"]
s.homepage = "https://github.com/EppO/rolify"
s.summary = %q{Roles library with resource scoping}
s.description = %q{Very simple Roles library without any authorization enforcement (built to use with cancan) supporting scope on resource: user.is_moderator?(Forum.first) => # return false if user is moderator of another Forum }
s.rubyforge_project = s.name
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_dependency "activerecord", ">= 3.1.0"
if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
s.add_development_dependency "activerecord-jdbcsqlite3-adapter"
else
s.add_development_dependency "sqlite3"
end
s.add_development_dependency "ammeter"
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "bundler"
end