hsgubert / cassandra_migrations

Cassandra Migrations is a Cassandra database schema migration library for Rails applications.
MIT License
45 stars 43 forks source link

Remove Rails dependency? #52

Open subvertallchris opened 9 years ago

subvertallchris commented 9 years ago

It would be nice if this gem could be used without requiring all of Rails. Instead, it could just depend on the pieces of ActiveSupport and ActiveRecord (I'm guessing you need some AR?) that it's using.

Would you accept a PR that accomplished this?

bsbodden commented 9 years ago

Sure, we had that in the list of things to do. Just never got to it. So PR is welcomed!

subvertallchris commented 9 years ago

Cool. I spent a few minutes on it and got about 2/3 of the tests passing, let's hope the rest is this easy. :-D

bsbodden commented 9 years ago

We probably need a Rails dummy app in the /spec directory to test this the "Rails Way" :-)

bsbodden commented 9 years ago

@subvertallchris any updates?

subvertallchris commented 9 years ago

Sorry, got a little sidetracked on a different piece of the project. I'll be able to poke at it again in a week or two.