Sha256: 2ef9b7a924b853d191062cd28877dc014470c05d9d34ac9051dd5bcf02be89cf

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ostiary/version'

Gem::Specification.new do |spec|
  spec.name          = "ostiary"
  spec.version       = Ostiary::VERSION
  spec.author        = "Jacques Hakvoort"
  spec.authors       = ["Jacques Hakvoort"]
  spec.email         = ["jacques.hakvoort@nedap.com"]

  spec.homepage      = "https://github.com/nedap/ostiary"
  spec.summary       = "Limit access to (rails) controllers/actions with policies"
  spec.description   = <<-TXT;
    Ostiary is a security gem for your (rails) controllers & actions.
    It employs a before_filter-like call to set policies per controller/action.
    You can pass your own security call in block and handle the PolicyBroken
    yourself.
    Policies are also inherited from parent classes.
    From wikipedia: "An ostiarius, a Latin word sometimes anglicized as ostiary
    but often literally translated as porter or doorman, originally was a
    servant or guard posted at the entrance of a building. See also gatekeeper."
  TXT
  spec.license = 'MIT'

  spec.files = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})
  end
  spec.require_paths = ["lib"]

  spec.add_development_dependency "bundler", "~> 1.13"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "rspec", "~> 3.0"
  spec.add_development_dependency 'rspec_junit_formatter'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ostiary-0.11.0 ostiary.gemspec