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", "dev@elabs.se"] gem.description = "Object oriented authorization for Rails applications" gem.summary = "OO authorization for Rails" gem.homepage = "https://github.com/varvet/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