-
Notifications
You must be signed in to change notification settings - Fork 4
/
cando.gemspec
75 lines (70 loc) · 2.77 KB
/
cando.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = "cando"
s.version = "0.2.6"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Daniel Bornkessel"]
s.date = "2014-06-02"
s.description = "CanDo is a small gem to implement a simple user access system based on users, roles & capabilites, where:\n\n each user can have 0, 1 or many roles\n each role can have 0, 1 or many capabilites\n\nUsers have capabilities by getting roles assigned (role == collection of capabilities). Within the code, the can helper method can be used to test whether a user has a certain capability or not (see below for a working code example)."
s.email = "[email protected]"
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
]
s.files = [
".document",
".rspec",
".travis.yml",
"Gemfile",
"Gemfile.lock",
"LICENSE.txt",
"README.md",
"Rakefile",
"VERSION",
"cando.gemspec",
"contrib/initial_schema.rb",
"lib/cando.rb",
"lib/models/capability.rb",
"lib/models/role.rb",
"lib/models/user.rb",
"lib/tasks/cando.rake",
"spec/cando_spec.rb",
"spec/spec_helper.rb"
]
s.homepage = "http://github.com/soundcloud/cando"
s.licenses = ["MIT"]
s.require_paths = ["lib"]
s.rubygems_version = "1.8.23"
s.summary = "Simple roles helper"
if s.respond_to? :specification_version then
s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_runtime_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_development_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_development_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
s.add_development_dependency(%q<simplecov>, ["~> 0.8.1"])
else
s.add_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
s.add_dependency(%q<simplecov>, ["~> 0.8.1"])
end
else
s.add_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_dependency(%q<bundler>, ["~> 1.0"])
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
s.add_dependency(%q<simplecov>, ["~> 0.8.1"])
end
end