liquid_cms 0.3.0.2 → 0.3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -2
- data/app/views/cms/documentation/_preamble.html.erb +0 -2
- data/lib/generators/liquid_cms/install_generator.rb +6 -1
- data/lib/generators/liquid_cms/templates/public/cms/stylesheets/documentation.css +3 -3
- data/lib/generators/liquid_cms/templates/public/cms/stylesheets/styles.css +4 -5
- data/lib/liquid_cms/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
A context aware CMS Ruby on Rails engine that uses liquid templates.
|
4
4
|
|
5
|
-
If you're using rails 2, use the 0.2.x series of this gem.
|
5
|
+
If you're using rails 2, use the 0.2.x series of this gem. https://github.com/redlinesoftware/liquid_cms/tree/rails2
|
6
6
|
|
7
|
-
If you're using rails 3, use the 0.3.x series of this gem.
|
7
|
+
If you're using rails 3, use the 0.3.x series of this gem. https://github.com/redlinesoftware/liquid_cms
|
8
|
+
|
9
|
+
{rubygems page}[https://rubygems.org/gems/liquid_cms]
|
8
10
|
|
9
11
|
See the {wiki page}[http://github.com/redlinesoftware/liquid_cms/wiki] for additional documentation on usage and customizations... currently a work in progress.
|
10
12
|
|
@@ -1,5 +1,3 @@
|
|
1
1
|
<h1>CMS Liquid Documentation</h1>
|
2
2
|
|
3
3
|
<p>A good start for designers which also describes the default filters and tags available can be viewed here... <%= link_to nil, "http://wiki.github.com/tobi/liquid/liquid-for-designers" %></p>
|
4
|
-
|
5
|
-
<p>The following are customisations to the liquid template system for use in the dealerships1st application.</p>
|
@@ -8,7 +8,12 @@ module LiquidCms
|
|
8
8
|
source_root File.expand_path('templates', File.dirname(__FILE__))
|
9
9
|
|
10
10
|
def copy_migration_file
|
11
|
-
|
11
|
+
name = 'create_liquid_cms_setup'
|
12
|
+
if self.class.migration_exists?(File.join('db', 'migrate'), name).blank?
|
13
|
+
migration_template 'migration.rb', File.join('db', 'migrate', name) if self.class.migration_exists?(File.join('db', 'migrate'), name).blank?
|
14
|
+
else
|
15
|
+
puts "Migration '#{name}' already exists... skipping"
|
16
|
+
end
|
12
17
|
end
|
13
18
|
|
14
19
|
def self.next_migration_number(migration_dir)
|
@@ -45,9 +45,8 @@ a img {
|
|
45
45
|
}
|
46
46
|
|
47
47
|
#content {
|
48
|
-
|
49
|
-
margin-
|
50
|
-
width: 70%;
|
48
|
+
margin-left: 23em;
|
49
|
+
margin-right: 1em;
|
51
50
|
}
|
52
51
|
#content h2 {
|
53
52
|
border-bottom: 1px solid #AAA;
|
@@ -59,8 +58,8 @@ a img {
|
|
59
58
|
background-color: #CFCFCF;
|
60
59
|
float: left;
|
61
60
|
padding: 0 1em;
|
62
|
-
margin-left:
|
63
|
-
width:
|
61
|
+
margin-left: 1em;
|
62
|
+
width: 18em;
|
64
63
|
}
|
65
64
|
#sidebar h2 {
|
66
65
|
font-size: 12pt;
|
data/lib/liquid_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: liquid_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 81
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 0
|
10
|
-
-
|
11
|
-
version: 0.3.0.
|
10
|
+
- 3
|
11
|
+
version: 0.3.0.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Andrew Kaspick
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date:
|
20
|
+
date: 2011-02-13 00:00:00 -06:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|