Sha256: 2417318c76cdb01f68bcd6aac974caa35317c5a0ae39f161f66d0e474ae952b3

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "canard/version"

Gem::Specification.new do |s|
  s.name        = "canard"
  s.version     = Canard::VERSION
  s.date        = `git log -1 --format="%cd" --date=short lib/canard/version.rb`
  s.authors     = ["James McCarthy"]
  s.email       = ["james2mccarthy@gmail.com"]
  s.homepage    = "https://github.com/james2m/canard"
  s.summary     = %q{Adds role based authorisation to Rails by combining RoleModel and CanCan.}
  s.description = %q{Wraps CanCan and RoleModel up to make role based authorisation really easy in Rails 3.x.}

  s.rubyforge_project = "canard"

  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_development_dependency "minitest", "~> 2"
  s.add_development_dependency "rails", "~> 3.2.3"

  if RUBY_VERSION < '1.9'
    s.add_development_dependency "mongoid", "~> 2.0"
  else
    s.add_development_dependency "mongoid", "~> 3.0"
  end

  s.add_runtime_dependency "cancan"
  s.add_runtime_dependency "role_model"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
canard-0.4.1 canard.gemspec
canard-0.4.0 canard.gemspec