G5 / storext

Add type-casting and other features on top of ActiveRecord::Store.store_accessor
MIT License
210 stars 55 forks source link

Remove the dependency on Rails #50

Closed aub closed 6 years ago

aub commented 6 years ago

The main goal of this is to remove the dependency on the rails gem, since the library seems to only use activesupport. Along the way I found that some of the dependencies were specified in a wonky way and that the tests didn't work at all with Appraisal, so this also fixes those issues. The changes were:

ramontayag commented 6 years ago

This should work but I believe it will continue to require active record as well.

ramontayag commented 6 years ago

@aub I've been interested in seeing this happen. I believe we'd need some way to easily manage the migrations in the tests, still rely on ActiveRecord, but at least we can remove the dependency on Rails directly.

ramontayag commented 6 years ago

I realized that we don't have to remove the dependency for development. Just production! Check this out: https://github.com/G5/storext/pull/54