Closed stanislaw closed 13 years ago
latest code-spec release (0.2.11) should fix this dependency bug!
Thanks for the answer, but the latest gem version is 0.2.9.
Sorry, i'll use repository version for a while.
Repository version also don't have 0.2.11.
Sorry, I did a fire and forget. The gemspec had not been added to git so it never pushed or released the gem. Moving too fast!
BTW: I just made a commit to the rails_31 branch of cancan_permits with some logic for loading categories and some logic for role group permits. Even included an example in the README. Check it out when you get there...
Yeah I see commit. Branch master ;) Already looking at it. Thank you.
Also, you are more than welcome to do some refactorings in this branch to reduce the modules/classes into smaller, more logical parts, create smaller API methods with private and protected helper methods and so on... Fx the base_permit.rb class is now waaaaay too big and has too much varied responsibility in one place. All the load logic could be put in a seperate module and included. Same goes for the #can, #cannot and #owns. Have fun!
Forked repository. Trying to run rspec spec/ in plugins directory.
Have dependencies conflict:
Fetching source index for http://rubygems.org/ Bundler could not find compatible versions for gem "sugar-high": In Gemfile: code-spec (~> 0.2.9) depends on sugar-high (~> 0.3.0)