comeara / pillar

Pillar manages migrations for your Cassandra data stores.
https://github.com/comeara/pillar
MIT License
111 stars 64 forks source link

Create registry from specified files #20

Closed sadowskik closed 8 years ago

sadowskik commented 9 years ago

It would be nice to have a possibility to create Registry not only from a specific directory but also from files provided explicitly.

This pull request opens up this possibility. Registry can be instantiated in the following way:

val reg = Registry.fromFiles(Seq(new File(...), new File(...), ...))
comeara commented 9 years ago

Looks like a nice addition. Thanks for the contribution.

I'll have a look this weekend.