-
Notifications
You must be signed in to change notification settings - Fork 641
/
Copy pathpundit.gemspec
34 lines (29 loc) · 1.23 KB
/
pundit.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "pundit/version"
Gem::Specification.new do |gem|
gem.name = "pundit"
gem.version = Pundit::VERSION
gem.authors = ["Jonas Nicklas", "Varvet AB"]
gem.email = ["jonas.nicklas@gmail.com", "info@varvet.com"]
gem.description = "Object oriented authorization for Rails applications"
gem.summary = "OO authorization for Rails"
gem.homepage = "https://github.com/varvet/pundit"
gem.license = "MIT"
Dir.chdir(__dir__) do
gem.files = `git ls-files -z`.split("\x0").select do |f|
f.start_with?("lib/", "README", "SECURITY", "LICENSE", "CHANGELOG")
end
end
gem.require_paths = ["lib"]
gem.metadata = {
"rubygems_mfa_required" => "true",
"bug_tracker_uri" => "https://github.com/varvet/pundit/issues",
"changelog_uri" => "https://github.com/varvet/pundit/blob/main/CHANGELOG.md",
"documentation_uri" => "https://github.com/varvet/pundit/blob/main/README.md",
"homepage_uri" => "https://github.com/varvet/pundit",
"source_code_uri" => "https://github.com/varvet/pundit"
}
gem.add_dependency "activesupport", ">= 3.0.0"
end