manukall / phoenix_token_auth

Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps.
MIT License
163 stars 39 forks source link

Loosen Ecto version for Phoenix 1.0 compatibility #43

Closed clekstro closed 9 years ago

clekstro commented 9 years ago

When attempting to install with a new Phoenix app, there are Ecto version conflicts. This should resolve them.

manukall commented 9 years ago

thanks @clekstro. i'm merging that and will release a new version.

manukall commented 9 years ago

sorry, had to revert the merge.

ecto's api has changed and at least validate_unique was replaced by uniqueness_constraint. so before allowing newer ecto versions, we need to fix that. do you want to do that? i'm not actively using this library myself anymore, so it wouldn't be top priority for me to work on it...

clekstro commented 9 years ago

@manukall Sorry for the churn. I'm totally new to Ecto, but I can have a look. Out of curiosity, are you using something different or just not working with Phoenix atm?

manukall commented 9 years ago

no problem. i appreciate you contributing.

i'm working on http://www.projecttalk.io at the moment. still phoenix, but it's not a SPA, so i don't need token auth. i'm using https://github.com/scrogson/oauth2 there, as it's tied to Github anyway.