README.md in rails_config-0.4.2 vs README.md in rails_config-0.5.0.beta1
- old
+ new
@@ -1,5 +1,6 @@
+[![Build Status](https://api.travis-ci.org/railsconfig/rails_config.png?branch=master)](http://travis-ci.org/railsconfig/rails_config)
[![Gem Version](https://badge.fury.io/rb/rails_config.svg)](http://badge.fury.io/rb/rails_config)
[![Dependency Status](https://gemnasium.com/railsjedi/rails_config.svg)](https://gemnasium.com/railsjedi/rails_config)
# RailsConfig
@@ -108,14 +109,14 @@
Config entries are compiled from:
config/settings.yml
config/settings/#{environment}.yml
config/environments/#{environment}.yml
-
+
config/settings.local.yml
config/settings/#{environment}.local.yml
- config/environments/#{environment}.local.yml
+ config/environments/#{environment}.local.yml
Settings defined in files that are lower in the list override settings higher.
### Reloading settings
@@ -152,11 +153,11 @@
#{Rails.root}/config/environments/production.yml
```
### Developer specific config files
-If you want to have local settings, specific to your machine or development environment,
+If you want to have local settings, specific to your machine or development environment,
you can use the following files, which are automatically `.gitignored` :
Rails.root.join("config", "settings.local.yml").to_s,
Rails.root.join("config", "settings", "#{Rails.env}.local.yml").to_s,
Rails.root.join("config", "environments", "#{Rails.env}.local.yml").to_s
@@ -178,10 +179,10 @@
```ruby
Settings.add_source!("#{Rails.root}/config/settings/local.yml")
Settings.reload!
```
-> Note: this is an example usage, it is easier to just use the default local files `settings.local.yml, settings/#{Rails.env}.local.yml and environments/#{Rails.env}.local.yml`
+> Note: this is an example usage, it is easier to just use the default local files `settings.local.yml, settings/#{Rails.env}.local.yml and environments/#{Rails.env}.local.yml`
> for your developer specific settings.
## Embedded Ruby (ERB)
Embedded Ruby is allowed in the configuration files. See examples below.