manifest-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +37 -0
- data/Rakefile +29 -0
- data/app/assets/images/manifest/grid.png +0 -0
- data/app/assets/javascripts/manifest/manifest.js +7 -0
- data/app/assets/stylesheets/manifest/_forms.css.scss +40 -0
- data/app/assets/stylesheets/manifest/_tables.css.scss +26 -0
- data/app/assets/stylesheets/manifest/login.css.scss +89 -0
- data/app/assets/stylesheets/manifest/manifest.css.scss +141 -0
- data/app/controllers/manifest/content_blocks_controller.rb +44 -0
- data/app/controllers/manifest/editors_controller.rb +3 -0
- data/app/controllers/manifest/manifest_controller.rb +14 -0
- data/app/controllers/manifest/pages_controller.rb +44 -0
- data/app/controllers/manifest/sessions_controller.rb +23 -0
- data/app/controllers/pages_controller.rb +12 -0
- data/app/models/content_block.rb +15 -0
- data/app/models/editor.rb +8 -0
- data/app/models/page.rb +32 -0
- data/app/models/user.rb +8 -0
- data/app/views/layouts/manifest.html.erb +34 -0
- data/app/views/manifest/content_blocks/_form.html.erb +40 -0
- data/app/views/manifest/content_blocks/edit.html.erb +11 -0
- data/app/views/manifest/content_blocks/index.html.erb +27 -0
- data/app/views/manifest/content_blocks/new.html.erb +3 -0
- data/app/views/manifest/pages/_form.html.erb +21 -0
- data/app/views/manifest/pages/edit.html.erb +11 -0
- data/app/views/manifest/pages/index.html.erb +11 -0
- data/app/views/manifest/pages/new.html.erb +3 -0
- data/app/views/manifest/sessions/new.html.erb +15 -0
- data/config/initializers/manifest.rb +23 -0
- data/config/routes.rb +14 -0
- data/lib/active_record/base/acts_as_manifest.rb +8 -0
- data/lib/generators/manifest/data_type/USAGE +11 -0
- data/lib/generators/manifest/data_type/data_type_generator.rb +46 -0
- data/lib/generators/manifest/data_type/templates/controller.rb +11 -0
- data/lib/generators/manifest/data_type/templates/index.html.erb +1 -0
- data/lib/generators/manifest/data_type/templates/migration.rb +9 -0
- data/lib/generators/manifest/data_type/templates/model.rb +3 -0
- data/lib/generators/manifest/install/USAGE +11 -0
- data/lib/generators/manifest/install/install_generator.rb +25 -0
- data/lib/generators/manifest/install/templates/add_index_to_content_blocks.rb +5 -0
- data/lib/generators/manifest/install/templates/add_index_to_pages.rb +5 -0
- data/lib/generators/manifest/install/templates/create_content_blocks.rb +13 -0
- data/lib/generators/manifest/install/templates/create_editors.rb +10 -0
- data/lib/generators/manifest/install/templates/create_pages.rb +11 -0
- data/lib/manifest/engine.rb +7 -0
- data/lib/manifest/version.rb +3 -0
- data/lib/manifest.rb +13 -0
- data/lib/tasks/manifest_tasks.rake +4 -0
- metadata +267 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
<h2>Edit Content Block: <%= @content_block.title %></h2>
|
2
|
+
|
3
|
+
<%= render 'form' %>
|
4
|
+
|
5
|
+
<p class='model_actions'>
|
6
|
+
<%= link_to 'Delete Content Block', manifest_content_block_path(@content_block),
|
7
|
+
method: :delete,
|
8
|
+
confirm: "Are you sure you want to delete this content block (#{@content_block.title})?",
|
9
|
+
class: 'delete'
|
10
|
+
%>
|
11
|
+
</p>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<h2>Content Blocks</h2>
|
2
|
+
|
3
|
+
<% if @content_blocks %>
|
4
|
+
<table id='content_blocks' class='resource_table'>
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<th>Name</th>
|
8
|
+
<th>Page Name</th>
|
9
|
+
</tr>
|
10
|
+
</thead>
|
11
|
+
|
12
|
+
<tbody>
|
13
|
+
<% @content_blocks.each do |c| %>
|
14
|
+
<tr id='event_<%= c.id %>'>
|
15
|
+
<td><%= link_to c.title, edit_manifest_content_block_path(c) %></td>
|
16
|
+
<% if c.page %>
|
17
|
+
<td><%= c.page.title %></td>
|
18
|
+
<% else %>
|
19
|
+
<td>No page (sitewide)</td>
|
20
|
+
<% end %>
|
21
|
+
</tr>
|
22
|
+
<% end %>
|
23
|
+
</tbody>
|
24
|
+
</table>
|
25
|
+
<% end %>
|
26
|
+
|
27
|
+
<p class='model_actions'><%= link_to 'New Content Block', new_manifest_content_block_path %></p>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<% if @page.errors.any? %>
|
2
|
+
<div class='errors'>
|
3
|
+
<h6>This from could not be sumbmitted:</h6>
|
4
|
+
<ul>
|
5
|
+
<% @page.errors.full_messages.each do |msg| %>
|
6
|
+
<li><%= msg %></li>
|
7
|
+
<% end %>
|
8
|
+
</ul>
|
9
|
+
</div>
|
10
|
+
<% end %>
|
11
|
+
|
12
|
+
<%= form_for [:manifest, @page] do |f| %>
|
13
|
+
<fieldset>
|
14
|
+
<%= f.label :title %>
|
15
|
+
<%= f.text_field :title %>
|
16
|
+
</fieldset>
|
17
|
+
|
18
|
+
<fieldset>
|
19
|
+
<%= f.submit %>
|
20
|
+
</fieldset>
|
21
|
+
<% end %>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<h2>Edit Page: <%= @page.title %></h2>
|
2
|
+
|
3
|
+
<%= render 'form' %>
|
4
|
+
|
5
|
+
<p class='model_actions'>
|
6
|
+
<%= link_to 'Delete Page', manifest_page_path(@page), {
|
7
|
+
method: :delete,
|
8
|
+
confirm: "Are you sure you want to delete this page (#{@page.title})?",
|
9
|
+
class: 'delete'
|
10
|
+
}%>
|
11
|
+
</p>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<h1>Log In</h1>
|
2
|
+
|
3
|
+
<%= form_tag manifest_session_path do %>
|
4
|
+
<div class='field'>
|
5
|
+
<%= label_tag :email %>
|
6
|
+
<%= text_field_tag :email, params[:email] %>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
<div class='field'>
|
10
|
+
<%= label_tag :password %>
|
11
|
+
<%= password_field_tag :password %>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
<div class='actions'><%= submit_tag 'Log In' %></div>
|
15
|
+
<% end %>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Manifest
|
2
|
+
def self.add_app_models_to_manifest_data_types
|
3
|
+
models = Dir.glob("#{Rails.root}/app/models/*")
|
4
|
+
|
5
|
+
models.each do |m|
|
6
|
+
klass = nil
|
7
|
+
acts_as_manifest = false
|
8
|
+
|
9
|
+
File.open(m, 'r') do |f|
|
10
|
+
if f.lines.to_a.select { |l| l =~ /acts_as_manifest/ }.count > 0
|
11
|
+
f.rewind
|
12
|
+
f.lines.each do |l|
|
13
|
+
if l =~ /ActiveRecord::Base/
|
14
|
+
l.split('<')[0].split(' ')[1].strip.constantize
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
Manifest.add_app_models_to_manifest_data_types
|
data/config/routes.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
get '/manifest' => 'manifest/pages#index', as: 'manifest'
|
3
|
+
|
4
|
+
namespace :manifest do
|
5
|
+
get 'login', to: 'sessions#new', as: 'login'
|
6
|
+
get 'logout', to: 'sessions#destroy', as: 'logout'
|
7
|
+
|
8
|
+
resources :sessions
|
9
|
+
resources :pages
|
10
|
+
resources :content_blocks
|
11
|
+
end
|
12
|
+
|
13
|
+
get ':slug' => 'pages#show', as: 'page'
|
14
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Description:
|
2
|
+
Generate custom data types for Manifest.
|
3
|
+
|
4
|
+
Example:
|
5
|
+
rails generate manifest:data_type Thing attribute:type
|
6
|
+
|
7
|
+
This will create:
|
8
|
+
db/migrate/create_things.rb
|
9
|
+
app/views/manifest/things/index.html.erb
|
10
|
+
app/models/things.rb
|
11
|
+
app/controllers/manifest/things_controller.rb
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'rails/generators/active_record'
|
2
|
+
|
3
|
+
class Manifest::DataTypeGenerator < ActiveRecord::Generators::Base
|
4
|
+
source_root File.expand_path('../templates', __FILE__)
|
5
|
+
argument :attributes, type: :array, default: [], banner: 'field:type field:type'
|
6
|
+
|
7
|
+
def generate_data_type_migration
|
8
|
+
migration_template 'migration.rb', "#{Rails.root}/db/migrate/create_#{table_name}.rb"
|
9
|
+
end
|
10
|
+
|
11
|
+
def create_index_view
|
12
|
+
plural_name = ActiveSupport::Inflector.pluralize(name)
|
13
|
+
template 'index.html.erb', "#{Rails.root}/app/views/manifest/#{plural_name.underscore}/index.html.erb"
|
14
|
+
end
|
15
|
+
|
16
|
+
def create_manifest_namespace_in_routes_if_it_does_not_exist
|
17
|
+
route_file = "#{Rails.root}/config/routes.rb"
|
18
|
+
File.open(route_file, 'r') do |f|
|
19
|
+
if f.lines.to_a.find_index { |l| l =~ /^\s*namespace :manifest do/ }
|
20
|
+
return
|
21
|
+
else
|
22
|
+
sentinel = /\.routes.draw do\s*$/
|
23
|
+
inject_into_file route_file, "\n namespace :manifest do\n end", { after: sentinel }
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def inject_data_type_route_into_routes
|
29
|
+
route_file = "#{Rails.root}/config/routes.rb"
|
30
|
+
sentinel = /^\s*namespace :manifest do/
|
31
|
+
|
32
|
+
plural_name = ActiveSupport::Inflector.pluralize(name.underscore)
|
33
|
+
|
34
|
+
inject_into_file route_file, "\n resources :#{plural_name}", { after: sentinel}
|
35
|
+
end
|
36
|
+
|
37
|
+
def create_model_file
|
38
|
+
template 'model.rb', "#{Rails.root}/app/models/#{name.underscore}.rb"
|
39
|
+
end
|
40
|
+
|
41
|
+
def create_controller_file
|
42
|
+
plural_name = ActiveSupport::Inflector.pluralize(name)
|
43
|
+
|
44
|
+
template 'controller.rb', "#{Rails.root}/app/controllers/manifest/#{plural_name.underscore}_controller.rb"
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
<h2><%= ActiveSupport::Inflector.pluralize(name) %></h2>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
Description:
|
2
|
+
Installs the migration files necessary for Manifest
|
3
|
+
|
4
|
+
Example:
|
5
|
+
rails generate manifest:install Page
|
6
|
+
|
7
|
+
This will create:
|
8
|
+
db/migrate/create_pages.rb
|
9
|
+
db/migrate/add_index_to_pages.rb
|
10
|
+
db/migrate/create_content_blocks.rb
|
11
|
+
db/migrate/add_index_to_content_blocks.rb
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'rails/generators/active_record'
|
2
|
+
|
3
|
+
class Manifest::InstallGenerator < ActiveRecord::Generators::Base
|
4
|
+
source_root File.expand_path('../templates', __FILE__)
|
5
|
+
|
6
|
+
def generate_create_pages_migration
|
7
|
+
migration_template 'create_pages.rb', 'db/migrate/create_pages.rb'
|
8
|
+
end
|
9
|
+
|
10
|
+
def generate_add_index_to_pages_migration
|
11
|
+
migration_template 'add_index_to_pages.rb', 'db/migrate/add_index_to_pages.rb'
|
12
|
+
end
|
13
|
+
|
14
|
+
def generate_create_content_blocks_migration
|
15
|
+
migration_template 'create_content_blocks.rb', 'db/migrate/create_content_blocks.rb'
|
16
|
+
end
|
17
|
+
|
18
|
+
def generate_add_index_to_content_blocks_migration
|
19
|
+
migration_template 'add_index_to_content_blocks.rb', 'db/migrate/add_index_to_content_blocks.rb'
|
20
|
+
end
|
21
|
+
|
22
|
+
def generate_create_editors_migration
|
23
|
+
migration_template 'create_editors.rb', 'db/migrate/create_editors.rb'
|
24
|
+
end
|
25
|
+
end
|
data/lib/manifest.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'active_record/base/acts_as_manifest'
|
2
|
+
require 'manifest/engine'
|
3
|
+
require 'friendly_id'
|
4
|
+
require 'sass-rails'
|
5
|
+
require 'compass-rails'
|
6
|
+
require 'tinymce-rails'
|
7
|
+
|
8
|
+
module Manifest
|
9
|
+
DATA_TYPES = [
|
10
|
+
{ nav_name: 'Pages', route: 'manifest_pages_path' },
|
11
|
+
{ nav_name: 'Content Blocks', route: 'manifest_content_blocks_path' }
|
12
|
+
]
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,267 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: manifest-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jonathan Clem
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-02-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &70104415375640 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70104415375640
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sass-rails
|
27
|
+
requirement: &70104415374800 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.2.3
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70104415374800
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: compass-rails
|
38
|
+
requirement: &70104415374060 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70104415374060
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: tinymce-rails
|
49
|
+
requirement: &70104415573720 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70104415573720
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: friendly_id
|
60
|
+
requirement: &70104415571840 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 4.0.0
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *70104415571840
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bcrypt-ruby
|
71
|
+
requirement: &70104415571140 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 3.0.0
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70104415571140
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rspec-rails
|
82
|
+
requirement: &70104415570640 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70104415570640
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: spork
|
93
|
+
requirement: &70104415569840 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70104415569840
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: growl
|
104
|
+
requirement: &70104415569160 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70104415569160
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rb-fsevent
|
115
|
+
requirement: &70104415568660 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *70104415568660
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: guard-bundler
|
126
|
+
requirement: &70104415567940 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *70104415567940
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: guard-rspec
|
137
|
+
requirement: &70104415566960 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *70104415566960
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: guard-spork
|
148
|
+
requirement: &70104419637480 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *70104419637480
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rspec-rails
|
159
|
+
requirement: &70104419636980 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *70104419636980
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: sqlite3
|
170
|
+
requirement: &70104419636500 !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :development
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: *70104419636500
|
179
|
+
description: Manifest is a Rails Engine-based content managemnet system. Manifest
|
180
|
+
tries to preserve the Rails way by doing things like keeping view templates in their
|
181
|
+
normal Rails location, rather than locked away in the database.
|
182
|
+
email:
|
183
|
+
- j@jclem.net
|
184
|
+
executables: []
|
185
|
+
extensions: []
|
186
|
+
extra_rdoc_files: []
|
187
|
+
files:
|
188
|
+
- app/assets/images/manifest/grid.png
|
189
|
+
- app/assets/javascripts/manifest/manifest.js
|
190
|
+
- app/assets/stylesheets/manifest/_forms.css.scss
|
191
|
+
- app/assets/stylesheets/manifest/_tables.css.scss
|
192
|
+
- app/assets/stylesheets/manifest/login.css.scss
|
193
|
+
- app/assets/stylesheets/manifest/manifest.css.scss
|
194
|
+
- app/controllers/manifest/content_blocks_controller.rb
|
195
|
+
- app/controllers/manifest/editors_controller.rb
|
196
|
+
- app/controllers/manifest/manifest_controller.rb
|
197
|
+
- app/controllers/manifest/pages_controller.rb
|
198
|
+
- app/controllers/manifest/sessions_controller.rb
|
199
|
+
- app/controllers/pages_controller.rb
|
200
|
+
- app/models/content_block.rb
|
201
|
+
- app/models/editor.rb
|
202
|
+
- app/models/page.rb
|
203
|
+
- app/models/user.rb
|
204
|
+
- app/views/layouts/manifest.html.erb
|
205
|
+
- app/views/manifest/content_blocks/_form.html.erb
|
206
|
+
- app/views/manifest/content_blocks/edit.html.erb
|
207
|
+
- app/views/manifest/content_blocks/index.html.erb
|
208
|
+
- app/views/manifest/content_blocks/new.html.erb
|
209
|
+
- app/views/manifest/pages/_form.html.erb
|
210
|
+
- app/views/manifest/pages/edit.html.erb
|
211
|
+
- app/views/manifest/pages/index.html.erb
|
212
|
+
- app/views/manifest/pages/new.html.erb
|
213
|
+
- app/views/manifest/sessions/new.html.erb
|
214
|
+
- config/initializers/manifest.rb
|
215
|
+
- config/routes.rb
|
216
|
+
- lib/active_record/base/acts_as_manifest.rb
|
217
|
+
- lib/generators/manifest/data_type/data_type_generator.rb
|
218
|
+
- lib/generators/manifest/data_type/templates/controller.rb
|
219
|
+
- lib/generators/manifest/data_type/templates/index.html.erb
|
220
|
+
- lib/generators/manifest/data_type/templates/migration.rb
|
221
|
+
- lib/generators/manifest/data_type/templates/model.rb
|
222
|
+
- lib/generators/manifest/data_type/USAGE
|
223
|
+
- lib/generators/manifest/install/install_generator.rb
|
224
|
+
- lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
|
225
|
+
- lib/generators/manifest/install/templates/add_index_to_pages.rb
|
226
|
+
- lib/generators/manifest/install/templates/create_content_blocks.rb
|
227
|
+
- lib/generators/manifest/install/templates/create_editors.rb
|
228
|
+
- lib/generators/manifest/install/templates/create_pages.rb
|
229
|
+
- lib/generators/manifest/install/USAGE
|
230
|
+
- lib/manifest/engine.rb
|
231
|
+
- lib/manifest/version.rb
|
232
|
+
- lib/manifest.rb
|
233
|
+
- lib/tasks/manifest_tasks.rake
|
234
|
+
- MIT-LICENSE
|
235
|
+
- Rakefile
|
236
|
+
- README.md
|
237
|
+
homepage: https://github.com/jclem/manifest-rails
|
238
|
+
licenses: []
|
239
|
+
post_install_message:
|
240
|
+
rdoc_options: []
|
241
|
+
require_paths:
|
242
|
+
- lib
|
243
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
244
|
+
none: false
|
245
|
+
requirements:
|
246
|
+
- - ! '>='
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
249
|
+
segments:
|
250
|
+
- 0
|
251
|
+
hash: -248169853205910835
|
252
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
|
+
none: false
|
254
|
+
requirements:
|
255
|
+
- - ! '>='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
segments:
|
259
|
+
- 0
|
260
|
+
hash: -248169853205910835
|
261
|
+
requirements: []
|
262
|
+
rubyforge_project:
|
263
|
+
rubygems_version: 1.8.17
|
264
|
+
signing_key:
|
265
|
+
specification_version: 3
|
266
|
+
summary: Manifest is a Rails Engine CMS.
|
267
|
+
test_files: []
|