configatron 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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">&lt;&lt;</span> <span class="ruby-node">&quot;#{path.join('.')}.#{k} #=&gt; #{v.inspect}&quot;</span>
348
+ 43: <span class="ruby-identifier">f_out</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;#{path.join('.')}.#{k} = #{v.inspect}&quot;</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">&quot;\n&quot;</span>)
data/doc/created.rid CHANGED
@@ -1 +1 @@
1
- Fri, 03 Oct 2008 13:27:14 -0400
1
+ Fri, 03 Oct 2008 13:36:31 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Oct 03 13:24:52 -0400 2008</td>
59
+ <td>Fri Oct 03 13:36:16 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -40,7 +40,7 @@ class Configatron
40
40
  end
41
41
  end
42
42
  else
43
- f_out << "#{path.join('.')}.#{k} #=> #{v.inspect}"
43
+ f_out << "#{path.join('.')}.#{k} = #{v.inspect}"
44
44
  end
45
45
  end
46
46
  f_out.compact.sort.join("\n")
@@ -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 #=> "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
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configatron
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates