james2m / canard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
MIT License
125 stars 28 forks source link

cancancan support #20

Closed jondkinney closed 9 years ago

jondkinney commented 10 years ago

Hi there,

Thanks for this gem, I like it quite a bit. I'm curious about support for cancancan. I noticed that it seems to be in the gemspec on github, but perhaps the latest code is not released as a gem? For now I've specified the master branch of this repo on my gemfile and then cancancan was installed as a dependency of canard. Any plans to release those 6 month old changes to gem land? Or perhaps I'm just doing something wrong since I was still seeing cancan installed when just using gem 'canard' in my gemfile.

Thanks!

james2m commented 10 years ago

Yes, plans to release, but in the meantime the master branch is good.

Sorry it's been a while for the release, I've been either busy, travelling or both.

I will get the gem out the door in the next 3 weeks when I have some wifi again!=

jondkinney commented 9 years ago

Hi @james2m I submitted a PR #22 that changes the gemspec to just rely on cancancan which is referenced in this issue #21. Hopefully you can merge it in and kill several of my noisy birds* with one stone :)

james2m commented 9 years ago

Hey @jondkinney thanks. That's merged. I'll do a proper release soon, just a little backed up with other work so if it's OK I'll leave it on master.