blocks 3.0.0.rc8 → 3.0.0.rc9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1981e0556f4728292d6fc55314cd8674c9f83429
4
- data.tar.gz: edb4a53aae3a6ab5aa73535f571400486b55b91b
3
+ metadata.gz: c873deb32381d56c053b7505ae57809532da555c
4
+ data.tar.gz: 2e6e465f4933a97fd98bae909826655a66ac86da
5
5
  SHA512:
6
- metadata.gz: 925dc6a46ada68430d4066cf8d132b428e3a28e6c5f3eb1a733b9ab78444cca28a753112f8e46fd909cb84f9087d3d5d50e2c865ba11e972654ca9c88d8a269e
7
- data.tar.gz: a89b434fe46a3222c2a57c8d511b649a979702d9188db5c658fe62f8abb0490ea42d025ab1081667012c4a7322fa1d7dbfb2cea950bd791cdedcabcf4bc538f9
6
+ metadata.gz: aa8493bff4fdac63d593e75d46eaa770c1075d5e18c48ac7c95fd271b7fbe6b67e3d79623ea7b7bac80269961c286bab454c18ef89866f778f70c8a02e8b7972
7
+ data.tar.gz: 3fc1889eccf148a4d9907d0e4620b0248a27aa9ef694b88b1e8a72c6030533e08a4c08059a5655a36a7e57e16bbd59fae87ca917c8a3ed7043c2eef3d32f016e
@@ -10,4 +10,5 @@ Special thanks to the following people for helping advance this gem and its corr
10
10
  * [Jon Phillips](https://github.com/elguapo1611) - For helping me work out syntax and use cases for the Blocks gem
11
11
  * [Various people and teams at LivingSocial](https://www.livingsocial.com/) - For allowing and believing in me to run with an experimental and unproven technology to help my gem start to take shape into what it is today.
12
12
  * [Various people at MobileCause](https://www.mobilecause.com/) - For helping me to advance my vision for this gem into what it is today and what is being documented here.
13
- * [Alexis Gormley](https://github.com/n2diving) - For suggesting the [Slate theme](https://github.com/lord/slate) for the documentation, designing the gem's branding, and proofing the documentation.
13
+ * [Alexis Gormley](https://github.com/n2diving) - For suggesting the [Slate theme](https://github.com/lord/slate) for the documentation, designing the gem's branding, and proofing the documentation.
14
+ * [Vaughn Weiss](https://github.com/VonTeacher) - For reviewing and revising the Blocks Docs.
@@ -2,7 +2,7 @@ module Blocks
2
2
  class BlockRenderer < AbstractRenderer
3
3
  def render(*args, runtime_context)
4
4
  render_item = runtime_context.render_item
5
- if render_item.is_a?(String)
5
+ if render_item.is_a?(String) || render_item.respond_to?(:to_partial_path)
6
6
  output_buffer << partial_renderer.render(render_item, runtime_context)
7
7
  elsif render_item.is_a?(Proc)
8
8
  args = args + runtime_context.runtime_args
@@ -1,3 +1,3 @@
1
1
  module Blocks
2
- VERSION = "3.0.0.rc8"
2
+ VERSION = "3.0.0.rc9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc8
4
+ version: 3.0.0.rc9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Hunter