0.0
The project is in a healthy, maintained state
Toys template for applications configuration.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.5.0
~> 0.15.3
 Project Readme

Config Toys

Cirrus CI - Base Branch Build Status Codecov branch Code Climate Depfu Inline docs Gem License

Toys template for applications configuration, like Flame, but not necessarily.

Installation

Add this line to your application's Gemfile:

gem 'config_toys'

And then execute:

bundle install

Or install it yourself as:

gem install config_toys

Usage

## .toys/.toys.rb
require 'config_toys'
## `:config_dir` can be a String or a Proc, default is `-> { "#{context_directory}/config" }`
expand ConfigToys::Template, config_dir: "#{__dir__}/../config"

Development

After checking out the repo, run bundle install to install dependencies.

Then, run toys rspec to run the tests.

To install this gem onto your local machine, run toys gem install.

To release a new version, run toys gem release %version%. See how it works here.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

The gem is available as open source under the terms of the MIT License.