Sha256: 3a640eeb3b2cce6368cdf6b7c9aecf9d57e5ad51e4f55cc5b14bedca6358557c
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "rolify/version" Gem::Specification.new do |s| s.name = "rolify" s.version = Rolify::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Florent Monbillard"] s.email = ["f.monbillard@gmail.com"] s.homepage = "https://github.com/EppO/rolify" s.summary = %q{Roles library with resource scoping} s.description = %q{Very simple Roles library without any authorization enforcement (built to use with cancan) supporting scope on resource: user.is_moderator?(Forum.first) => # return false if user is moderator of another Forum } s.rubyforge_project = s.name s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] s.add_dependency "activerecord", ">= 3.1.0" if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby" s.add_development_dependency "activerecord-jdbcsqlite3-adapter" else s.add_development_dependency "sqlite3" end s.add_development_dependency "ammeter" s.add_development_dependency "rake" s.add_development_dependency "rspec" s.add_development_dependency "bundler" end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rolify-2.2.2 | rolify.gemspec |
rolify-2.2.1 | rolify.gemspec |
rolify-2.2.0 | rolify.gemspec |
rolify-2.1.0 | rolify.gemspec |
rolify-2.0.0 | rolify.gemspec |