comfortable_mexican_sofa 1.5.5 → 1.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.5
1
+ 1.5.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "comfortable_mexican_sofa"
8
- s.version = "1.5.5"
8
+ s.version = "1.5.6"
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"]
@@ -46,10 +46,10 @@ module ComfortableMexicanSofa::RenderMethods
46
46
  if @cms_layout = @cms_site && @cms_site.layouts.find_by_slug(slug)
47
47
  cms_app_layout = @cms_layout.try(:app_layout)
48
48
  cms_page = @cms_site.pages.build(:layout => @cms_layout)
49
- cms_blocks = options.delete(:cms_blocks) || { :content => render_to_string }
49
+ cms_blocks = options.delete(:cms_blocks) || { :content => render_to_string(:layout => false)}
50
50
  cms_blocks.each do |block_label, value|
51
51
  content = if value.is_a?(Hash)
52
- render_to_string(value.keys.first.to_sym => value[value.keys.first])
52
+ render_to_string(value.keys.first.to_sym => value[value.keys.first], :layout => false)
53
53
  else
54
54
  value.to_s
55
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfortable_mexican_sofa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.5
4
+ version: 1.5.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-10-04 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70349048422300 !ruby/object:Gem::Requirement
17
+ requirement: &70293875496980 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70349048422300
25
+ version_requirements: *70293875496980
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: active_link_to
28
- requirement: &70349048421660 !ruby/object:Gem::Requirement
28
+ requirement: &70293875496220 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70349048421660
36
+ version_requirements: *70293875496220
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: paperclip
39
- requirement: &70349048421060 !ruby/object:Gem::Requirement
39
+ requirement: &70293875495280 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 2.3.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70349048421060
47
+ version_requirements: *70293875495280
48
48
  description: ''
49
49
  email: oleg@theworkinggroup.ca
50
50
  executables: []
@@ -358,7 +358,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
358
  version: '0'
359
359
  segments:
360
360
  - 0
361
- hash: 3379896773245428729
361
+ hash: 1530592833627171343
362
362
  required_rubygems_version: !ruby/object:Gem::Requirement
363
363
  none: false
364
364
  requirements: