refinerycms 0.9.6.23 → 0.9.6.24
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/config/application.rb +1 -1
- data/db/seeds.rb +6 -20
- data/readme.md +1 -1
- data/vendor/plugins/themes/lib/theme_server.rb +1 -1
- data/vendor/plugins/themes/rails/init.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.6.
|
1
|
+
0.9.6.24
|
data/config/application.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
|
3
3
|
|
4
4
|
# Specified gem version of Refinery to use when vendor/plugins/refinery/lib/refinery.rb is not present.
|
5
|
-
REFINERY_GEM_VERSION = '0.9.6.
|
5
|
+
REFINERY_GEM_VERSION = '0.9.6.24' unless defined? REFINERY_GEM_VERSION
|
6
6
|
|
7
7
|
# Boot Rails
|
8
8
|
require File.join(File.dirname(__FILE__), 'boot')
|
data/db/seeds.rb
CHANGED
@@ -45,25 +45,11 @@ Page.create(:title => "About Us",
|
|
45
45
|
:body => "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"
|
46
46
|
})
|
47
47
|
|
48
|
-
Page.create(:title => "News",
|
49
|
-
:link_url => "/news",
|
50
|
-
:menu_match => "^/news.*$",
|
51
|
-
:deletable => false,
|
52
|
-
:position => 3).parts.create(
|
53
|
-
{
|
54
|
-
:title => "body",
|
55
|
-
:body => "<p>Want to know the latest? Here's what has been happening.</p>"
|
56
|
-
}).page.parts.create(
|
57
|
-
{
|
58
|
-
:title => "Side Body",
|
59
|
-
:body => "<p>Here we post up the latest about us, along with events and updates you don't want to miss!</p>"
|
60
|
-
})
|
61
|
-
|
62
48
|
Page.create(:title => "Contact Us",
|
63
49
|
:link_url => "/inquiries/new",
|
64
50
|
:menu_match => "^/inquiries.*$",
|
65
51
|
:deletable => false,
|
66
|
-
:position =>
|
52
|
+
:position => 2).parts.create(
|
67
53
|
{
|
68
54
|
:title => "Body",
|
69
55
|
:body => "<p>Get in touch with us. Just use the form below and we'll get back to you as soon as we can.</p>"
|
@@ -77,7 +63,7 @@ Page.create(:title => "Thank You",
|
|
77
63
|
:menu_match => "^/inquiries/thank_you$",
|
78
64
|
:show_in_menu => false,
|
79
65
|
:deletable => false,
|
80
|
-
:position =>
|
66
|
+
:position => 3,
|
81
67
|
:parent_id => 4).parts.create(
|
82
68
|
{
|
83
69
|
:title => "Body",
|
@@ -88,7 +74,7 @@ Page.create(:title => "Page not found",
|
|
88
74
|
:menu_match => "^/404$",
|
89
75
|
:show_in_menu => false,
|
90
76
|
:deletable => false,
|
91
|
-
:position =>
|
77
|
+
:position => 4).parts.create(
|
92
78
|
{
|
93
79
|
:title => "Body",
|
94
80
|
:body => "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"
|
@@ -97,7 +83,7 @@ Page.create(:title => "Page not found",
|
|
97
83
|
Page.create(:title => "Privacy Policy",
|
98
84
|
:deletable => true,
|
99
85
|
:show_in_menu => false,
|
100
|
-
:position =>
|
86
|
+
:position => 5).parts.create(
|
101
87
|
{
|
102
88
|
:title => "Body",
|
103
89
|
:body => "<p><strong>We respect your privacy. We do not market, rent or sell our email list to any outside parties.</p><p>We need your e-mail address so that we can ensure that the people using our forms are bona fide. It also allows us to send you e-mail newsletters and other communications, if you opt-in. Your postal address is required in order to send you information and pricing, if you request it.</p><p>Please call us at 123 456 7890 if you have any questions or concerns.</p>"
|
@@ -110,11 +96,11 @@ Page.create(:title => "Privacy Policy",
|
|
110
96
|
Page.create(:title => "Down for maintenance",
|
111
97
|
:menu_match => "^/maintenance$",
|
112
98
|
:show_in_menu => false,
|
113
|
-
:position =>
|
99
|
+
:position => 6).parts.create(
|
114
100
|
{
|
115
101
|
:title => "Body",
|
116
102
|
:body => "<p>Our site is currently down for maintenance. Please try back later.</p>"
|
117
103
|
})
|
118
104
|
|
119
105
|
# Create a default themes directory.
|
120
|
-
Rails.root.join("themes").mkdir unless Rails.root.join("themes").directory?
|
106
|
+
Rails.root.join("themes").mkdir unless Rails.root.join("themes").directory?
|
data/readme.md
CHANGED
@@ -65,7 +65,7 @@ After your database exists, you'll need to install the gems that Refinery depend
|
|
65
65
|
|
66
66
|
rake gems:install
|
67
67
|
|
68
|
-
Note: The news engine that was previously in Refinery's core was extracted into a separate gem / plugin to be found here:
|
68
|
+
Note: The news engine that was previously in Refinery's core was extracted into a separate gem / plugin to be found here:p
|
69
69
|
|
70
70
|
http://github.com/resolve/refinerycms-news
|
71
71
|
|