json_builder 1.1.1 → 1.1.2

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.
@@ -64,7 +64,7 @@ module JsonBuilder
64
64
  _end_tag
65
65
  end
66
66
 
67
- @target.gsub!(/,(\}|\}+)$/, '\1')
67
+ @target
68
68
  end
69
69
 
70
70
  # Append text to the output target. Escape any markup. May be
@@ -177,7 +177,7 @@ module JsonBuilder
177
177
 
178
178
  # Return the target of the builder.
179
179
  def target!
180
- @target
180
+ @target.gsub!(/,(\}|\}+)$/, '\1')
181
181
  end
182
182
 
183
183
  private
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Garrett Bjerkhoel