comfortable_mexican_sofa 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/models/cms/layout.rb +2 -2
- data/comfortable_mexican_sofa.gemspec +2 -2
- data/lib/comfortable_mexican_sofa/fixtures.rb +4 -4
- metadata +9 -9
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.6.
|
|
1
|
+
1.6.5
|
data/app/models/cms/layout.rb
CHANGED
|
@@ -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.
|
|
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-
|
|
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] ||
|
|
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 =
|
|
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] ||
|
|
162
|
+
snippet.label = attributes[:label] || identifier.titleize
|
|
163
163
|
end
|
|
164
164
|
elsif snippet.new_record?
|
|
165
|
-
snippet.label =
|
|
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
|
+
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-
|
|
13
|
+
date: 2012-01-04 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
17
|
-
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: *
|
|
25
|
+
version_requirements: *70306773927240
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: active_link_to
|
|
28
|
-
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: *
|
|
36
|
+
version_requirements: *70306773926480
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
38
|
name: paperclip
|
|
39
|
-
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: *
|
|
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:
|
|
363
|
+
hash: 2852536089884918471
|
|
364
364
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
365
365
|
none: false
|
|
366
366
|
requirements:
|