configatron 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -345,7 +345,7 @@ href="http://simplypowerful.1984.cz/goodlibs/1.2006.05.23">simplypowerful.1984.c
|
|
345
345
|
40: <span class="ruby-keyword kw">end</span>
|
346
346
|
41: <span class="ruby-keyword kw">end</span>
|
347
347
|
42: <span class="ruby-keyword kw">else</span>
|
348
|
-
43: <span class="ruby-identifier">f_out</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{path.join('.')}.#{k}
|
348
|
+
43: <span class="ruby-identifier">f_out</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"#{path.join('.')}.#{k} = #{v.inspect}"</span>
|
349
349
|
44: <span class="ruby-keyword kw">end</span>
|
350
350
|
45: <span class="ruby-keyword kw">end</span>
|
351
351
|
46: <span class="ruby-identifier">f_out</span>.<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">sort</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">"\n"</span>)
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Fri, 03 Oct 2008 13:
|
1
|
+
Fri, 03 Oct 2008 13:36:31 -0400
|
data/lib/configatron/store.rb
CHANGED
@@ -220,12 +220,12 @@ describe "configatron" do
|
|
220
220
|
configatron.numbers.big.one.hundred = '100'
|
221
221
|
|
222
222
|
configatron.inspect.should == %{
|
223
|
-
configatron.letters.a
|
224
|
-
configatron.letters.b
|
225
|
-
configatron.numbers.big.one.hundred
|
226
|
-
configatron.numbers.small.one
|
227
|
-
configatron.numbers.small.others
|
228
|
-
configatron.one
|
223
|
+
configatron.letters.a = "A"
|
224
|
+
configatron.letters.b = "B"
|
225
|
+
configatron.numbers.big.one.hundred = "100"
|
226
|
+
configatron.numbers.small.one = 1
|
227
|
+
configatron.numbers.small.others = [2, 3]
|
228
|
+
configatron.one = 1
|
229
229
|
}.strip
|
230
230
|
|
231
231
|
end
|