Skip to content

mashion/calumma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calumma

Calumma is a ruby port of the Netflix Archaius project. We've named it Calumma, because it's a chameleon just like Archaius.

Installation

Add this line to your application's Gemfile:

gem 'calumma'

And then execute:

$ bundle

Or install it yourself as:

$ gem install calumma

Usage

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A port of Netflix's Archaius to Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages