liquid_cms 0.3.0.2 → 0.3.0.3

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/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
- migration_template 'migration.rb', File.join('db', 'migrate', 'create_liquid_cms_setup')
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)
@@ -1,8 +1,8 @@
1
1
  #content {
2
2
  border-left: 1px solid #DDD;
3
- width: 80%;
4
- padding-left: 2em;
5
- margin-left: 1.5em;
3
+ margin-left: 23em;
4
+ margin-right: 1em;
5
+ padding-left: 1em;
6
6
  }
7
7
  h4 {
8
8
  font-size: 10pt;
@@ -45,9 +45,8 @@ a img {
45
45
  }
46
46
 
47
47
  #content {
48
- float: left;
49
- margin-left: 2em;
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: 2em;
63
- width: 250px;
61
+ margin-left: 1em;
62
+ width: 18em;
64
63
  }
65
64
  #sidebar h2 {
66
65
  font-size: 12pt;
@@ -1,3 +1,3 @@
1
1
  module Cms
2
- VERSION = "0.3.0.2"
2
+ VERSION = "0.3.0.3"
3
3
  end
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: 83
4
+ hash: 81
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
9
  - 0
10
- - 2
11
- version: 0.3.0.2
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: 2010-10-28 00:00:00 -05:00
20
+ date: 2011-02-13 00:00:00 -06:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency