Sha256: 825925d9fd347e5613128715b822310ac5f09c45df58c6696b0eca874cbc57da
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 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" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ostiary-0.10.0 | ostiary.gemspec |
ostiary-0.9.0 | ostiary.gemspec |