manifest-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,15 @@
1
- form {
2
-
3
- }
4
-
5
- fieldset {
6
- margin-bottom: 10px;
7
- }
8
-
9
- input[type='text'], textarea {
10
- padding: 10px 20px;
1
+ input[type='text'], input[type='password'], textarea {
2
+ padding: 10px 10px;
11
3
  @include border-radius(4px);
12
4
  border: 1px solid #aaa;
13
- @include box-shadow(0 2px 2px rgba(0, 0, 0, 0.2) inset);
5
+ background: #f8f8f8;
6
+ @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.2) inset);
14
7
  }
15
8
 
16
9
  label {
17
- margin-top: 10px;
18
- width: 120px;
10
+ margin-bottom: 10px;
19
11
  display: block;
20
- float: left;
12
+ font-size: inherit;
21
13
  }
22
14
 
23
15
  textarea { line-height: 1.428571429; }
@@ -27,14 +19,16 @@ input[type='submit'] {
27
19
  font-size: 1em;
28
20
  }
29
21
 
30
- .form_coach_photo {
31
- margin: 10px 0 15px 125px;
22
+ .field {
23
+ margin-bottom: 20px;
32
24
  }
33
25
 
34
- .alert, .errors {
35
- margin-bottom: 20px;
36
- padding: 10px;
37
- background: #fdd;
38
- border: 1px solid #faa;
39
- line-height: 1.428571429;
40
- }
26
+ .inline-label {
27
+ label {
28
+ margin-right: 20px;
29
+ display: inline;
30
+ }
31
+ }
32
+
33
+ .actions { margin-top: 20px; }
34
+
@@ -0,0 +1,41 @@
1
+ $accent: #38c;
2
+ $base: 20px;
3
+ $copy-on-dark: #eee;
4
+ $copy-on-light: #333;
5
+ $shadow: #ccc;
6
+
7
+ @mixin gradient($bg: #eee, $reverse: false) {
8
+ @include background(linear-gradient(top, $bg, darken($bg, 13.5)));
9
+ text-shadow: 0 1px 0 lighten($bg, 6.75);
10
+
11
+ @if $reverse == true {
12
+ @include background(linear-gradient(top, darken($bg, 13.5), $bg));
13
+ }
14
+ }
15
+
16
+ @mixin pretty-button($bg: $accent, $copy: $copy-on-dark) {
17
+ @include background(linear-gradient(top, $bg, darken($bg, 13.5)));
18
+ background-size: 200%;
19
+ background-position: 0 50%;
20
+ border: 1px solid darken($bg, 13.5);
21
+ padding: $base / 2 $base;
22
+ @include border-radius(4px);
23
+ @include box-shadow(0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255,255,255, 0.2) inset);
24
+ cursor: pointer;
25
+ color: #fff;
26
+ font-size: inherit;
27
+ text-decoration: none;
28
+ @include transition-property(background-position);
29
+ @include transition-duration(0.2s);
30
+
31
+ &:hover,
32
+ &:focus { background-position: 0 0; }
33
+
34
+ &:active {
35
+ @include gradient($bg: darken($bg, 3.375), $reverse: true);
36
+ @include box-shadow(4px 4px 6px rgba(0,0,0,0.2) inset, 0 -1px 1px rgba(0,0,0,0.2));
37
+ border-color: darken($bg, 20.25);
38
+ text-shadow: none;
39
+ }
40
+ }
41
+
@@ -4,79 +4,54 @@
4
4
 
5
5
  @import 'compass/reset';
6
6
  @import 'compass/css3';
7
-
8
- $accent: #08c;
9
- $base: 20px;
10
- $copy-on-dark: #eee;
11
- $copy-on-light: #333;
12
- $shadow: #ccc;
13
-
14
- @mixin gradient($bg: #eee, $reverse: false) {
15
- @include background(linear-gradient(top, $bg, darken($bg, 13.5)));
16
- text-shadow: 0 1px 0 lighten($bg, 6.75);
17
-
18
- @if $reverse == true {
19
- @include background(linear-gradient(top, darken($bg, 13.5), $bg));
20
- }
21
- }
22
-
23
- @mixin pretty-button($bg: $accent, $copy: $copy-on-dark) {
24
- @include background(linear-gradient(top, lighten($bg, 13.5), darken($bg, 13.5)));
25
- background-size: 200%;
26
- background-position: 0 50%;
27
- border: 1px solid darken($bg, 13.5);
28
- padding: $base / 2 $base;
29
- @include border-radius(4px);
30
- @include box-shadow(0 2px 2px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255,255,255, 0.2) inset);
31
- color: #fff;
32
- font-size: inherit;
33
- text-decoration: none;
34
- @include transition-property(background-position);
35
- @include transition-duration(0.2s);
36
-
37
- &:hover,
38
- &:focus { background-position: 0 0; }
39
-
40
- &:active {
41
- @include gradient($bg: darken($bg, 3.375), $reverse: true);
42
- @include box-shadow(4px 4px 6px rgba(0,0,0,0.2) inset, 0 -1px 1px rgba(0,0,0,0.2));
43
- border-color: darken($bg, 20.25);
44
- text-shadow: none;
45
- }
46
- }
7
+ @import 'mixins';
47
8
 
48
9
  body {
49
10
  background: #efefef;
50
- background-image: image-url('manifest/grid.png');
11
+ background-image: image-url('manifest/sketch.png');
51
12
  color: $copy-on-light;
52
- font-family: Cabin, Arial, Verdana, sans-serif;
53
- font-size: 14px;
13
+ font: 100%/1 'Droid Sans', Arial, Verdana, sans-serif;
54
14
  }
55
15
 
56
16
  h1 {
57
- margin: 15px 40px 0 0;
17
+ margin-right: 40px;
58
18
  float: left;
59
19
  font-size: 1.5em;
60
20
  font-weight: 700;
61
-
62
- a {
63
- color: white;
21
+ line-height: 60px;
22
+
23
+ a {
24
+ color: #333;
64
25
  text-decoration: none;
26
+ @include text-shadow(0 1px 0 #eee);
27
+
28
+ &:hover { color: #666; }
29
+ }
30
+
31
+ &.logged-out-header {
32
+ margin: 40px 0 20px 0;
33
+ float: none;
34
+ font-size: 4em;
35
+ text-align: center;
36
+ color: $accent;
37
+ @include text-shadow(0 3px 0 $accent - 25, 0 8px 8px rgba(0, 0, 0, 0.3));
65
38
  }
66
39
  }
67
40
 
68
41
  header {
69
42
  padding: 0 20px;
70
43
  overflow: hidden;
71
- background: $accent - 75;
72
- @include background(linear-gradient($accent - 50, $accent - 75));
73
- @include box-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
44
+ position: relative;
45
+ background: #ddd;
46
+ @include background(linear-gradient(#ddd, #ddd - 5));
47
+ border-bottom: 1px solid #bbb;
48
+ /* @include box-shadow(0 4px 4px rgba(0, 0, 0, 0.2)); */
74
49
 
75
50
  li {
76
51
  float: left;
77
52
 
78
53
  a {
79
- margin: 10px 10px 10px 0;
54
+ margin: 12px 10px 12px 0;
80
55
  @include pretty-button;
81
56
  display: block;
82
57
  color: white;
@@ -89,6 +64,12 @@ header {
89
64
  }
90
65
  }
91
66
  }
67
+
68
+ #log-out {
69
+ margin: 12px 0;
70
+ position: absolute;
71
+ right: 20px;
72
+ }
92
73
  }
93
74
 
94
75
  #manifest_content {
@@ -128,6 +109,19 @@ h3 {
128
109
  line-height: 1.428571429;
129
110
  }
130
111
 
112
+ .errors, #flash_alert, #flash_notice {
113
+ margin-bottom: 20px;
114
+ padding: 10px;
115
+ background: #fdd;
116
+ border: 1px solid #faa;
117
+ line-height: 1.428571429;
118
+ }
119
+
120
+ #flash_notice {
121
+ background: #dfd;
122
+ border: 1px solid #afa;
123
+ }
124
+
131
125
  .model_actions { margin-top: 40px; }
132
126
 
133
127
  .model_actions a {
@@ -137,5 +131,7 @@ h3 {
137
131
 
138
132
  a { color: $accent; }
139
133
 
134
+ .pretty-button { @include pretty-button; }
135
+
140
136
  @import 'forms';
141
137
  @import 'tables';
@@ -1,7 +1,8 @@
1
1
  class Manifest::ContentBlocksController < Manifest::ManifestController
2
2
  before_filter :authorize
3
+ before_filter :authorize_admin, except: [:index, :edit, :update]
3
4
 
4
- layout 'manifest'
5
+ layout 'manifest/manifest'
5
6
 
6
7
  def index
7
8
  @content_blocks = ContentBlock.all
@@ -7,7 +7,11 @@ class Manifest::ManifestController < ApplicationController
7
7
  end
8
8
 
9
9
  def authorize
10
- redirect_to manifest_login_url, alert: 'Not authorized' if current_editor.nil?
10
+ redirect_to manifest_login_url if current_editor.nil?
11
+ end
12
+
13
+ def authorize_admin
14
+ redirect_to manifest_path, alert: 'Admins only' unless current_editor.admin?
11
15
  end
12
16
 
13
17
  helper_method :current_editor
@@ -1,12 +1,17 @@
1
1
  class Manifest::PagesController < Manifest::ManifestController
2
2
  before_filter :authorize
3
+ before_filter :authorize_admin, except: [:index, :show]
3
4
 
4
- layout 'manifest'
5
+ layout 'manifest/manifest'
5
6
 
6
7
  def index
7
8
  @pages = Page.all
8
9
  end
9
10
 
11
+ def show
12
+ @page = Page.find(params[:id])
13
+ end
14
+
10
15
  def new
11
16
  @page = Page.new
12
17
  end
@@ -1,5 +1,5 @@
1
1
  class Manifest::SessionsController < Manifest::ManifestController
2
- layout 'manifest'
2
+ layout 'manifest/sessions'
3
3
 
4
4
  def new
5
5
  end
@@ -2,8 +2,9 @@ class ContentBlock < ActiveRecord::Base
2
2
  extend FriendlyId
3
3
  friendly_id :title, use: :slugged
4
4
 
5
- validates :title, :slug, uniqueness: true, presence: true
6
- validates :page_id, presence: true
5
+ validates :title, :slug, uniqueness: true
6
+ validates :title, presence: true
7
+ validates :page_id, presence: true, on: :update
7
8
 
8
9
  belongs_to :page
9
10
 
data/app/models/page.rb CHANGED
@@ -7,7 +7,9 @@ class Page < ActiveRecord::Base
7
7
  after_update :move_template_file
8
8
  after_destroy :remove_template_file
9
9
 
10
- validates :title, :slug, uniqueness: true, presence: true
10
+ validates :title, :slug, uniqueness: true
11
+ validates :title, presence: true
12
+ validates :slug, presence: true, on: :update
11
13
 
12
14
  has_many :content_blocks
13
15
 
@@ -2,18 +2,18 @@
2
2
 
3
3
  <html>
4
4
  <head>
5
- <title>Manifest</title>
5
+ <title><%= Manifest.configuration.app_name %></title>
6
6
  <%= stylesheet_link_tag 'manifest/manifest' %>
7
7
  <%= javascript_include_tag 'manifest/manifest' %>
8
8
  <%= csrf_meta_tags %>
9
9
 
10
10
  <!-- Google Webfonts -->
11
- <link href='http://fonts.googleapis.com/css?family=Cabin:700,400' rel='stylesheet' type='text/css'>
11
+ <link href='http://fonts.googleapis.com/css?family=Droid+Sans:700,400' rel='stylesheet' type='text/css'>
12
12
  </head>
13
13
 
14
14
  <body>
15
15
  <header>
16
- <h1><%= link_to 'Manifest', manifest_path %></h1>
16
+ <h1><%= link_to Manifest.configuration.app_name, manifest_path %></h1>
17
17
  <nav>
18
18
  <ul>
19
19
  <% Manifest::DATA_TYPES.each do |d| %>
@@ -21,6 +21,8 @@
21
21
  <% end %>
22
22
  </ul>
23
23
  </nav>
24
+
25
+ <%= link_to('Log Out', manifest_logout_path, class: 'pretty-button', id: 'log-out') if current_editor %>
24
26
  </header>
25
27
 
26
28
  <div id='manifest_content'>
@@ -0,0 +1,25 @@
1
+ <!doctype html>
2
+
3
+ <html>
4
+ <head>
5
+ <title><%= Manifest.configuration.app_name %></title>
6
+ <%= stylesheet_link_tag 'manifest/manifest' %>
7
+ <%= javascript_include_tag 'manifest/manifest' %>
8
+ <%= csrf_meta_tags %>
9
+
10
+ <!-- Google Webfonts -->
11
+ <link href='http://fonts.googleapis.com/css?family=Droid+Sans:700,400' rel='stylesheet' type='text/css'>
12
+ </head>
13
+
14
+ <body>
15
+ <h1 class='logged-out-header'><%= Manifest.configuration.app_name %></h1>
16
+
17
+ <div id='manifest_content'>
18
+ <% flash.each do |name, msg| %>
19
+ <%= content_tag :div, msg, id: "flash_#{name}" %>
20
+ <% end %>
21
+
22
+ <%= yield %>
23
+ </div>
24
+ </body>
25
+ </html>
@@ -1,6 +1,6 @@
1
1
  <% if @content_block.errors.any? %>
2
2
  <div class='errors'>
3
- <h6>This from could not be sumbmitted:</h6>
3
+ <h6>This from could not be submitted:</h6>
4
4
  <ul>
5
5
  <% @content_block.errors.full_messages.each do |msg| %>
6
6
  <li><%= msg %></li>
@@ -10,31 +10,31 @@
10
10
  <% end %>
11
11
 
12
12
  <%= form_for [:manifest, @content_block] do |f| %>
13
- <fieldset>
14
- <%= f.label :title %>
15
- <%= f.text_field :title %>
16
- </fieldset>
13
+ <% if current_editor.admin? %>
14
+ <div class='field'>
15
+ <%= f.label :title %>
16
+ <%= f.text_field :title %>
17
+ </div>
17
18
 
18
- <fieldset>
19
- <%= f.label :page_id %>
20
- <%= f.select :page_id, Page.all.collect { |p| [p.title, p.id] }, :include_blank => true %>
21
- </fieldset>
19
+ <div class='field inline-label'>
20
+ <%= f.label :page_id %>
21
+ <%= f.select :page_id, Page.all.collect { |p| [p.title, p.id] }, :include_blank => true %>
22
+ </div>
22
23
 
23
- <fieldset>
24
- <%= f.label :allow_html, 'Allow HTML' %>
25
- <%= f.check_box :allow_html %>
26
- </fieldset>
24
+ <div class='field inline-label'>
25
+ <%= f.label :allow_html, 'Allow HTML' %>
26
+ <%= f.check_box :allow_html %>
27
+ </div>
28
+ <% end %>
27
29
 
28
- <fieldset>
30
+ <div class='field'>
29
31
  <%= f.label :content %>
30
32
  <% if @content_block.allow_html %>
31
33
  <%= f.text_area :content, :class => 'tinymce' %>
32
34
  <% else %>
33
35
  <%= f.text_area :content %>
34
36
  <% end %>
35
- </fieldset>
37
+ </div>
36
38
 
37
- <fieldset>
38
- <%= f.submit %>
39
- </fieldset>
39
+ <div class='actions'><%= f.submit %></div>
40
40
  <% end %>
@@ -24,4 +24,6 @@
24
24
  </table>
25
25
  <% end %>
26
26
 
27
- <p class='model_actions'><%= link_to 'New Content Block', new_manifest_content_block_path %></p>
27
+ <% if current_editor.admin? %>
28
+ <p class='model_actions'><%= link_to 'New Content Block', new_manifest_content_block_path %></p>
29
+ <% end %>
@@ -1,6 +1,6 @@
1
1
  <% if @page.errors.any? %>
2
2
  <div class='errors'>
3
- <h6>This from could not be sumbmitted:</h6>
3
+ <h6>This from could not be submitted:</h6>
4
4
  <ul>
5
5
  <% @page.errors.full_messages.each do |msg| %>
6
6
  <li><%= msg %></li>
@@ -10,12 +10,10 @@
10
10
  <% end %>
11
11
 
12
12
  <%= form_for [:manifest, @page] do |f| %>
13
- <fieldset>
13
+ <div class='field'>
14
14
  <%= f.label :title %>
15
15
  <%= f.text_field :title %>
16
- </fieldset>
16
+ </div>
17
17
 
18
- <fieldset>
19
- <%= f.submit %>
20
- </fieldset>
18
+ <div class='actions'><%= f.submit %></div>
21
19
  <% end %>
@@ -3,9 +3,11 @@
3
3
  <% if @pages %>
4
4
  <ul>
5
5
  <% @pages.each do |p| %>
6
- <li><%= link_to p.title, edit_manifest_page_path(p) %></li>
6
+ <li><%= link_to p.title, current_editor.admin? ? edit_manifest_page_path(p) : manifest_page_path(p) %> <%= link_to('(show)', manifest_page_path(p)) if current_editor.admin? %></li>
7
7
  <% end %>
8
8
  </ul>
9
9
  <% end %>
10
10
 
11
- <p class='model_actions'><%= link_to 'New Page', new_manifest_page_path %></p>
11
+ <% if current_editor.admin? %>
12
+ <p class='model_actions'><%= link_to 'New Page', new_manifest_page_path %></p>
13
+ <% end %>
@@ -0,0 +1,7 @@
1
+ <h2>Page: <%= @page.title %></h2>
2
+
3
+ <ul>
4
+ <% @page.content_blocks.each do |c| %>
5
+ <li><%= link_to c.title, edit_manifest_content_block_path(c) %></li>
6
+ <% end %>
7
+ </ul>
@@ -1,6 +1,6 @@
1
- <h1>Log In</h1>
1
+ <h2>Log In</h2>
2
2
 
3
- <%= form_tag manifest_session_path do %>
3
+ <%= form_tag manifest_sessions_path, action: :create do %>
4
4
  <div class='field'>
5
5
  <%= label_tag :email %>
6
6
  <%= text_field_tag :email, params[:email] %>
@@ -3,6 +3,7 @@ class CreateEditors < ActiveRecord::Migration
3
3
  create_table :editors do |t|
4
4
  t.string :email
5
5
  t.string :password_digest
6
+ t.boolean :admin, default: false
6
7
 
7
8
  t.timestamps
8
9
  end
@@ -1,3 +1,3 @@
1
1
  module Manifest
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/manifest.rb CHANGED
@@ -10,4 +10,20 @@ module Manifest
10
10
  { nav_name: 'Pages', route: 'manifest_pages_path' },
11
11
  { nav_name: 'Content Blocks', route: 'manifest_content_blocks_path' }
12
12
  ]
13
+
14
+ def self.configure
15
+ yield configuration
16
+ end
17
+
18
+ def self.configuration
19
+ @configuration ||= Configuration.new
20
+ end
21
+
22
+ class Configuration
23
+ attr_accessor :app_name
24
+
25
+ def initialize
26
+ @app_name = 'Manifest'
27
+ end
28
+ end
13
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manifest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-26 00:00:00.000000000 Z
12
+ date: 2012-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70104415375640 !ruby/object:Gem::Requirement
16
+ requirement: &70330567782660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70104415375640
24
+ version_requirements: *70330567782660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sass-rails
27
- requirement: &70104415374800 !ruby/object:Gem::Requirement
27
+ requirement: &70330567781040 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.2.3
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70104415374800
35
+ version_requirements: *70330567781040
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: compass-rails
38
- requirement: &70104415374060 !ruby/object:Gem::Requirement
38
+ requirement: &70330567795420 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70104415374060
46
+ version_requirements: *70330567795420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: tinymce-rails
49
- requirement: &70104415573720 !ruby/object:Gem::Requirement
49
+ requirement: &70330567792200 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70104415573720
57
+ version_requirements: *70330567792200
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: friendly_id
60
- requirement: &70104415571840 !ruby/object:Gem::Requirement
60
+ requirement: &70330567788440 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 4.0.0
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70104415571840
68
+ version_requirements: *70330567788440
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: bcrypt-ruby
71
- requirement: &70104415571140 !ruby/object:Gem::Requirement
71
+ requirement: &70330567801440 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 3.0.0
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70104415571140
79
+ version_requirements: *70330567801440
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rspec-rails
82
- requirement: &70104415570640 !ruby/object:Gem::Requirement
82
+ requirement: &70330567796820 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70104415570640
90
+ version_requirements: *70330567796820
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: spork
93
- requirement: &70104415569840 !ruby/object:Gem::Requirement
93
+ requirement: &70330567806840 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70104415569840
101
+ version_requirements: *70330567806840
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: growl
104
- requirement: &70104415569160 !ruby/object:Gem::Requirement
104
+ requirement: &70330567804400 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70104415569160
112
+ version_requirements: *70330567804400
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rb-fsevent
115
- requirement: &70104415568660 !ruby/object:Gem::Requirement
115
+ requirement: &70330567819100 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70104415568660
123
+ version_requirements: *70330567819100
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: guard-bundler
126
- requirement: &70104415567940 !ruby/object:Gem::Requirement
126
+ requirement: &70330567816420 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70104415567940
134
+ version_requirements: *70330567816420
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: guard-rspec
137
- requirement: &70104415566960 !ruby/object:Gem::Requirement
137
+ requirement: &70330567826760 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *70104415566960
145
+ version_requirements: *70330567826760
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: guard-spork
148
- requirement: &70104419637480 !ruby/object:Gem::Requirement
148
+ requirement: &70330567823220 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *70104419637480
156
+ version_requirements: *70330567823220
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: rspec-rails
159
- requirement: &70104419636980 !ruby/object:Gem::Requirement
159
+ requirement: &70330567821100 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *70104419636980
167
+ version_requirements: *70330567821100
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: sqlite3
170
- requirement: &70104419636500 !ruby/object:Gem::Requirement
170
+ requirement: &70330568001700 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,7 +175,7 @@ dependencies:
175
175
  version: '0'
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *70104419636500
178
+ version_requirements: *70330568001700
179
179
  description: Manifest is a Rails Engine-based content managemnet system. Manifest
180
180
  tries to preserve the Rails way by doing things like keeping view templates in their
181
181
  normal Rails location, rather than locked away in the database.
@@ -186,8 +186,10 @@ extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
188
  - app/assets/images/manifest/grid.png
189
+ - app/assets/images/manifest/sketch.png
189
190
  - app/assets/javascripts/manifest/manifest.js
190
191
  - app/assets/stylesheets/manifest/_forms.css.scss
192
+ - app/assets/stylesheets/manifest/_mixins.css.scss
191
193
  - app/assets/stylesheets/manifest/_tables.css.scss
192
194
  - app/assets/stylesheets/manifest/login.css.scss
193
195
  - app/assets/stylesheets/manifest/manifest.css.scss
@@ -201,7 +203,8 @@ files:
201
203
  - app/models/editor.rb
202
204
  - app/models/page.rb
203
205
  - app/models/user.rb
204
- - app/views/layouts/manifest.html.erb
206
+ - app/views/layouts/manifest/manifest.html.erb
207
+ - app/views/layouts/manifest/sessions.html.erb
205
208
  - app/views/manifest/content_blocks/_form.html.erb
206
209
  - app/views/manifest/content_blocks/edit.html.erb
207
210
  - app/views/manifest/content_blocks/index.html.erb
@@ -210,6 +213,7 @@ files:
210
213
  - app/views/manifest/pages/edit.html.erb
211
214
  - app/views/manifest/pages/index.html.erb
212
215
  - app/views/manifest/pages/new.html.erb
216
+ - app/views/manifest/pages/show.html.erb
213
217
  - app/views/manifest/sessions/new.html.erb
214
218
  - config/initializers/manifest.rb
215
219
  - config/routes.rb
@@ -248,7 +252,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
248
252
  version: '0'
249
253
  segments:
250
254
  - 0
251
- hash: -248169853205910835
255
+ hash: 3267225015183403397
252
256
  required_rubygems_version: !ruby/object:Gem::Requirement
253
257
  none: false
254
258
  requirements:
@@ -257,10 +261,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
261
  version: '0'
258
262
  segments:
259
263
  - 0
260
- hash: -248169853205910835
264
+ hash: 3267225015183403397
261
265
  requirements: []
262
266
  rubyforge_project:
263
- rubygems_version: 1.8.17
267
+ rubygems_version: 1.8.10
264
268
  signing_key:
265
269
  specification_version: 3
266
270
  summary: Manifest is a Rails Engine CMS.