comfortable_mexican_sofa 1.6.4 → 1.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.4
1
+ 1.6.5
@@ -63,10 +63,10 @@ class Cms::Layout < ActiveRecord::Base
63
63
  if parent.merged_content.match(regex)
64
64
  parent.merged_content.gsub(regex, content.to_s)
65
65
  else
66
- content
66
+ content.to_s
67
67
  end
68
68
  else
69
- content
69
+ content.to_s
70
70
  end
71
71
  end
72
72
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "comfortable_mexican_sofa"
8
- s.version = "1.6.4"
8
+ s.version = "1.6.5"
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"]
12
- s.date = "2012-01-03"
12
+ s.date = "2012-01-04"
13
13
  s.description = ""
14
14
  s.email = "oleg@theworkinggroup.ca"
15
15
  s.extra_rdoc_files = [
@@ -27,11 +27,11 @@ module ComfortableMexicanSofa::Fixtures
27
27
  if File.exists?(file_path = File.join(path, "_#{identifier}.yml"))
28
28
  if layout.new_record? || File.mtime(file_path) > layout.updated_at
29
29
  attributes = YAML.load_file(file_path).symbolize_keys!
30
- layout.label = attributes[:label] || slug.titleize
30
+ layout.label = attributes[:label] || identifier.titleize
31
31
  layout.app_layout = attributes[:app_layout] || parent.try(:app_layout)
32
32
  end
33
33
  elsif layout.new_record?
34
- layout.label = slug.titleize
34
+ layout.label = identifier.titleize
35
35
  layout.app_layout = parent.try(:app_layout)
36
36
  end
37
37
 
@@ -159,10 +159,10 @@ module ComfortableMexicanSofa::Fixtures
159
159
  if File.exists?(file_path = File.join(path, "_#{identifier}.yml"))
160
160
  if snippet.new_record? || File.mtime(file_path) > snippet.updated_at
161
161
  attributes = YAML.load_file(file_path).symbolize_keys!
162
- snippet.label = attributes[:label] || slug.titleize
162
+ snippet.label = attributes[:label] || identifier.titleize
163
163
  end
164
164
  elsif snippet.new_record?
165
- snippet.label = slug.titleize
165
+ snippet.label = identifier.titleize
166
166
  end
167
167
 
168
168
  # updating content
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.6.4
4
+ version: 1.6.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-01-03 00:00:00.000000000Z
13
+ date: 2012-01-04 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70105868102320 !ruby/object:Gem::Requirement
17
+ requirement: &70306773927240 !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: *70105868102320
25
+ version_requirements: *70306773927240
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: active_link_to
28
- requirement: &70105868101600 !ruby/object:Gem::Requirement
28
+ requirement: &70306773926480 !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: *70105868101600
36
+ version_requirements: *70306773926480
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: paperclip
39
- requirement: &70105868100660 !ruby/object:Gem::Requirement
39
+ requirement: &70306773925880 !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: *70105868100660
47
+ version_requirements: *70306773925880
48
48
  description: ''
49
49
  email: oleg@theworkinggroup.ca
50
50
  executables: []
@@ -360,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
360
360
  version: '0'
361
361
  segments:
362
362
  - 0
363
- hash: 3884986161663546839
363
+ hash: 2852536089884918471
364
364
  required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  none: false
366
366
  requirements: