comfortable_mexican_sofa 1.0.39 → 1.0.40

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.39
1
+ 1.0.40
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{comfortable_mexican_sofa}
8
- s.version = "1.0.39"
8
+ s.version = "1.0.40"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Khabarov", "The Working Group Inc"]
@@ -11,7 +11,7 @@ module ComfortableMexicanSofa::ViewHooks
11
11
  (self.hooks[name.to_sym] || []).each do |path|
12
12
  out += template.render({:partial => path}.merge(options))
13
13
  end
14
- return out
14
+ return out.html_safe
15
15
  end
16
16
 
17
17
  # Will declare a partial that will be rendered for this hook
@@ -1 +1 @@
1
- hook_content_2
1
+ <hook_content_2>
@@ -19,7 +19,7 @@ class ViewHooksTest < ActionDispatch::IntegrationTest
19
19
  http_auth :get, cms_admin_sites_path
20
20
  assert_response :success
21
21
  assert_match /hook_content/, response.body
22
- assert_match /hook_content_2/, response.body
22
+ assert_match /<hook_content_2>/, response.body
23
23
  end
24
24
 
25
25
  def test_hooks_rendering_with_no_hook
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 39
9
- version: 1.0.39
8
+ - 40
9
+ version: 1.0.40
10
10
  platform: ruby
11
11
  authors:
12
12
  - Oleg Khabarov
@@ -368,7 +368,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
368
368
  requirements:
369
369
  - - ">="
370
370
  - !ruby/object:Gem::Version
371
- hash: -1835926868299303327
371
+ hash: -3484483560763039212
372
372
  segments:
373
373
  - 0
374
374
  version: "0"