radiant 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of radiant might be problematic. Click here for more details.

Files changed (42) hide show
  1. data/CHANGELOG +1 -1
  2. data/CONTRIBUTORS +6 -0
  3. data/app/controllers/application.rb +1 -0
  4. data/app/helpers/admin/page_helper.rb +12 -1
  5. data/app/helpers/application_helper.rb +4 -0
  6. data/app/models/page_context.rb +1 -1
  7. data/app/models/response_cache.rb +2 -2
  8. data/app/views/admin/layout/index.rhtml +15 -15
  9. data/app/views/admin/layout/new.rhtml +13 -13
  10. data/app/views/admin/layout/remove.rhtml +9 -9
  11. data/app/views/admin/page/_node.rhtml +13 -14
  12. data/app/views/admin/page/_part.rhtml +8 -8
  13. data/app/views/admin/page/index.rhtml +44 -17
  14. data/app/views/admin/page/remove.rhtml +3 -3
  15. data/app/views/admin/snippet/index.rhtml +15 -15
  16. data/app/views/admin/snippet/new.rhtml +14 -14
  17. data/app/views/admin/snippet/remove.rhtml +8 -8
  18. data/app/views/admin/user/index.rhtml +19 -19
  19. data/app/views/admin/user/new.rhtml +26 -26
  20. data/app/views/admin/user/preferences.rhtml +13 -13
  21. data/app/views/admin/user/remove.rhtml +8 -8
  22. data/app/views/admin/welcome/login.rhtml +7 -7
  23. data/app/views/layouts/application.rhtml +50 -50
  24. data/bin/radiant +347 -244
  25. data/config/environment.rb +1 -1
  26. data/db/migrate/001_create_radiant_tables.rb +2 -0
  27. data/db/migrate/002_insert_initial_data.rb +12 -5
  28. data/lib/console_utils.rb +167 -0
  29. data/lib/radiant.rb +15 -2
  30. data/lib/tasks/release.rake +10 -6
  31. data/public/.htaccess +40 -0
  32. data/public/images/layout.png +0 -0
  33. data/public/images/new-layout.png +0 -0
  34. data/script/version +5 -0
  35. data/test/fixtures/pages.yml +39 -39
  36. data/test/functional/admin/page_controller_test.rb +47 -0
  37. data/test/functional/site_controller_test.rb +6 -0
  38. data/test/unit/page_context_test.rb +3 -1
  39. metadata +7 -6
  40. data/config/locomotive.yml +0 -6
  41. data/test/fixtures/pages.yml.rej +0 -28
  42. data/test/unit/page_context_test.rb.rej +0 -26
@@ -1,7 +1,7 @@
1
1
  # Be sure to restart your web server when you modify this file.
2
2
 
3
3
  # Rails Gem Version
4
- RAILS_GEM_VERSION = '1.1.2'
4
+ RAILS_GEM_VERSION = '1.1.5'
5
5
 
6
6
  # Uncomment below to force Rails into production mode when
7
7
  # you don't control web/app server and can't set it the proper way
@@ -4,6 +4,7 @@ class CreateRadiantTables < ActiveRecord::Migration
4
4
  t.column "key", :string, :limit => 40, :default => "", :null => false
5
5
  t.column "value", :string, :default => ""
6
6
  end
7
+ add_index "config", ["key"], :name => "key", :unique => true
7
8
 
8
9
  create_table "pages" do |t|
9
10
  t.column "title", :string
@@ -69,5 +70,6 @@ class CreateRadiantTables < ActiveRecord::Migration
69
70
  drop_table "snippets"
70
71
  drop_table "layouts"
71
72
  drop_table "users"
73
+ drop_table "config"
72
74
  end
73
75
  end
@@ -1,13 +1,20 @@
1
1
  class InsertInitialData < ActiveRecord::Migration
2
+ class Page < ActiveRecord::Base
3
+ end
4
+ class Layout < ActiveRecord::Base
5
+ end
6
+ class Snippet < ActiveRecord::Base
7
+ end
8
+ class PagePart < ActiveRecord::Base
9
+ belongs_to :page
10
+ end
2
11
  def self.up
3
12
  now = Time.now
4
13
 
5
14
  puts "Creating the user 'admin' with the password 'radiant'..."
6
- admin = User.create :name => 'Administrator', :login => 'admin', :password => 'radiant', :password_confirmation => 'radiant', :admin => true, :created_at => now, :updated_at => now
7
- admin.created_by = admin
8
- admin.updated_by = admin
9
- admin.save
10
-
15
+ admin = User.new :name => 'Administrator', :login => 'admin', :password => 'radiant', :password_confirmation => 'radiant', :admin => true, :created_at => now, :updated_at => now
16
+ admin.save!
17
+
11
18
  puts "Initializing configuration..."
12
19
  Radiant::Config['admin.title' ] = 'Radiant CMS'
13
20
  Radiant::Config['admin.subtitle'] = 'Publishing for Small Teams'
@@ -0,0 +1,167 @@
1
+ autoload 'FileUtils', 'fileutils'
2
+ autoload 'Pathname', 'pathname'
3
+
4
+ module ConsoleUtils
5
+ def stdout
6
+ @stdout ||= $stdout
7
+ end
8
+
9
+ def stdin
10
+ @stdin ||= $stdin
11
+ end
12
+
13
+ def print(*args)
14
+ stdout << args
15
+ stdout.flush
16
+ end
17
+
18
+ def indent_level
19
+ @indent_level.to_i
20
+ end
21
+
22
+ def indent_level=(value)
23
+ @indent_level = value.to_i
24
+ end
25
+
26
+ def indentation
27
+ ' ' * indent_level
28
+ end
29
+
30
+ def indent
31
+ self.indent_level += 1
32
+ if block_given?
33
+ yield
34
+ unindent
35
+ end
36
+ nil
37
+ end
38
+
39
+ def unindent
40
+ self.indent_level -= 1
41
+ nil
42
+ end
43
+
44
+ def puts(*args)
45
+ args << '' if args.empty?
46
+ print *(args.map { |a| "#{ indentation }#{ a }\n" })
47
+ end
48
+
49
+ def announce(text)
50
+ puts text
51
+ indent do
52
+ yield
53
+ end
54
+ end
55
+
56
+ def gets
57
+ stdin.gets
58
+ end
59
+
60
+ def ask_yes_or_no(question, default = :yes)
61
+ prompt = (default == :yes) ? "[Yn]" : "[yN]"
62
+ loop do
63
+ print "#{ indentation }#{ question }? #{ prompt } "
64
+ case gets.strip.downcase
65
+ when "yes", "y"
66
+ break true
67
+ when "no", "n"
68
+ break false
69
+ when ""
70
+ break default == :yes
71
+ else
72
+ invalid_option
73
+ end
74
+ end
75
+ end
76
+
77
+ def copy_files(from, to, options = {})
78
+ ignore = @ignore || []
79
+ make_path(to)
80
+ Dir.foreach(from) do |file|
81
+ unless ignore.include?(file)
82
+ full_name = File.join(from, file)
83
+ if File.directory?(full_name)
84
+ copy_files full_name, File.join(to, file), options
85
+ else
86
+ copy_file full_name, File.join(to, file), options
87
+ end
88
+ end
89
+ end
90
+ end
91
+
92
+ def copy_file(from, to, options = {})
93
+ overwrite = options[:overwrite] || @overwrite
94
+ exists = File.file?(to)
95
+ overwrite = (exists and ask_yes_or_no("overwrite #{to}")) unless overwrite
96
+ return unless overwrite or not exists
97
+ make_path(File.dirname(to))
98
+ FileUtils.cp from, to
99
+ action = overwrite ? "overwrote" : "created"
100
+ puts "#{action} #{to}"
101
+ end
102
+
103
+ def backup_file(filename)
104
+ if File.file?(filename)
105
+ backup = "#{ filename }.#{ Time.now.strftime("%Y%m%d") }.bak"
106
+ FileUtils.cp filename, backup
107
+ puts "backed up #{filename} as #{File.basename(backup)}"
108
+ end
109
+ end
110
+
111
+ def make_dir(dir)
112
+ unless File.directory?(dir)
113
+ FileUtils.mkdir dir
114
+ puts "created #{dir}"
115
+ end
116
+ end
117
+
118
+ def make_path(path)
119
+ unless File.directory?(path)
120
+ parts = path.split(%r{\\|/})
121
+ if parts.size > 1
122
+ parts.pop
123
+ make_path File.join(*parts)
124
+ end
125
+ make_dir path
126
+ end
127
+ end
128
+
129
+ def read_file(filename)
130
+ contents = ''
131
+ open(filename) { |f| contents = f.read }
132
+ contents
133
+ end
134
+
135
+ def write_file(filename, contents)
136
+ open(filename, 'w+') do |file|
137
+ file.puts contents
138
+ end
139
+ end
140
+
141
+ def create_file(filename, contents, options = {})
142
+ overwrite = options[:overwrite] || @overwrite
143
+ exists = File.file?(filename)
144
+ overwrite = (exists and ask_yes_or_no("overwrite #{filename}")) unless overwrite
145
+ return unless overwrite or not exists
146
+ write_file(filename, contents)
147
+ puts "created #{filename}"
148
+ end
149
+
150
+ def remove_file(filename, options = {})
151
+ force = options[:force] || @overwrite
152
+ exists = File.file?(filename)
153
+ force = (exists and ask_yes_or_no("remove #{filename}")) unless force
154
+ return unless exists and force
155
+ FileUtils.rm filename
156
+ puts "removed #{filename}"
157
+ end
158
+
159
+ def make_executable(filename)
160
+ FileUtils.chmod(0775, filename)
161
+ puts "made #{filename} executable"
162
+ end
163
+
164
+ def clean_path(path)
165
+ Pathname.new(path).cleanpath(true).to_s unless path.nil?
166
+ end
167
+ end
data/lib/radiant.rb CHANGED
@@ -1,5 +1,18 @@
1
1
  RADIANT_ROOT = File.join(File.dirname(__FILE__), "..") unless defined? RADIANT_ROOT
2
2
 
3
- module Radiant
4
- Version = '0.5.0'
3
+ unless defined? Radiant::Version
4
+ module Radiant
5
+ module Version
6
+ Major = '0'
7
+ Minor = '5'
8
+ Tiny = '1'
9
+
10
+ class << self
11
+ def to_s
12
+ [Major, Minor, Tiny].join('.')
13
+ end
14
+ alias :to_str :to_s
15
+ end
16
+ end
17
+ end
5
18
  end
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'lib/radiant'
6
6
 
7
7
  PKG_NAME = 'radiant'
8
- PKG_VERSION = Radiant::Version
8
+ PKG_VERSION = Radiant::Version.to_s
9
9
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
10
10
  RUBY_FORGE_PROJECT = PKG_NAME
11
11
  RUBY_FORGE_USER = 'jlong'
@@ -27,7 +27,7 @@ namespace 'radiant' do
27
27
  s.rubyforge_project = RUBY_FORGE_PROJECT
28
28
  s.platform = Gem::Platform::RUBY
29
29
  s.requirements << 'rails, redcloth, bluecloth, radius'
30
- s.add_dependency 'rails', '= 1.1.2'
30
+ s.add_dependency 'rails', '= 1.1.5'
31
31
  s.add_dependency 'radius', '>= 0.5.1', '< 0.6'
32
32
  s.add_dependency 'RedCloth', '>= 3.0.3', '< 3.1'
33
33
  s.add_dependency 'BlueCloth', '>= 1.0.0', '< 1.1'
@@ -39,15 +39,19 @@ namespace 'radiant' do
39
39
  s.rdoc_options << '--title' << RDOC_TITLE << '--line-numbers' << '--main' << 'README'
40
40
  s.extra_rdoc_files = RDOC_EXTRAS
41
41
  files = FileList['**/*']
42
+ files.include 'public/.htaccess'
42
43
  files.exclude '**/._*'
44
+ files.exclude '**/*.rej'
45
+ files.exclude 'cache/*'
46
+ files.exclude 'config/database.yml'
47
+ files.exclude 'config/locomotive.yml'
48
+ files.exclude 'config/lighttpd.conf'
49
+ files.exclude 'db/*.sql*.db'
43
50
  files.exclude 'doc'
44
51
  files.exclude 'log/*'
52
+ files.exclude 'pkg'
45
53
  files.exclude 'tmp'
46
- files.exclude 'cache/*'
47
54
  files.exclude 'vendor'
48
- files.exclude 'pkg'
49
- files.exclude 'config/database.yml'
50
- files.exclude 'db/*.sql*.db'
51
55
  s.files = files.to_a
52
56
  end
53
57
 
data/public/.htaccess ADDED
@@ -0,0 +1,40 @@
1
+ # General Apache options
2
+ AddHandler fastcgi-script .fcgi
3
+ #AddHandler cgi-script .cgi
4
+ Options +FollowSymLinks +ExecCGI
5
+
6
+ # If you don't want Rails to look in certain directories,
7
+ # use the following rewrite rules so that Apache won't rewrite certain requests
8
+ #
9
+ # Example:
10
+ # RewriteCond %{REQUEST_URI} ^/notrails.*
11
+ # RewriteRule .* - [L]
12
+
13
+ # Redirect all requests not available on the filesystem to Rails
14
+ # By default the cgi dispatcher is used which is very slow
15
+ #
16
+ # For better performance replace the dispatcher with the fastcgi one
17
+ #
18
+ # Example:
19
+ # RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
20
+ RewriteEngine On
21
+
22
+ # If your Rails application is accessed via an Alias directive,
23
+ # then you MUST also set the RewriteBase in this htaccess file.
24
+ #
25
+ # Example:
26
+ # Alias /myrailsapp /path/to/myrailsapp/public
27
+ # RewriteBase /myrailsapp
28
+
29
+ RewriteRule ^$ index.html [QSA]
30
+ RewriteRule ^([^.]+)$ $1.html [QSA]
31
+ RewriteCond %{REQUEST_FILENAME} !-f
32
+ RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
33
+
34
+ # In case Rails experiences terminal errors
35
+ # Instead of displaying this message you can supply a file here which will be rendered instead
36
+ #
37
+ # Example:
38
+ # ErrorDocument 500 /500.html
39
+
40
+ ErrorDocument 500 "<h2>Application error</h2>Rails application failed to start properly"
Binary file
Binary file
data/script/version ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ require File.dirname(__FILE__) + '/../config/boot'
3
+ require "#{RADIANT_ROOT}/lib/radiant"
4
+
5
+ puts "Radiant #{Radiant::Version}"
@@ -6,7 +6,7 @@ homepage:
6
6
  slug: /
7
7
  status_id: 100
8
8
  parent_id:
9
- published_at: 2006-01-30 08:41:07 -05:00
9
+ published_at: 2006-01-30 08:41:07
10
10
  documentation:
11
11
  id: 2
12
12
  title: Documentation
@@ -14,7 +14,7 @@ documentation:
14
14
  slug: documentation
15
15
  status_id: 100
16
16
  parent_id: 1
17
- published_at: 2006-01-30 08:41:07 -05:00
17
+ published_at: 2006-01-30 08:41:07
18
18
  books:
19
19
  id: 3
20
20
  title: Books
@@ -22,7 +22,7 @@ books:
22
22
  slug: books
23
23
  status_id: 100
24
24
  parent_id: 2
25
- published_at: 2006-01-30 08:41:07 -05:00
25
+ published_at: 2006-01-30 08:41:07
26
26
  textile:
27
27
  id: 4
28
28
  title: Textile
@@ -30,7 +30,7 @@ textile:
30
30
  slug: textile
31
31
  status_id: 100
32
32
  parent_id: 1
33
- published_at: 2006-01-30 08:41:07 -05:00
33
+ published_at: 2006-01-30 08:41:07
34
34
  radius:
35
35
  id: 5
36
36
  title: Radius Test Page
@@ -39,7 +39,7 @@ radius:
39
39
  status_id: 100
40
40
  parent_id: 1
41
41
  created_by: 3
42
- published_at: 2006-01-30 08:41:07 -05:00
42
+ published_at: 2006-01-30 08:41:07
43
43
  <% for i in 1..3 %>
44
44
  radius_child_<%= i %>:
45
45
  id: <%= 5 + i %>
@@ -49,7 +49,7 @@ radius_child_<%= i %>:
49
49
  status_id: 100
50
50
  parent_id: 5
51
51
  created_by: 1
52
- published_at: 2006-01-30 08:41:07 -05:00
52
+ published_at: 2006-01-30 08:41:07
53
53
  <% end %>
54
54
  page_with_layout:
55
55
  id: 9
@@ -59,7 +59,7 @@ page_with_layout:
59
59
  status_id: 100
60
60
  layout_id: 1
61
61
  parent_id: 1
62
- published_at: 2006-01-30 08:41:07 -05:00
62
+ published_at: 2006-01-30 08:41:07
63
63
  another_page_with_layout:
64
64
  id: 52
65
65
  title: Another Page With Layout
@@ -68,7 +68,7 @@ another_page_with_layout:
68
68
  status_id: 100
69
69
  layout_id: 1
70
70
  parent_id: 1
71
- published_at: 2006-01-30 08:41:07 -05:00
71
+ published_at: 2006-01-30 08:41:07
72
72
  child_of_page_with_layout:
73
73
  id: 18
74
74
  title: Child of Page With Layout
@@ -76,7 +76,7 @@ child_of_page_with_layout:
76
76
  slug: child-of-page-with-layout
77
77
  status_id: 100
78
78
  parent_id: 9
79
- published_at: 2006-01-30 08:47:07 -05:00
79
+ published_at: 2006-01-30 08:47:07
80
80
  parent:
81
81
  id: 10
82
82
  title: Parent
@@ -84,7 +84,7 @@ parent:
84
84
  slug: parent
85
85
  status_id: 100
86
86
  parent_id: 1
87
- published_at: 2006-01-30 08:41:07 -05:00
87
+ published_at: 2006-01-30 08:41:07
88
88
  child:
89
89
  id: 11
90
90
  title: Child
@@ -92,7 +92,7 @@ child:
92
92
  slug: child
93
93
  status_id: 100
94
94
  parent_id: 10
95
- published_at: 2006-01-30 08:41:07 -05:00
95
+ published_at: 2006-01-30 08:41:07
96
96
  archive:
97
97
  id: 12
98
98
  title: Archive
@@ -101,7 +101,7 @@ archive:
101
101
  behavior_id: Archive
102
102
  status_id: 100
103
103
  parent_id: 1
104
- published_at: 2006-01-30 08:41:07 -05:00
104
+ published_at: 2006-01-30 08:41:07
105
105
  year_index:
106
106
  id: 41
107
107
  title: %Y Archive
@@ -110,7 +110,7 @@ year_index:
110
110
  status_id: 101
111
111
  parent_id: 12
112
112
  virtual: true
113
- published_at: 2006-02-05 08:44:07 -05:00
113
+ published_at: 2006-02-05 08:44:07
114
114
  month_index:
115
115
  id: 42
116
116
  title: %B %Y Archive
@@ -119,7 +119,7 @@ month_index:
119
119
  status_id: 101
120
120
  parent_id: 12
121
121
  virtual: true
122
- published_at: 2006-02-05 08:44:07 -05:00
122
+ published_at: 2006-02-05 08:44:07
123
123
  day_index:
124
124
  id: 43
125
125
  title: %B %d, %Y Archive
@@ -128,7 +128,7 @@ day_index:
128
128
  status_id: 101
129
129
  parent_id: 12
130
130
  virtual: true
131
- published_at: 2006-02-05 08:44:07 -05:00
131
+ published_at: 2006-02-05 08:44:07
132
132
  article:
133
133
  id: 13
134
134
  title: Article
@@ -136,7 +136,7 @@ article:
136
136
  slug: article
137
137
  status_id: 100
138
138
  parent_id: 12
139
- published_at: 2000-05-01 08:41:07 -05:00
139
+ published_at: 2000-05-01 08:41:07
140
140
  article2:
141
141
  id: 14
142
142
  title: Article Two
@@ -144,7 +144,7 @@ article2:
144
144
  slug: article-2
145
145
  status_id: 100
146
146
  parent_id: 12
147
- published_at: 2000-06-09 08:42:04 -05:00
147
+ published_at: 2000-06-09 08:42:04
148
148
  article3:
149
149
  id: 44
150
150
  title: Article Three
@@ -152,7 +152,7 @@ article3:
152
152
  slug: article-3
153
153
  status_id: 100
154
154
  parent_id: 12
155
- published_at: 2000-06-10 12:02:43 -05:00
155
+ published_at: 2000-06-10 12:02:43
156
156
  article4:
157
157
  id: 45
158
158
  title: Article Four
@@ -160,7 +160,7 @@ article4:
160
160
  slug: article-4
161
161
  status_id: 100
162
162
  parent_id: 12
163
- published_at: 2000-08-06 03:32:31 -05:00
163
+ published_at: 2000-08-06 03:32:31
164
164
  article5:
165
165
  id: 46
166
166
  title: Article Five
@@ -168,7 +168,7 @@ article5:
168
168
  slug: article-5
169
169
  status_id: 100
170
170
  parent_id: 12
171
- published_at: 2001-08-06 03:32:31 -05:00
171
+ published_at: 2001-08-06 03:32:31
172
172
  article_draft:
173
173
  id: 53
174
174
  title: Draft Article
@@ -213,7 +213,7 @@ assorted<%= i %>:
213
213
  slug: <%= (?a + (10 - i)).chr %>
214
214
  status_id: 100
215
215
  parent_id: 19
216
- published_at: 2000-06-10 07:<%= '%02d' % (17 - i) %>:<%= '%02d' % (i + 11) %> -05:00
216
+ published_at: 2000-06-10 07:<%= '%02d' % (17 - i) %>:<%= '%02d' % (i + 11) %>
217
217
  <% end %>
218
218
  assorted-draft:
219
219
  id: 40
@@ -229,7 +229,7 @@ news:
229
229
  slug: news
230
230
  status_id: 100
231
231
  parent_id: 1
232
- published_at: 2006-01-30 08:41:07 -05:00
232
+ published_at: 2006-01-30 08:41:07
233
233
  news_child_published:
234
234
  id: 31
235
235
  title: A Great Day for Ruby
@@ -237,7 +237,7 @@ news_child_published:
237
237
  slug: a-great-day-for-ruby
238
238
  status_id: 100
239
239
  parent_id: 30
240
- published_at: 2006-01-30 08:41:07 -05:00
240
+ published_at: 2006-01-30 08:41:07
241
241
  news_child_published_2:
242
242
  id: 32
243
243
  title: Another Great Day for Ruby
@@ -245,7 +245,7 @@ news_child_published_2:
245
245
  slug: another-great-day-for-ruby
246
246
  status_id: 100
247
247
  parent_id: 30
248
- published_at: 2006-02-05 08:44:07 -05:00
248
+ published_at: 2006-02-05 08:44:07
249
249
  grandchild:
250
250
  id: 33
251
251
  title: Grandchild
@@ -253,14 +253,14 @@ grandchild:
253
253
  slug: grandchild
254
254
  status_id: 100
255
255
  parent_id: 11
256
- published_at: 2006-02-05 08:44:07 -05:00
256
+ published_at: 2006-02-05 08:44:07
257
257
  great_grandchild:
258
258
  id: 34
259
259
  title: Great-Grandchild
260
260
  slug: great-grandchild
261
261
  status_id: 100
262
262
  parent_id: 33
263
- published_at: 2006-02-05 08:44:07 -05:00
263
+ published_at: 2006-02-05 08:44:07
264
264
  custom_tags:
265
265
  id: 35
266
266
  title: Custom Tags
@@ -268,56 +268,56 @@ custom_tags:
268
268
  behavior_id: Test Behavior
269
269
  status_id: 100
270
270
  parent_id: 1
271
- published_at: 2006-02-05 08:44:07 -05:00
271
+ published_at: 2006-02-05 08:44:07
272
272
  custom_tags_child:
273
273
  id: 36
274
274
  title: Custom Tags Child
275
275
  slug: child
276
276
  status_id: 100
277
277
  parent_id: 35
278
- published_at: 2006-02-05 08:44:07 -05:00
278
+ published_at: 2006-02-05 08:44:07
279
279
  page_with_yaml_config:
280
280
  id: 37
281
281
  title: Page with YAML config
282
282
  slug: page-with-yaml-config
283
283
  status_id: 100
284
284
  parent_id: 1
285
- published_at: 2006-02-05 08:44:07 -05:00
285
+ published_at: 2006-02-05 08:44:07
286
286
  small_test:
287
287
  id: 38
288
288
  title: Small Test
289
289
  slug: small-test
290
290
  status_id: 100
291
291
  parent_id: 1
292
- published_at: 2006-02-05 08:44:07 -05:00
292
+ published_at: 2006-02-05 08:44:07
293
293
  inheritance_test_page:
294
294
  id: 47
295
295
  title: Inheritance Test Page
296
296
  slug: inheritance-test-page
297
297
  status_id: 100
298
298
  parent_id: 1
299
- published_at: 2006-02-05 08:44:07 -05:00
299
+ published_at: 2006-02-05 08:44:07
300
300
  inheritance_test_page_child:
301
301
  id: 48
302
302
  title: Inheritance Test Page Child
303
303
  slug: child
304
304
  status_id: 100
305
305
  parent_id: 47
306
- published_at: 2006-02-05 08:44:07 -05:00
306
+ published_at: 2006-02-05 08:44:07
307
307
  inheritance_test_page_grandchild:
308
308
  id: 49
309
309
  title: Inheritance Test Page Grandchild
310
310
  slug: grandchild
311
311
  status_id: 100
312
312
  parent_id: 48
313
- published_at: 2006-02-05 08:44:07 -05:00
313
+ published_at: 2006-02-05 08:44:07
314
314
  gallery:
315
315
  id: 50
316
316
  title: Gallery
317
317
  slug: gallery
318
318
  status_id: 100
319
319
  parent_id: 1
320
- published_at: 2006-02-05 08:44:07 -05:00
320
+ published_at: 2006-02-05 08:44:07
321
321
  missing:
322
322
  id: 51
323
323
  title: File Not Found
@@ -325,7 +325,7 @@ missing:
325
325
  behavior_id: Page Missing
326
326
  status_id: 100
327
327
  parent_id: 50
328
- published_at: 2006-02-05 08:44:07 -05:00
328
+ published_at: 2006-02-05 08:44:07
329
329
  page_with_content_type_set_on_layout:
330
330
  id: 54
331
331
  title: Page With Content Type Set On Layout
@@ -333,7 +333,7 @@ page_with_content_type_set_on_layout:
333
333
  status_id: 100
334
334
  layout_id: 2
335
335
  parent_id: 1
336
- published_at: 2006-02-05 08:44:07 -05:00
336
+ published_at: 2006-02-05 08:44:07
337
337
  deep_nested_child_for_breadcrumbs:
338
338
  id: 55
339
339
  title: Deeply nested child for testing breadcrumbs
@@ -341,7 +341,7 @@ deep_nested_child_for_breadcrumbs:
341
341
  breadcrumb: Deeply nested child
342
342
  status_id: 100
343
343
  parent_id: 6
344
- published_at: 2006-02-05 08:44:07 -05:00
344
+ published_at: 2006-02-05 08:44:07
345
345
  homepage_draft:
346
346
  id: 56
347
347
  title: Home Page Draft
@@ -349,11 +349,11 @@ homepage_draft:
349
349
  slug: homepage_draft
350
350
  status_id: 1
351
351
  parent_id: 1
352
- published_at: 2006-01-30 08:41:07 -05:00
352
+ published_at: 2006-01-30 08:41:07
353
353
  gallery_draft:
354
354
  id: 57
355
355
  title: Gallery Draft
356
356
  slug: gallery_draft
357
357
  status_id: 1
358
358
  parent_id: 50
359
- published_at: 2006-02-05 08:44:07 -05:00
359
+ published_at: 2006-02-05 08:44:07