README.md in configatron-2.10.0 vs README.md in configatron-2.11.0
- old
+ new
@@ -58,11 +58,11 @@
### Hash/YAML
You can configure configatron from a hash as well (this is really only useful in testing or for data driven configurat, it's not recommended for actual configuration):
```ruby
- configatron.configure_from_hash({:email => {:pop => {:address => 'pop.example.com', :port => 110}}, :smtp => {:address => 'smtp.example.com'}})####
+ configatron.configure_from_hash({:email => {:pop => {:address => 'pop.example.com', :port => 110}}, :smtp => {:address => 'smtp.example.com'}})####
configatron.email.pop.address # => 'pop.example.com'
configatron.email.pop.port # => 110
# and so on...
```
@@ -93,11 +93,11 @@
Of course you can update a single parameter n levels deep as well:
```ruby
configatron.email.pop.address = "pop2.example.com"
-
+
configatron.email.pop.address # => "pop2.example.com"
configatron.email.smtp.address # => "smtp.example.com"
```
### Temp Configurations
@@ -158,15 +158,15 @@
configatron.page_caching.servers = configatron.memcached.servers
configatron.object_caching.servers = configatron.memcached.servers
end
```
-Now, we could've written that slightly differently, but it helps to illustrate the point. With Configatron you can create `Delayed` and `Dynamic` settings.
+Now, we could've written that slightly differently, but it helps to illustrate the point. With Configatron you can create `Delayed` and `Dynamic` settings.
#### Delayed
-With `Delayed` settings execution of the setting doesn't happen until the first time it is executed.
+With `Delayed` settings execution of the setting doesn't happen until the first time it is executed.
```ruby
configatron.memcached.servers = ['127.0.0.1:11211']
configatron.page_caching.servers = Configatron::Delayed.new {configatron.memcached.servers}
configatron.object_caching.servers = Configatron::Delayed.new {configatron.memcached.servers}
@@ -223,19 +223,20 @@
* Mark Bates
* Kurtis Rainbolt-Greene
* Rob Sanheim
* Cody Maggard
* Jean-Denis Vauguet
-* Torsten Schönebaum
-* Mat Brown
-* Simon Menke
* chatgris
+* Mat Brown
* Gleb Pomykalov
+* Torsten Schönebaum
+* Simon Menke
* Casper Gripenberg
* mattelacchiato
* Artiom Diomin
-* Tim Riley
* Rick Fletcher
+* Tim Riley
* joe miller
-* Brandon Dimcheff
* Dan Pickett
+* Brandon Dimcheff
+* Greg Brockman
* Josh Nichols
\ No newline at end of file