building-blocks 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.7
@@ -190,7 +190,7 @@ module BuildingBlocks
190
190
  end
191
191
 
192
192
  def render_block(name_or_container, args, runtime_options={})
193
- buffer = ActionView::NonConcattingString.new
193
+ buffer = ActiveSupport::SafeBuffer.new
194
194
 
195
195
  block_options = {}
196
196
  if (name_or_container.is_a?(BuildingBlocks::Container))
@@ -271,7 +271,7 @@ module BuildingBlocks
271
271
  options = options.merge(block_container.options)
272
272
  end
273
273
 
274
- buffer = ActionView::NonConcattingString.new
274
+ buffer = ActiveSupport::SafeBuffer.new
275
275
 
276
276
  unless blocks[before_name].nil?
277
277
  blocks[before_name].each do |block_container|
@@ -311,8 +311,8 @@ module BuildingBlocks
311
311
  options = options.merge(block_container.options)
312
312
  end
313
313
 
314
- buffer = ActionView::NonConcattingString.new
315
-
314
+ buffer = ActiveSupport::SafeBuffer.new
315
+
316
316
  unless blocks[after_name].nil?
317
317
  blocks[after_name].each do |block_container|
318
318
  buffer << view.capture(options.merge(block_container.options).merge(block_options).merge(runtime_options), &block_container.block)
@@ -328,4 +328,4 @@ module BuildingBlocks
328
328
  buffer
329
329
  end
330
330
  end
331
- end
331
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: building-blocks
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Hunter
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-07 00:00:00 -04:00
18
+ date: 2011-10-20 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency