<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,27 +2,26 @@
 
 Gem::Specification.new do |s|
   s.name = %q{jsonbuilder}
-  s.version = &quot;0.2.2&quot;
+  s.version = &quot;0.2.3&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;nov&quot;]
-  s.date = %q{2009-07-28}
+  s.date = %q{2009-10-07}
   s.description = %q{Builder::XmlMarkup like JsonBuilder}
   s.email = %q{nov@matake.jp}
   s.extra_rdoc_files = [&quot;README&quot;, &quot;ChangeLog&quot;]
-  s.files = [&quot;README&quot;, &quot;ChangeLog&quot;, &quot;Rakefile&quot;, &quot;spec/builder&quot;, &quot;spec/builder/array_mode_spec.rb&quot;, &quot;spec/builder/hash_structure_spec.rb&quot;, &quot;spec/builder/json_format_spec.rb&quot;, &quot;spec/builder/xml_markup_spec.rb&quot;, &quot;spec/ext&quot;, &quot;spec/ext/stackable_array_spec.rb&quot;, &quot;spec/ext/stackable_hash_spec.rb&quot;, &quot;spec/jsonbuilder_spec.rb&quot;, &quot;spec/spec_helper.rb&quot;, &quot;lib/builder&quot;, &quot;lib/builder/abstract.rb&quot;, &quot;lib/builder/hash_structure.rb&quot;, &quot;lib/builder/json_format.rb&quot;, &quot;lib/builder/xml_markup.rb&quot;, &quot;lib/ext&quot;, &quot;lib/ext/stackable_array.rb&quot;, &quot;lib/ext/stackable_hash.rb&quot;, &quot;lib/jsonbuilder.rb&quot;, &quot;lib/patch&quot;, &quot;lib/patch/active_support_json_decode.rb&quot;]
-  s.has_rdoc = true
+  s.files = [&quot;README&quot;, &quot;ChangeLog&quot;, &quot;Rakefile&quot;, &quot;spec/spec_helper.rb&quot;, &quot;spec/builder&quot;, &quot;spec/builder/xml_markup_spec.rb&quot;, &quot;spec/builder/json_format_spec.rb&quot;, &quot;spec/builder/array_mode_spec.rb&quot;, &quot;spec/builder/hash_structure_spec.rb&quot;, &quot;spec/ext&quot;, &quot;spec/ext/stackable_hash_spec.rb&quot;, &quot;spec/ext/stackable_array_spec.rb&quot;, &quot;spec/jsonbuilder_spec.rb&quot;, &quot;lib/builder&quot;, &quot;lib/builder/json_format.rb&quot;, &quot;lib/builder/abstract.rb&quot;, &quot;lib/builder/xml_markup.rb&quot;, &quot;lib/builder/hash_structure.rb&quot;, &quot;lib/jsonbuilder.rb&quot;, &quot;lib/patch&quot;, &quot;lib/patch/active_support_json_decode.rb&quot;, &quot;lib/ext&quot;, &quot;lib/ext/stackable_array.rb&quot;, &quot;lib/ext/stackable_hash.rb&quot;]
   s.homepage = %q{http://jsonbuilder.rubyforge.org}
   s.rdoc_options = [&quot;--title&quot;, &quot;jsonbuilder documentation&quot;, &quot;--charset&quot;, &quot;utf-8&quot;, &quot;--opname&quot;, &quot;index.html&quot;, &quot;--line-numbers&quot;, &quot;--main&quot;, &quot;README&quot;, &quot;--inline-source&quot;, &quot;--exclude&quot;, &quot;^(examples)/&quot;]
   s.require_paths = [&quot;lib&quot;]
   s.rubyforge_project = %q{jsonbuilder}
-  s.rubygems_version = %q{1.3.1}
+  s.rubygems_version = %q{1.3.5}
   s.summary = %q{Builder::XmlMarkup like JsonBuilder}
   s.test_files = [&quot;spec/jsonbuilder_spec.rb&quot;]
 
   if s.respond_to? :specification_version then
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
-    s.specification_version = 2
+    s.specification_version = 3
 
     if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
       s.add_runtime_dependency(%q&lt;builder&gt;, [&quot;&gt;= 0&quot;])</diff>
      <filename>jsonbuilder.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,8 @@ module Builder
     def target!
       if @include_root || @target.is_a?(Array)
         @target
+      elsif @root.nil?
+        @target
       else
         @target[@root]
       end
@@ -48,7 +50,11 @@ module Builder
       if @array_mode
         @target.current &lt;&lt; _target
       elsif _target.is_a?(Hash)
-        @target.current.merge!(_target)
+        if @target.current.nil?
+          @target.merge!(_target)
+        else
+          @target.current.merge!(_target)
+        end
       else
         @target.current = _target
       end
@@ -89,7 +95,7 @@ module Builder
 
     def _set_args(args, &amp;block)
       args.each do |arg|
-        case arg 
+        case arg
         when Hash
           self &lt;&lt; arg.stackable
         else</diff>
      <filename>lib/builder/hash_structure.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ module JsonBuilder
   module Version
     MAJOR = 0
     MINOR = 2
-    REVISION = 2
+    REVISION = 3
     class &lt;&lt; self
       def to_version
         &quot;#{MAJOR}.#{MINOR}.#{REVISION}&quot;
@@ -20,4 +20,4 @@ require 'builder/xml_markup'
 require 'builder/hash_structure'
 require 'builder/json_format'
 require 'ext/stackable_hash'
-require 'ext/stackable_array'
\ No newline at end of file
+require 'ext/stackable_array'</diff>
      <filename>lib/jsonbuilder.rb</filename>
    </modified>
    <modified>
      <diff>@@ -51,6 +51,17 @@ describe Builder::HashStructure, &quot;#&lt;&lt;&quot; do
     builder.target!.should == {:tags =&gt; &quot;value&quot;}
   end
 
+  it &quot;should merge without any tags&quot; do
+    builder = Builder::HashStructure.new
+    sub_builder = Builder::HashStructure.new
+    sub_builder.item do
+      sub_builder.text &quot;hello&quot;
+    end
+
+    builder &lt;&lt; sub_builder.target!
+    builder.target!.should == {:text =&gt; &quot;hello&quot;}
+  end
+
   it &quot;should merge its argument into current target&quot; do
     builder = Builder::HashStructure.new
     sub_builder = Builder::HashStructure.new
@@ -256,4 +267,4 @@ describe Builder::HashStructure, &quot;#_explore_key_and_args&quot; do
     builder.target!.should == {:tag =&gt; nil}
   end
 
-end
\ No newline at end of file
+end</diff>
      <filename>spec/builder/hash_structure_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f45ed406df2e7924a7bd1df7f5f58096c24d02db</id>
    </parent>
  </parents>
  <author>
    <name>Birkir A. Barkarson</name>
    <email>birkirb@cerego.com</email>
  </author>
  <url>http://github.com/nov/jsonbuilder/commit/ee73edeeaf67ecf88ed30c482a4d30fd31624a9b</url>
  <id>ee73edeeaf67ecf88ed30c482a4d30fd31624a9b</id>
  <committed-date>2009-10-07T03:16:48-07:00</committed-date>
  <authored-date>2009-10-07T03:16:48-07:00</authored-date>
  <message>Support for inserting into hash structures without tags.</message>
  <tree>d80aa26935bfabbf48b48bdc41b59290e16e65f1</tree>
  <committer>
    <name>Birkir A. Barkarson</name>
    <email>birkirb@cerego.com</email>
  </committer>
</commit>
