Sha256: 41580eef39535552bdbf52b171af07ec96d98ddb208820cb11811eb53542a88d

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "pundit_logger/version"

Gem::Specification.new do |spec|
  spec.name          = 'pundit_logger'
  spec.version       = PunditLogger::VERSION
  spec.authors       = ['Steve Hodges']
  spec.email         = ['shodges317@gmail.com']

  spec.summary       = %q{Log policy usage in Rails apps which use Pundit}
  spec.description   = 'Pundit is a lightweight authorization gem. But, in ' \
                       'complex Rails apps, it can be difficult to determine ' \
                       'why authorization failed, or which policies are ' \
                       'involved in a request. pundit_logger adds logging ' \
                       'during many Pundit events to your Rails application logs.'
  spec.homepage      = 'https://github.com/stevehodges/pundit_logger'
  spec.license       = 'MIT'

  # Specify which files should be added to the gem when it is released.
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  spec.files         = Dir.chdir(File.expand_path('..', __FILE__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.require_paths = ['lib']
  spec.add_dependency "pundit", "~> 1.0"
  spec.add_dependency "rails", "> 5", "< 7"

  spec.add_development_dependency "bundler", "~> 2.0"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec-rails", "~> 3.0"
  spec.add_development_dependency "sqlite3", '~> 1.3', '< 1.4'
  spec.add_development_dependency "pry"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pundit_logger-0.1.1 pundit_logger.gemspec