mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
70935c5e93
This makes rubocop work with newer versions.
21 lines
826 B
Ruby
21 lines
826 B
Ruby
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", "Elabs AB"]
|
|
gem.email = ["jonas.nicklas@gmail.com", "dev@elabs.se"]
|
|
gem.description = "Object oriented authorization for Rails applications"
|
|
gem.summary = "OO authorization for Rails"
|
|
gem.homepage = "https://github.com/elabs/pundit"
|
|
gem.license = "MIT"
|
|
|
|
gem.files = `git ls-files`.split($/)
|
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
gem.require_paths = ["lib"]
|
|
|
|
gem.add_dependency "activesupport", ">= 3.0.0"
|
|
end
|