cortex-reaver 0.2.0 → 0.2.1

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/lib/cortex_reaver.rb CHANGED
@@ -241,6 +241,20 @@ module CortexReaver
241
241
  Ramaze.options.mode = :live
242
242
  when :development
243
243
  Ramaze.options.mode = :dev
244
+ Ramaze.middleware! :dev do |m|
245
+ # Rack::Lint is broken on 1.9.1, it looks like.
246
+ # m.use Rack::Lint
247
+ m.use Rack::RouteExceptions
248
+ m.use Rack::ShowExceptions
249
+ m.use Rack::CommonLogger, Ramaze::Log
250
+ m.use Ramaze::Reloader
251
+ m.use Rack::ShowStatus
252
+ m.use Rack::Head
253
+ m.use Rack::ETag
254
+ m.use Rack::ConditionalGet
255
+ m.use Rack::ContentLength
256
+ m.run Ramaze::AppMap
257
+ end
244
258
  else
245
259
  raise ArgumentError.new("unknown Cortex Reaver mode #{config.mode.inspect}. Expected one of [:production, :development].")
246
260
  end
@@ -267,7 +281,7 @@ module CortexReaver
267
281
  # Load plugins
268
282
  def self.load_plugins
269
283
  # Create plugin cache
270
- Ramaze::Cache.add(:plugin)
284
+ Ramaze::Cache.add :plugin
271
285
 
272
286
  # Load plugins
273
287
  config.plugins.enabled.each do |plugin|
@@ -369,6 +383,17 @@ module CortexReaver
369
383
  # Ramaze::Log.warn "Caching disabled."
370
384
  # Ramaze::Cache.options.default = CortexReaver::Cache::Noop
371
385
  end
386
+
387
+ # Test caching
388
+ Ramaze::Cache.add(:cortex_reaver)
389
+
390
+ begin
391
+ Ramaze::Cache.cortex_reaver.store :test, true
392
+ rescue => e
393
+ Ramaze::Log.warn "Cache is broken: #{e}"
394
+ Ramaze::Log.warn "Falling back to memory cache."
395
+ Ramaze::Cache.options.default = Ramaze::Cache::Memory
396
+ end
372
397
  end
373
398
 
374
399
  def self.setup_logging
@@ -57,7 +57,7 @@ module Ramaze
57
57
  def attachment_form(model)
58
58
  s = "<div id=\"files\" class=\"files\">\n <ul>\n "
59
59
  model.attachments.each do |attachment|
60
- s << "<li><a href=\"#{attachment.public_path}\">#{attachment.name}</a> (#{a('delete', :href => rs(:delete_attachment, model.name, attachment.name))})</li>\n"
60
+ s << "<li><a href=\"#{attachment.public_path}\">#{attachment.name}</a> (#{a('delete', rs(:delete_attachment, model.name, attachment.name))})</li>\n"
61
61
  end
62
62
  s << "</ul>\n</div>\n\n"
63
63
 
@@ -204,6 +204,9 @@ module Ramaze
204
204
  else
205
205
  if x.respond_to? who
206
206
  user_link x.send(who)
207
+ elsif x.nil?
208
+ # Hmm.
209
+ ''
207
210
  else
208
211
  raise ArgumentError.new("don't know how to make a user link to #{x.inspect}")
209
212
  end
@@ -4,22 +4,31 @@ module Ramaze
4
4
  # Gives a list of lists showing page heirarchy navigation. Expands to show
5
5
  # the current page if given.
6
6
  def page_navigation(current=nil)
7
- l = "<ol>\n"
7
+ l = "<ul>\n"
8
8
  CortexReaver::Page.top.all.each do |page|
9
9
  l << page_navigation_helper(page, current)
10
10
  end
11
- l << '</ol>'
11
+ l << '</ul>'
12
+ end
13
+
14
+ # A list of pages belonging to the given page.
15
+ def subpage_navigation(page)
16
+ l = "<ul>\n"
17
+ page.pages.each do |page|
18
+ l << page_navigation_helper(page)
19
+ end
20
+ l << "</ul>"
12
21
  end
13
22
 
14
23
  def page_navigation_helper(page, current=nil)
15
24
  l = '<li' + (page == current ? ' class="selected"' : '') + '>'
16
25
  l << "<a href=\"#{page.url}\">#{h page.title}</a>"
17
- if page.pages and current.within? page
18
- l << "\n<ol>"
26
+ if page.pages and current and current.within? page
27
+ l << "\n<ul>"
19
28
  page.pages.each do |page|
20
29
  l << page_navigation_helper(page, current)
21
30
  end
22
- l << "</ol>\n"
31
+ l << "</ul>\n"
23
32
  end
24
33
  l << "</li>\n"
25
34
  end
@@ -1,3 +1,7 @@
1
+ code {
2
+ display: inline;
3
+ }
4
+
1
5
  code.block {
2
6
  display: block;
3
7
  margin: 1em 0;
@@ -31,6 +31,10 @@
31
31
  overflow: hidden;
32
32
  }
33
33
 
34
+ .pagination.actions li.current {
35
+ background-color: #168715;
36
+ }
37
+
34
38
  .pagination.actions li > a.previous, .pagination.actions li > a.next {
35
39
  line-height: 60px;
36
40
  }
@@ -10,6 +10,14 @@ module CortexReaver
10
10
 
11
11
  require 'bluecloth'
12
12
  require 'sanitize'
13
+ require "#{CortexReaver::LIB_DIR}/helper/pages"
14
+ require "#{CortexReaver::LIB_DIR}/helper/attachments"
15
+ require "#{CortexReaver::LIB_DIR}/helper/form"
16
+
17
+ include Innate::Helper::CGI
18
+ include Ramaze::Helper::Pages
19
+ include Ramaze::Helper::Attachments
20
+ include Ramaze::Helper::Form
13
21
 
14
22
  # Renders plain text and html to html. If parse_code isn't true, only
15
23
  # runs bluecloth on text *outside* any <code>...</code> blocks.
@@ -76,6 +84,8 @@ module CortexReaver
76
84
  # url: returns the URL to an attachment
77
85
  # image: returns an image tag
78
86
  # link: returns a link to an attachment
87
+ # page_nav: A list of sub-pages
88
+ # attachments: A list of attachments
79
89
  #
80
90
  # The default action is a link, so
81
91
  #
@@ -88,38 +98,42 @@ module CortexReaver
88
98
  # Links
89
99
  #
90
100
  # Example [[image:foo.png][name]]
91
- # 1. the link type prefix image:
92
- # 2. the link type, sans-colon image
101
+ # 1. the prefix image
102
+ # 2. the link, with colon :foo.png
93
103
  # 3. the link itself foo.png
94
104
  # 4. the second half of the link [name]
95
105
  # 5. the name name
96
- copy.gsub!(/\[\[(([^\]]+):)?([^\]]+)(\]\[([^\]]+))?\]\]/) do |match|
97
- prefix = $2
106
+ #copy.gsub!(/\[\[(([^\]]+):)?([^\]]+)(\]\[([^\]]+))?\]\]/) do |match|
107
+ copy.gsub!(/\[\[([^\]]+?)(:([^\]]+))?(\]\[([^\]]+))?\]\]/) do |match|
108
+ prefix = $1
98
109
  path = $3
99
110
  name = $5
100
111
 
101
- # Find the link target
102
- target = attachment(path)
103
-
104
- if target.exists?
105
- # Name of the link
106
- name ||= path
107
-
108
- # Create link to this target
109
- case prefix
110
- when 'image'
111
- # Create an inline image
112
- "<img class=\"attachment\" src=\"#{target.public_path}\" alt=\"#{name.gsub('"', '&quot;')}\" title=\"#{name.gsub('"', '&quot')}\" />"
113
- when 'url'
114
- # Create a URL
115
- target.public_path
116
- else
117
- # Create a full link
118
- "<a href=\"#{target.public_path}\">#{Rack::Utils.escape_html(name).gsub(/#([{@$]@?)/, '&#35;\1')}</a>"
119
- end
112
+ # Name of the link
113
+ name ||= path
114
+
115
+ Ramaze::Log.debug prefix
116
+
117
+ # Create link to this target
118
+ case prefix
119
+ when 'attachments'
120
+ # A list of attachments
121
+ attachment_list self
122
+ when 'image'
123
+ # Create an inline image
124
+ target = attachment(path)
125
+ "<img class=\"attachment\" src=\"#{target.public_path}\" alt=\"#{name.gsub('"', '&quot;')}\" title=\"#{name.gsub('"', '&quot')}\" />"
126
+ when 'page_nav'
127
+ # Create a page table of contents
128
+ subpage_navigation self
129
+ when 'url'
130
+ # Create a URL
131
+ target = attachment(path)
132
+ target.public_path
120
133
  else
121
- # Don't create a link
122
- match
134
+ # Create a full link
135
+ target = attachment(path)
136
+ "<a href=\"#{target.public_path}\">#{Rack::Utils.escape_html(name).gsub(/#([{@$]@?)/, '&#35;\1')}</a>"
123
137
  end
124
138
  end
125
139
 
@@ -1,6 +1,6 @@
1
1
  module CortexReaver
2
2
  APP_NAME = 'Cortex Reaver'
3
- APP_VERSION = '0.2.0'
3
+ APP_VERSION = '0.2.1'
4
4
  APP_AUTHOR = 'Kyle Kingsbury'
5
5
  APP_EMAIL = 'aphyr@aphyr.com'
6
6
  APP_URL = 'http://aphyr.com'
@@ -5,7 +5,7 @@
5
5
  <td><a href="/pages/edit/<%= @page.id %>">Edit</a></td>
6
6
  <% end %>
7
7
  <% if user.can_delete? @page %>
8
- <td><%= a 'Delete', CortexReaver::PageController.r(:delete, :id => @page.id), :onclick => "return confirm('Are you sure you want to delete this page?');" %></td>
8
+ <td><%= a 'Delete', CortexReaver::PageController.r(:delete, @page.id), :onclick => "return confirm('Are you sure you want to delete this page?');" %></td>
9
9
  <% end %>
10
10
  </tr>
11
11
  <% @page.pages.each do |page| %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cortex-reaver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kingsbury
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-30 00:00:00 -07:00
12
+ date: 2009-11-09 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -152,210 +152,184 @@ extra_rdoc_files: []
152
152
 
153
153
  files:
154
154
  - bin/cortex_reaver
155
- - lib/cortex_reaver.rb
156
- - lib/cortex_reaver
157
- - lib/cortex_reaver/layout
155
+ - lib/cortex_reaver/helper/form.rb
156
+ - lib/cortex_reaver/helper/feeds.rb
157
+ - lib/cortex_reaver/helper/activity.rb
158
+ - lib/cortex_reaver/helper/navigation.rb
159
+ - lib/cortex_reaver/helper/date.rb
160
+ - lib/cortex_reaver/helper/workflow.rb
161
+ - lib/cortex_reaver/helper/attachments.rb
162
+ - lib/cortex_reaver/helper/tags.rb
163
+ - lib/cortex_reaver/helper/photographs.rb
164
+ - lib/cortex_reaver/helper/auth.rb
165
+ - lib/cortex_reaver/helper/crud.rb
166
+ - lib/cortex_reaver/helper/sidebar.rb
167
+ - lib/cortex_reaver/helper/error.rb
168
+ - lib/cortex_reaver/helper/canonical.rb
169
+ - lib/cortex_reaver/helper/pages.rb
170
+ - lib/cortex_reaver/config.rb
171
+ - lib/cortex_reaver/snippets/array.rb
172
+ - lib/cortex_reaver/snippets/range.rb
173
+ - lib/cortex_reaver/snippets/numeric.rb
174
+ - lib/cortex_reaver/snippets/ramaze/cache/memcached.rb
158
175
  - lib/cortex_reaver/layout/text.rhtml
159
176
  - lib/cortex_reaver/layout/blank.rhtml
160
- - lib/cortex_reaver/public
161
- - lib/cortex_reaver/public/css
162
- - lib/cortex_reaver/public/css/custom.css
163
- - lib/cortex_reaver/public/css/table.css
164
- - lib/cortex_reaver/public/css/icons.css
165
- - lib/cortex_reaver/public/css/actions.css
166
- - lib/cortex_reaver/public/css/journals.css
177
+ - lib/cortex_reaver/plugins/twitter.rb
178
+ - lib/cortex_reaver/view/admin/regenerate_photo_sizes.rhtml
179
+ - lib/cortex_reaver/view/admin/index.rhtml
180
+ - lib/cortex_reaver/view/admin/configuration.rhtml
181
+ - lib/cortex_reaver/view/admin/update_tags.rhtml
182
+ - lib/cortex_reaver/view/head.rhtml
183
+ - lib/cortex_reaver/view/pages/show.rhtml
184
+ - lib/cortex_reaver/view/pages/list.rhtml
185
+ - lib/cortex_reaver/view/pages/form.rhtml
186
+ - lib/cortex_reaver/view/pages/row.rhtml
187
+ - lib/cortex_reaver/view/documentation/users.rhtml
188
+ - lib/cortex_reaver/view/documentation/formatting.rhtml
189
+ - lib/cortex_reaver/view/config/form.rhtml
190
+ - lib/cortex_reaver/view/comments/post_form.rhtml
191
+ - lib/cortex_reaver/view/comments/comment.rhtml
192
+ - lib/cortex_reaver/view/comments/list.rhtml
193
+ - lib/cortex_reaver/view/comments/form.rhtml
194
+ - lib/cortex_reaver/view/tags/show.rhtml
195
+ - lib/cortex_reaver/view/tags/list.rhtml
196
+ - lib/cortex_reaver/view/tags/form.rhtml
197
+ - lib/cortex_reaver/view/photographs/show.rhtml
198
+ - lib/cortex_reaver/view/photographs/grid.rhtml
199
+ - lib/cortex_reaver/view/photographs/atom_fragment.rhtml
200
+ - lib/cortex_reaver/view/photographs/list.rhtml
201
+ - lib/cortex_reaver/view/photographs/form.rhtml
202
+ - lib/cortex_reaver/view/users/show.rhtml
203
+ - lib/cortex_reaver/view/users/register.rhtml
204
+ - lib/cortex_reaver/view/users/user.rhtml
205
+ - lib/cortex_reaver/view/users/list.rhtml
206
+ - lib/cortex_reaver/view/users/form.rhtml
207
+ - lib/cortex_reaver/view/users/login.rhtml
208
+ - lib/cortex_reaver/view/sidebar/explore_photos.rhtml
209
+ - lib/cortex_reaver/view/sidebar/photographs.rhtml
210
+ - lib/cortex_reaver/view/sidebar/twitter.rhtml
211
+ - lib/cortex_reaver/view/sidebar/sections.rhtml
212
+ - lib/cortex_reaver/view/journals/show.rhtml
213
+ - lib/cortex_reaver/view/journals/short.rhtml
214
+ - lib/cortex_reaver/view/journals/list.rhtml
215
+ - lib/cortex_reaver/view/journals/form.rhtml
216
+ - lib/cortex_reaver/view/journals/journal.rhtml
217
+ - lib/cortex_reaver/view/tracker.rhtml
218
+ - lib/cortex_reaver/view/js.rhtml
219
+ - lib/cortex_reaver/view/adminbox.rhtml
220
+ - lib/cortex_reaver/migrations/004_photographs.rb
221
+ - lib/cortex_reaver/migrations/008_config.rb
222
+ - lib/cortex_reaver/migrations/011_user_roles.rb
223
+ - lib/cortex_reaver/migrations/002_pages.rb
224
+ - lib/cortex_reaver/migrations/007_comments.rb
225
+ - lib/cortex_reaver/migrations/009_mysql.rb
226
+ - lib/cortex_reaver/migrations/005_projects.rb
227
+ - lib/cortex_reaver/migrations/001_users.rb
228
+ - lib/cortex_reaver/migrations/012_created_by_edited_by.rb
229
+ - lib/cortex_reaver/migrations/010_pageparents.rb
230
+ - lib/cortex_reaver/migrations/003_journals.rb
231
+ - lib/cortex_reaver/migrations/013_draft.rb
232
+ - lib/cortex_reaver/migrations/006_tags.rb
233
+ - lib/cortex_reaver/migrations/014_convert_projects_to_pages.rb
234
+ - lib/cortex_reaver/model/tag.rb
235
+ - lib/cortex_reaver/model/page.rb
236
+ - lib/cortex_reaver/model/model.rb
237
+ - lib/cortex_reaver/model/journal.rb
238
+ - lib/cortex_reaver/model/comment.rb
239
+ - lib/cortex_reaver/model/photograph.rb
240
+ - lib/cortex_reaver/model/user.rb
167
241
  - lib/cortex_reaver/public/css/fonts.css
168
- - lib/cortex_reaver/public/css/text.css
169
242
  - lib/cortex_reaver/public/css/colophon.css
243
+ - lib/cortex_reaver/public/css/commments.css
244
+ - lib/cortex_reaver/public/css/pagination.css
245
+ - lib/cortex_reaver/public/css/actions.css
246
+ - lib/cortex_reaver/public/css/progress.css
247
+ - lib/cortex_reaver/public/css/admin.css
248
+ - lib/cortex_reaver/public/css/text.css
249
+ - lib/cortex_reaver/public/css/attachments.css
250
+ - lib/cortex_reaver/public/css/tags.css
170
251
  - lib/cortex_reaver/public/css/table-of-contents.css
171
- - lib/cortex_reaver/public/css/photo-show.css
172
- - lib/cortex_reaver/public/css/flash.css
252
+ - lib/cortex_reaver/public/css/table.css
173
253
  - lib/cortex_reaver/public/css/top_actions.css
174
- - lib/cortex_reaver/public/css/form.css
175
- - lib/cortex_reaver/public/css/tags.css
254
+ - lib/cortex_reaver/public/css/flash.css
255
+ - lib/cortex_reaver/public/css/code.css
256
+ - lib/cortex_reaver/public/css/custom.css
257
+ - lib/cortex_reaver/public/css/users.css
258
+ - lib/cortex_reaver/public/css/sidebar.css
259
+ - lib/cortex_reaver/public/css/journals.css
176
260
  - lib/cortex_reaver/public/css/autotags.css
177
- - lib/cortex_reaver/public/css/admin.css
178
- - lib/cortex_reaver/public/css/generics.css
179
- - lib/cortex_reaver/public/css/pagination.css
180
261
  - lib/cortex_reaver/public/css/photo.css
181
262
  - lib/cortex_reaver/public/css/main.css
182
- - lib/cortex_reaver/public/css/sidebar.css
183
- - lib/cortex_reaver/public/css/commments.css
184
- - lib/cortex_reaver/public/css/attachments.css
185
- - lib/cortex_reaver/public/css/progress.css
186
- - lib/cortex_reaver/public/css/code.css
187
- - lib/cortex_reaver/public/css/users.css
188
- - lib/cortex_reaver/public/images
189
- - lib/cortex_reaver/public/images/next_34_prelight.png
190
- - lib/cortex_reaver/public/images/grid_34_prelight.png
191
- - lib/cortex_reaver/public/images/prev_34.png
192
- - lib/cortex_reaver/public/images/tag.gif
193
- - lib/cortex_reaver/public/images/prev_34_prelight.png
194
- - lib/cortex_reaver/public/images/header_background.png
195
- - lib/cortex_reaver/public/images/delete.gif
196
- - lib/cortex_reaver/public/images/parent.gif
197
- - lib/cortex_reaver/public/images/edit_34.png
198
- - lib/cortex_reaver/public/images/grid_34.png
199
- - lib/cortex_reaver/public/images/edit_34_prelight.png
200
- - lib/cortex_reaver/public/images/admin
263
+ - lib/cortex_reaver/public/css/photo-show.css
264
+ - lib/cortex_reaver/public/css/icons.css
265
+ - lib/cortex_reaver/public/css/form.css
266
+ - lib/cortex_reaver/public/css/generics.css
267
+ - lib/cortex_reaver/public/robots.txt
201
268
  - lib/cortex_reaver/public/images/admin/icons.xcf
202
269
  - lib/cortex_reaver/public/images/admin/icons.png
203
- - lib/cortex_reaver/public/images/elided.png
270
+ - lib/cortex_reaver/public/images/next_34_prelight.png
204
271
  - lib/cortex_reaver/public/images/next_34.png
272
+ - lib/cortex_reaver/public/images/prev_34_prelight.png
273
+ - lib/cortex_reaver/public/images/grid_34.png
205
274
  - lib/cortex_reaver/public/images/next_11.png
206
- - lib/cortex_reaver/public/images/CortexReaver.gif
207
275
  - lib/cortex_reaver/public/images/dark_trans.png
276
+ - lib/cortex_reaver/public/images/grid_34_prelight.png
277
+ - lib/cortex_reaver/public/images/delete.gif
278
+ - lib/cortex_reaver/public/images/header_background.png
279
+ - lib/cortex_reaver/public/images/prev_34.png
280
+ - lib/cortex_reaver/public/images/edit.gif
281
+ - lib/cortex_reaver/public/images/elided.png
208
282
  - lib/cortex_reaver/public/images/background_tile.png
283
+ - lib/cortex_reaver/public/images/edit_34.png
284
+ - lib/cortex_reaver/public/images/parent.gif
285
+ - lib/cortex_reaver/public/images/tag.gif
286
+ - lib/cortex_reaver/public/images/edit_34_prelight.png
287
+ - lib/cortex_reaver/public/images/CortexReaver.gif
209
288
  - lib/cortex_reaver/public/images/prev_11.png
210
289
  - lib/cortex_reaver/public/images/comment.gif
211
- - lib/cortex_reaver/public/images/edit.gif
212
- - lib/cortex_reaver/public/js
290
+ - lib/cortex_reaver/public/js/jquery.hotkeys-0.7.9.js
291
+ - lib/cortex_reaver/public/js/photo.js
292
+ - lib/cortex_reaver/public/js/jquery.js
213
293
  - lib/cortex_reaver/public/js/jquery.dimensions.js
294
+ - lib/cortex_reaver/public/js/jquery.corners.min.js
295
+ - lib/cortex_reaver/public/js/autotags.js
296
+ - lib/cortex_reaver/public/js/jquery.periodicalupdater.js
297
+ - lib/cortex_reaver/public/js/jquery.bgiframe.min.js
214
298
  - lib/cortex_reaver/public/js/cookie.js
215
- - lib/cortex_reaver/public/js/admin.js
216
299
  - lib/cortex_reaver/public/js/jquery.autocomplete.js
217
- - lib/cortex_reaver/public/js/jquery.js
218
- - lib/cortex_reaver/public/js/jquery.bgiframe.min.js
219
- - lib/cortex_reaver/public/js/photo.js
220
- - lib/cortex_reaver/public/js/jquery.periodicalupdater.js
221
300
  - lib/cortex_reaver/public/js/jquery.color.js
222
- - lib/cortex_reaver/public/js/jquery.corners.min.js
223
- - lib/cortex_reaver/public/js/autotags.js
224
- - lib/cortex_reaver/public/js/jquery.hotkeys-0.7.9.js
225
- - lib/cortex_reaver/public/robots.txt
226
- - lib/cortex_reaver/model
227
- - lib/cortex_reaver/model/tag.rb
228
- - lib/cortex_reaver/model/model.rb
229
- - lib/cortex_reaver/model/comment.rb
230
- - lib/cortex_reaver/model/photograph.rb
231
- - lib/cortex_reaver/model/journal.rb
232
- - lib/cortex_reaver/model/user.rb
233
- - lib/cortex_reaver/model/page.rb
301
+ - lib/cortex_reaver/public/js/admin.js
234
302
  - lib/cortex_reaver/plugin.rb
235
- - lib/cortex_reaver/plugins
236
- - lib/cortex_reaver/plugins/twitter.rb
237
303
  - lib/cortex_reaver/version.rb
238
- - lib/cortex_reaver/snippets
239
- - lib/cortex_reaver/snippets/numeric.rb
240
- - lib/cortex_reaver/snippets/array.rb
241
- - lib/cortex_reaver/snippets/ramaze
242
- - lib/cortex_reaver/snippets/ramaze/cache
243
- - lib/cortex_reaver/snippets/ramaze/cache/memcached.rb
244
- - lib/cortex_reaver/snippets/range.rb
245
- - lib/cortex_reaver/view
246
- - lib/cortex_reaver/view/sidebar
247
- - lib/cortex_reaver/view/sidebar/twitter.rhtml
248
- - lib/cortex_reaver/view/sidebar/photographs.rhtml
249
- - lib/cortex_reaver/view/sidebar/explore_photos.rhtml
250
- - lib/cortex_reaver/view/sidebar/sections.rhtml
251
- - lib/cortex_reaver/view/journals
252
- - lib/cortex_reaver/view/journals/short.rhtml
253
- - lib/cortex_reaver/view/journals/form.rhtml
254
- - lib/cortex_reaver/view/journals/list.rhtml
255
- - lib/cortex_reaver/view/journals/show.rhtml
256
- - lib/cortex_reaver/view/journals/journal.rhtml
257
- - lib/cortex_reaver/view/tracker.rhtml
258
- - lib/cortex_reaver/view/users
259
- - lib/cortex_reaver/view/users/form.rhtml
260
- - lib/cortex_reaver/view/users/login.rhtml
261
- - lib/cortex_reaver/view/users/list.rhtml
262
- - lib/cortex_reaver/view/users/show.rhtml
263
- - lib/cortex_reaver/view/users/register.rhtml
264
- - lib/cortex_reaver/view/users/user.rhtml
265
- - lib/cortex_reaver/view/comments
266
- - lib/cortex_reaver/view/comments/form.rhtml
267
- - lib/cortex_reaver/view/comments/comment.rhtml
268
- - lib/cortex_reaver/view/comments/list.rhtml
269
- - lib/cortex_reaver/view/comments/post_form.rhtml
270
- - lib/cortex_reaver/view/documentation
271
- - lib/cortex_reaver/view/documentation/users.rhtml
272
- - lib/cortex_reaver/view/documentation/formatting.rhtml
273
- - lib/cortex_reaver/view/admin
274
- - lib/cortex_reaver/view/admin/index.rhtml
275
- - lib/cortex_reaver/view/admin/configuration.rhtml
276
- - lib/cortex_reaver/view/admin/regenerate_photo_sizes.rhtml
277
- - lib/cortex_reaver/view/admin/update_tags.rhtml
278
- - lib/cortex_reaver/view/js.rhtml
279
- - lib/cortex_reaver/view/photographs
280
- - lib/cortex_reaver/view/photographs/form.rhtml
281
- - lib/cortex_reaver/view/photographs/list.rhtml
282
- - lib/cortex_reaver/view/photographs/grid.rhtml
283
- - lib/cortex_reaver/view/photographs/show.rhtml
284
- - lib/cortex_reaver/view/photographs/atom_fragment.rhtml
285
- - lib/cortex_reaver/view/config
286
- - lib/cortex_reaver/view/config/form.rhtml
287
- - lib/cortex_reaver/view/pages
288
- - lib/cortex_reaver/view/pages/form.rhtml
289
- - lib/cortex_reaver/view/pages/list.rhtml
290
- - lib/cortex_reaver/view/pages/show.rhtml
291
- - lib/cortex_reaver/view/pages/row.rhtml
292
- - lib/cortex_reaver/view/tags
293
- - lib/cortex_reaver/view/tags/form.rhtml
294
- - lib/cortex_reaver/view/tags/list.rhtml
295
- - lib/cortex_reaver/view/tags/show.rhtml
296
- - lib/cortex_reaver/view/adminbox.rhtml
297
- - lib/cortex_reaver/view/head.rhtml
298
304
  - lib/cortex_reaver/cache.rb
299
- - lib/cortex_reaver/migrations
300
- - lib/cortex_reaver/migrations/003_journals.rb
301
- - lib/cortex_reaver/migrations/009_mysql.rb
302
- - lib/cortex_reaver/migrations/011_user_roles.rb
303
- - lib/cortex_reaver/migrations/002_pages.rb
304
- - lib/cortex_reaver/migrations/006_tags.rb
305
- - lib/cortex_reaver/migrations/005_projects.rb
306
- - lib/cortex_reaver/migrations/010_pageparents.rb
307
- - lib/cortex_reaver/migrations/008_config.rb
308
- - lib/cortex_reaver/migrations/012_created_by_edited_by.rb
309
- - lib/cortex_reaver/migrations/007_comments.rb
310
- - lib/cortex_reaver/migrations/014_convert_projects_to_pages.rb
311
- - lib/cortex_reaver/migrations/013_draft.rb
312
- - lib/cortex_reaver/migrations/001_users.rb
313
- - lib/cortex_reaver/migrations/004_photographs.rb
314
- - lib/cortex_reaver/controller
315
305
  - lib/cortex_reaver/controller/tag.rb
306
+ - lib/cortex_reaver/controller/config.rb
307
+ - lib/cortex_reaver/controller/admin.rb
308
+ - lib/cortex_reaver/controller/page.rb
309
+ - lib/cortex_reaver/controller/journal.rb
316
310
  - lib/cortex_reaver/controller/main.rb
317
311
  - lib/cortex_reaver/controller/comment.rb
318
- - lib/cortex_reaver/controller/admin.rb
312
+ - lib/cortex_reaver/controller/documentation.rb
319
313
  - lib/cortex_reaver/controller/photograph.rb
320
- - lib/cortex_reaver/controller/journal.rb
321
314
  - lib/cortex_reaver/controller/user.rb
322
- - lib/cortex_reaver/controller/documentation.rb
323
315
  - lib/cortex_reaver/controller/controller.rb
324
- - lib/cortex_reaver/controller/config.rb
325
- - lib/cortex_reaver/controller/page.rb
326
- - lib/cortex_reaver/config.rb
327
- - lib/cortex_reaver/support
328
- - lib/cortex_reaver/support/attachments.rb
329
316
  - lib/cortex_reaver/support/cortex_reaver_validation_helpers.rb
330
- - lib/cortex_reaver/support/sequenceable.rb
331
- - lib/cortex_reaver/support/viewable.rb
332
- - lib/cortex_reaver/support/canonical.rb
333
- - lib/cortex_reaver/support/tags.rb
334
- - lib/cortex_reaver/support/timestamps.rb
317
+ - lib/cortex_reaver/support/cached_rendering.rb
318
+ - lib/cortex_reaver/support/attachments.rb
335
319
  - lib/cortex_reaver/support/comments.rb
320
+ - lib/cortex_reaver/support/tags.rb
336
321
  - lib/cortex_reaver/support/renderer.rb
337
- - lib/cortex_reaver/support/cached_rendering.rb
338
- - lib/cortex_reaver/helper
339
- - lib/cortex_reaver/helper/feeds.rb
340
- - lib/cortex_reaver/helper/sidebar.rb
341
- - lib/cortex_reaver/helper/workflow.rb
342
- - lib/cortex_reaver/helper/attachments.rb
343
- - lib/cortex_reaver/helper/navigation.rb
344
- - lib/cortex_reaver/helper/crud.rb
345
- - lib/cortex_reaver/helper/photographs.rb
346
- - lib/cortex_reaver/helper/pages.rb
347
- - lib/cortex_reaver/helper/canonical.rb
348
- - lib/cortex_reaver/helper/tags.rb
349
- - lib/cortex_reaver/helper/auth.rb
350
- - lib/cortex_reaver/helper/form.rb
351
- - lib/cortex_reaver/helper/activity.rb
352
- - lib/cortex_reaver/helper/date.rb
353
- - lib/cortex_reaver/helper/error.rb
354
- - lib/proto
322
+ - lib/cortex_reaver/support/timestamps.rb
323
+ - lib/cortex_reaver/support/sequenceable.rb
324
+ - lib/cortex_reaver/support/canonical.rb
325
+ - lib/cortex_reaver/support/viewable.rb
326
+ - lib/cortex_reaver.rb
355
327
  - LICENSE
356
328
  - README
357
329
  has_rdoc: true
358
330
  homepage: http://aphyr.com
331
+ licenses: []
332
+
359
333
  post_install_message:
360
334
  rdoc_options: []
361
335
 
@@ -376,9 +350,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
350
  requirements: []
377
351
 
378
352
  rubyforge_project: cortex-reaver
379
- rubygems_version: 1.3.1
353
+ rubygems_version: 1.3.5
380
354
  signing_key:
381
- specification_version: 2
355
+ specification_version: 3
382
356
  summary: A dangerous Ruby blog engine, with a photographic memory.
383
357
  test_files: []
384
358