From 5d4138f0b2e08dcaaaa5ceec170ccae2d7f4d43c Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Fri, 2 Apr 2010 15:25:38 -0700 Subject: [PATCH] cleaning up gemspec --- cancan.gemspec | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/cancan.gemspec b/cancan.gemspec index cba9a4c..6a680c1 100644 --- a/cancan.gemspec +++ b/cancan.gemspec @@ -1,22 +1,15 @@ Gem::Specification.new do |s| - s.name = "cancan" - s.summary = "Simple authorization solution for Rails." + s.name = "cancan" + s.version = "1.0.2" + s.author = "Ryan Bates" + s.email = "ryan@railscasts.com" + s.homepage = "http://github.com/ryanb/cancan" + s.summary = "Simple authorization solution for Rails." s.description = "Simple authorization solution for Rails which is completely decoupled from the user's roles. All permissions are stored in a single location for convenience." - s.homepage = "http://github.com/ryanb/cancan" - s.version = "1.0.2" - s.date = "2009-12-30" + s.files = Dir["{lib,spec}/**/*"] + Dir["[A-Z]*"] + ["init.rb"] + s.require_path = "lib" - s.authors = ["Ryan Bates"] - s.email = "ryan@railscasts.com" - - s.require_paths = ["lib"] - s.files = Dir["lib/**/*"] + Dir["spec/**/*"] + ["LICENSE", "README.rdoc", "Rakefile", "CHANGELOG.rdoc", "init.rb"] - s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "LICENSE"] - - s.has_rdoc = true - s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "CanCan", "--main", "README.rdoc"] - - s.rubygems_version = "1.3.4" - s.required_rubygems_version = Gem::Requirement.new(">= 1.2") + s.rubyforge_project = s.name + s.required_rubygems_version = ">= 1.3.4" end