Calumma is a ruby port of the Netflix Archaius project. We've named it Calumma, because it's a chameleon just like Archaius.
Add this line to your application's Gemfile:
gem 'calumma'
And then execute:
$ bundle
Or install it yourself as:
$ gem install calumma
Though not yet implemented, you should be able to use Calumma like so:
config:
default_response: Hello World
app_code:
class MyWebApp
include Calumma
dynamic_property :default_response
def response
default_response
end
end
Now if you change your config.yml, it will automatically get picked up in your app code without you restarting your application.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request