comfortable_mexican_sofa 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.md +5 -6
- data/VERSION +1 -1
- data/app/assets/javascripts/comfortable_mexican_sofa/application.js +1 -1
- data/app/views/cms_admin/uploads/_index.html.erb +1 -1
- data/app/views/layouts/cms_admin/_head.html.erb +2 -2
- data/comfortable_mexican_sofa.gemspec +5 -5
- metadata +10 -10
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# ComfortableMexicanSofa (CMS Engine) [![Build Status](https://secure.travis-ci.org/twg/comfortable-mexican-sofa.png)](http://travis-ci.org/twg/comfortable-mexican-sofa)
|
2
2
|
|
3
|
-
ComfortableMexicanSofa is a powerful CMS Engine for your Rails 3 applications.
|
3
|
+
ComfortableMexicanSofa is a powerful CMS Engine for your Rails 3 applications.
|
4
4
|
|
5
5
|
Features
|
6
6
|
--------
|
7
|
-
* Powerful page templating capability
|
8
7
|
* Simple integration with Rails 3.0 and 3.1 apps
|
8
|
+
* Build your application in Rails, not in CMS
|
9
|
+
* Powerful page templating capability
|
9
10
|
* Multiple Sites from a single installation
|
10
11
|
* Multilingual
|
11
12
|
* Fixtures for initial content population
|
@@ -46,6 +47,8 @@ After creating a Site, you need to make a Layout. Layout is the template of your
|
|
46
47
|
|
47
48
|
Once you have a layout, you may start creating pages and populating content. It's that easy.
|
48
49
|
|
50
|
+
For more information please [see Wiki pages](https://github.com/twg/comfortable-mexican-sofa/wiki).
|
51
|
+
|
49
52
|
![Sofa's Page Edit View](https://github.com/twg/comfortable-mexican-sofa/raw/master/doc/page_editing.png)
|
50
53
|
|
51
54
|
CMS Tags Overview
|
@@ -94,10 +97,6 @@ Here's a number of tag variations:
|
|
94
97
|
{{ cms:partial:path/to/partial }} # same as <%= render :partial => 'path/to/partial' %>
|
95
98
|
{{ cms:partial:path/to/partial:a:b }} # same as <%= render :partial => 'path/to/partial',
|
96
99
|
# :locals => { :param_1 => 'a', :param_1 => 'b' } %>
|
97
|
-
|
98
|
-
Multiple Sites
|
99
|
-
--------------
|
100
|
-
Sofa is able to manage multiple sites from the same application. For instance: 'site-a.example.com' and 'site-b.example.com' will have distinct set of layouts, pages, snippets, etc. To enable multi-site functionality make sure you have this setting in the initializer: `config.enable_multiple_sites = true`.
|
101
100
|
|
102
101
|
Integrating CMS with your app
|
103
102
|
-----------------------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.3
|
@@ -151,7 +151,7 @@ $.CMS = function(){
|
|
151
151
|
unique_names: true,
|
152
152
|
multipart: true,
|
153
153
|
multipart_params: { authenticity_token: auth_token, format: 'js' },
|
154
|
-
url: '
|
154
|
+
url: $('#file_uploads').data('path')
|
155
155
|
});
|
156
156
|
uploader.init();
|
157
157
|
uploader.bind('FilesAdded', function(up, files) {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
<meta name="cms-admin-path" content="<%= ComfortableMexicanSofa.config.admin_route_prefix %>" />
|
7
7
|
<meta name="cms-locale" content="<%= I18n.locale %>" />
|
8
|
-
<meta name="cms-js-assets-base-path" content="<%= ComfortableMexicanSofa.asset_pipeline_enabled?? '/assets' : '/
|
8
|
+
<meta name="cms-js-assets-base-path" content="<%= ComfortableMexicanSofa.asset_pipeline_enabled?? '/assets' : '/javascripts' %>/comfortable_mexican_sofa"/>
|
9
9
|
|
10
10
|
<% if ComfortableMexicanSofa.asset_pipeline_enabled? %>
|
11
11
|
|
@@ -40,4 +40,4 @@
|
|
40
40
|
|
41
41
|
<%= yield :head %>
|
42
42
|
<%= cms_hook :html_head %>
|
43
|
-
</head>
|
43
|
+
</head>
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{comfortable_mexican_sofa}
|
8
|
-
s.version = "1.3.
|
8
|
+
s.version = "1.3.3"
|
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 = %q{2011-07-
|
12
|
+
s.date = %q{2011-07-21}
|
13
13
|
s.description = %q{}
|
14
14
|
s.email = %q{oleg@theworkinggroup.ca}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -280,16 +280,16 @@ Gem::Specification.new do |s|
|
|
280
280
|
|
281
281
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
282
282
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
283
|
-
s.add_runtime_dependency(%q<active_link_to>, [">= 0.0.
|
283
|
+
s.add_runtime_dependency(%q<active_link_to>, [">= 0.0.10"])
|
284
284
|
s.add_runtime_dependency(%q<paperclip>, [">= 2.3.14"])
|
285
285
|
else
|
286
286
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
287
|
-
s.add_dependency(%q<active_link_to>, [">= 0.0.
|
287
|
+
s.add_dependency(%q<active_link_to>, [">= 0.0.10"])
|
288
288
|
s.add_dependency(%q<paperclip>, [">= 2.3.14"])
|
289
289
|
end
|
290
290
|
else
|
291
291
|
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
292
|
-
s.add_dependency(%q<active_link_to>, [">= 0.0.
|
292
|
+
s.add_dependency(%q<active_link_to>, [">= 0.0.10"])
|
293
293
|
s.add_dependency(%q<paperclip>, [">= 2.3.14"])
|
294
294
|
end
|
295
295
|
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.3.
|
4
|
+
version: 1.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,12 +10,12 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-21 00:00:00.000000000 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement: &
|
18
|
+
requirement: &70165032140020 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,21 +23,21 @@ dependencies:
|
|
23
23
|
version: 3.0.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *70165032140020
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: active_link_to
|
29
|
-
requirement: &
|
29
|
+
requirement: &70165032132520 !ruby/object:Gem::Requirement
|
30
30
|
none: false
|
31
31
|
requirements:
|
32
32
|
- - ! '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.0.
|
34
|
+
version: 0.0.10
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
|
-
version_requirements: *
|
37
|
+
version_requirements: *70165032132520
|
38
38
|
- !ruby/object:Gem::Dependency
|
39
39
|
name: paperclip
|
40
|
-
requirement: &
|
40
|
+
requirement: &70165032128560 !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: 2.3.14
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
|
-
version_requirements: *
|
48
|
+
version_requirements: *70165032128560
|
49
49
|
description: ''
|
50
50
|
email: oleg@theworkinggroup.ca
|
51
51
|
executables: []
|
@@ -321,7 +321,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
321
321
|
version: '0'
|
322
322
|
segments:
|
323
323
|
- 0
|
324
|
-
hash:
|
324
|
+
hash: 2149008651056251806
|
325
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
326
326
|
none: false
|
327
327
|
requirements:
|