Permalink
Browse files

releasing version 1.3.4

  • Loading branch information...
1 parent 5a353c1 commit 04b523eea4bf8fed8f42df93fd488f6340274d09 @ryanb committed Aug 31, 2010
Showing with 8 additions and 3 deletions.
  1. +5 −0 CHANGELOG.rdoc
  2. +1 −1 cancan.gemspec
  3. +2 −2 spec/cancan/ability_spec.rb
View
@@ -1,3 +1,8 @@
+1.3.4 (August 31, 2010)
+
+* Don't stop at +cannot+ with hash conditions when checking class (thanks tamoya) - see issue #131
+
+
1.3.3 (August 20, 2010)
* Switching to Rspec namespace to remove deprecation warning in Rspec 2 - see issue #119
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "cancan"
- s.version = "1.3.3"
+ s.version = "1.3.4"
s.author = "Ryan Bates"
s.email = "ryan@railscasts.com"
s.homepage = "http://github.com/ryanb/cancan"
@@ -249,8 +249,8 @@
it "should not stop at cannot definition when comparing class" do
@ability.can :read, Array
@ability.cannot :read, Array, :first => 1
- @ability.can?(:read, [2,3,5]).should be_true
- @ability.can?(:read, [1,3,5]).should be_false
+ @ability.can?(:read, [2, 3, 5]).should be_true
+ @ability.can?(:read, [1, 3, 5]).should be_false
@ability.can?(:read, Array).should be_true
end

0 comments on commit 04b523e

Please sign in to comment.