Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

releasing gem v0.1.0

  • Loading branch information...
commit 28eaf1bc99000a457b36996882696a085c13aa57 1 parent b1d3d66
@ryanb authored
Showing with 35 additions and 3 deletions.
  1. +1 −0  .gitignore
  2. +3 −0  CHANGELOG.rdoc
  3. +9 −3 README.rdoc
  4. +22 −0 cancan.gemspec
View
1  .gitignore
@@ -0,0 +1 @@
+*.gem
View
3  CHANGELOG.rdoc
@@ -0,0 +1,3 @@
+*0.1.0* (Nov 16th, 2009)
+
+* initial release
View
12 README.rdoc
@@ -7,11 +7,17 @@ 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.
- script/plugin install git://github.com/ryanb/cancan.git
+ gem install cancan
-It will be available as a gem soon.
+Alternatively you can install it as a Rails plugin.
+
+ script/plugin install git://github.com/ryanb/cancan.git
== Setup
View
22 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
Please sign in to comment.
Something went wrong with that request. Please try again.