From 28eaf1bc99000a457b36996882696a085c13aa57 Mon Sep 17 00:00:00 2001 From: Ryan Bates Date: Mon, 16 Nov 2009 22:15:10 -0800 Subject: [PATCH] releasing gem v0.1.0 --- .gitignore | 1 + CHANGELOG.rdoc | 3 +++ README.rdoc | 12 +++++++++--- cancan.gemspec | 22 ++++++++++++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 CHANGELOG.rdoc create mode 100644 cancan.gemspec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c111b33 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.gem diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc new file mode 100644 index 0000000..170d065 --- /dev/null +++ b/CHANGELOG.rdoc @@ -0,0 +1,3 @@ +*0.1.0* (Nov 16th, 2009) + +* initial release diff --git a/README.rdoc b/README.rdoc index 57be2da..3ce7115 100644 --- a/README.rdoc +++ b/README.rdoc @@ -7,12 +7,18 @@ This assumes you already have an authentication solution (such as Authlogic) whi == Installation -Install it as a Rails plugin. +You can set it up as a gem in your environment.rb file. + + config.gem "cancan", :source => "http://gemcutter.org" + +And then install the gem. + + gem install cancan + +Alternatively you can install it as a Rails plugin. script/plugin install git://github.com/ryanb/cancan.git -It will be available as a gem soon. - == Setup diff --git a/cancan.gemspec b/cancan.gemspec new file mode 100644 index 0000000..c06cd16 --- /dev/null +++ b/cancan.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |s| + s.name = "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 = "0.1.0" + s.date = "2009-11-16" + + 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") +end