common-content 0.0.4 → 0.0.5
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/MIT-LICENSE +20 -20
- data/README.textile +55 -55
- data/Rakefile +29 -29
- data/app/assets/javascripts/application.js +15 -15
- data/app/assets/javascripts/contents.js.coffee +16 -16
- data/app/assets/javascripts/jquery-ui-1.8.21.custom.min.js +124 -124
- data/app/assets/stylesheets/bootstrap_and_overrides.css.less +29 -29
- data/app/assets/stylesheets/contents.css.less +6 -6
- data/app/assets/stylesheets/scaffolds.css.less +62 -62
- data/app/controllers/contents_controller.rb +99 -99
- data/app/helpers/contents_helper.rb +27 -34
- data/app/models/content.rb +71 -66
- data/app/models/textile.rb +15 -15
- data/app/views/contents/_array_form.html.erb +13 -13
- data/app/views/contents/_child_content_fields.html.erb +8 -14
- data/app/views/contents/_content.xml.builder +3 -3
- data/app/views/contents/_fields_edit.html.erb +7 -7
- data/app/views/contents/_fields_new.html.erb +12 -14
- data/app/views/contents/_navigation.html.erb +13 -0
- data/app/views/contents/_resource_fields.html.erb +23 -21
- data/app/views/contents/_seo_fields.html.erb +21 -21
- data/app/views/contents/_show_children.html.erb +10 -10
- data/app/views/contents/edit.html.erb +51 -44
- data/app/views/contents/index.html.erb +33 -34
- data/app/views/contents/index.xml.builder +4 -4
- data/app/views/contents/new.html.erb +13 -13
- data/app/views/contents/show.html.erb +25 -25
- data/app/views/layouts/contents.html.erb +46 -64
- data/config/routes.rb +9 -9
- data/lib/common-content.rb +4 -4
- data/lib/common-content/engine.rb +7 -7
- data/lib/common-content/version.rb +3 -3
- data/lib/tasks/common-content_tasks.rake +4 -4
- metadata +44 -73
@@ -1,34 +1,33 @@
|
|
1
|
-
<%- model_class = Content.new.class -%>
|
2
|
-
<div class="page-header">
|
3
|
-
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
<th><%= model_class.human_attribute_name(:
|
9
|
-
<th><%=
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
<td><%=
|
17
|
-
<td
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
:
|
24
|
-
:
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
:class => 'btn btn-primary' %>
|
1
|
+
<%- model_class = Content.new.class -%>
|
2
|
+
<div class="page-header">
|
3
|
+
</div>
|
4
|
+
<table class="table table-striped">
|
5
|
+
<thead>
|
6
|
+
<tr>
|
7
|
+
<th><%= model_class.human_attribute_name(:slug) %></th>
|
8
|
+
<th><%= model_class.human_attribute_name(:title) %></th>
|
9
|
+
<th><%=t '.actions', :default => t("helpers.actions") %></th>
|
10
|
+
</tr>
|
11
|
+
</thead>
|
12
|
+
<tbody>
|
13
|
+
<% @contents.each do |content| %>
|
14
|
+
<tr>
|
15
|
+
<td><%= link_to content.slug, content_path(content) %></td>
|
16
|
+
<td><%= content.title %></td>
|
17
|
+
<td>
|
18
|
+
<%= link_to t('.edit', :default => t("helpers.links.edit")),
|
19
|
+
edit_content_path(content), :class => 'btn btn-mini' %>
|
20
|
+
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
|
21
|
+
content_path(content),
|
22
|
+
:method => :delete,
|
23
|
+
:confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')),
|
24
|
+
:class => 'btn btn-mini btn-danger' %>
|
25
|
+
</td>
|
26
|
+
</tr>
|
27
|
+
<% end %>
|
28
|
+
</tbody>
|
29
|
+
</table>
|
30
|
+
|
31
|
+
<%= link_to t('.new', :default => t("helpers.links.new")),
|
32
|
+
new_content_path,
|
33
|
+
:class => 'btn btn-primary' %>
|
@@ -1,5 +1,5 @@
|
|
1
|
-
xml.contents do
|
2
|
-
@contents.each do |c|
|
3
|
-
xml << render(:partial => 'content.xml.builder', object: c)
|
4
|
-
end
|
1
|
+
xml.contents do
|
2
|
+
@contents.each do |c|
|
3
|
+
xml << render(:partial => 'content.xml.builder', object: c)
|
4
|
+
end
|
5
5
|
end
|
@@ -1,13 +1,13 @@
|
|
1
|
-
<%- model_class = @content.class -%>
|
2
|
-
<div class="page-header">
|
3
|
-
<h1><%=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human,
|
4
|
-
:default => "New #{model_class.model_name.human}") %></h1>
|
5
|
-
</div>
|
6
|
-
<%= form_for @content, :url => contents_path, :as => :content, :html => { :class => 'form-horizontal' } do |f| %>
|
7
|
-
<%= render :partial => 'fields_new', :locals => {f: f} %>
|
8
|
-
<div class="form-actions">
|
9
|
-
<%= f.submit nil, :class => 'btn btn-primary' %>
|
10
|
-
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
|
11
|
-
contents_path, :class => 'btn' %>
|
12
|
-
</div>
|
13
|
-
<% end %>
|
1
|
+
<%- model_class = @content.class -%>
|
2
|
+
<div class="page-header">
|
3
|
+
<h1><%=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human,
|
4
|
+
:default => "New #{model_class.model_name.human}") %></h1>
|
5
|
+
</div>
|
6
|
+
<%= form_for @content, :url => contents_path, :as => :content, :html => { :class => 'form-horizontal' } do |f| %>
|
7
|
+
<%= render :partial => 'fields_new', :locals => {f: f} %>
|
8
|
+
<div class="form-actions">
|
9
|
+
<%= f.submit nil, :class => 'btn btn-primary' %>
|
10
|
+
<%= link_to t('.cancel', :default => t("helpers.links.cancel")),
|
11
|
+
contents_path, :class => 'btn' %>
|
12
|
+
</div>
|
13
|
+
<% end %>
|
@@ -1,25 +1,25 @@
|
|
1
|
-
<%- model_class = @content.class -%>
|
2
|
-
<div class="page-header">
|
3
|
-
<h1><%=t '.title', :default => "#{@content.title}" %></h1>
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<dl class="dl-horizontal">
|
7
|
-
<dt><strong><%= model_class.human_attribute_name(:_type) %>:</strong></dt>
|
8
|
-
<dd><%= @content._type %></dd>
|
9
|
-
<dt><strong><%= model_class.human_attribute_name(:_id) %>:</strong></dt>
|
10
|
-
<dd><%= @content._id %></dd>
|
11
|
-
<dt><strong><%= model_class.human_attribute_name(:slug) %>:</strong></dt>
|
12
|
-
<dd><%= @content.slug %></dd>
|
13
|
-
</dl>
|
14
|
-
|
15
|
-
<div class="form-actions">
|
16
|
-
<%= link_to t('.back', :default => t("helpers.links.back")),
|
17
|
-
contents_path, :class => 'btn' %>
|
18
|
-
<%= link_to t('.edit', :default => t("helpers.links.edit")),
|
19
|
-
edit_content_path(@content.ancestry), :class => 'btn' %>
|
20
|
-
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
|
21
|
-
content_path(@content),
|
22
|
-
:method => 'delete',
|
23
|
-
:confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')),
|
24
|
-
:class => 'btn btn-danger' %>
|
25
|
-
</div>
|
1
|
+
<%- model_class = @content.class -%>
|
2
|
+
<div class="page-header">
|
3
|
+
<h1><%=t '.title', :default => "#{@content.title}" %></h1>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<dl class="dl-horizontal">
|
7
|
+
<dt><strong><%= model_class.human_attribute_name(:_type) %>:</strong></dt>
|
8
|
+
<dd><%= @content._type %></dd>
|
9
|
+
<dt><strong><%= model_class.human_attribute_name(:_id) %>:</strong></dt>
|
10
|
+
<dd><%= @content._id %></dd>
|
11
|
+
<dt><strong><%= model_class.human_attribute_name(:slug) %>:</strong></dt>
|
12
|
+
<dd><%= @content.slug %></dd>
|
13
|
+
</dl>
|
14
|
+
|
15
|
+
<div class="form-actions">
|
16
|
+
<%= link_to t('.back', :default => t("helpers.links.back")),
|
17
|
+
contents_path, :class => 'btn' %>
|
18
|
+
<%= link_to t('.edit', :default => t("helpers.links.edit")),
|
19
|
+
edit_content_path(@content.ancestry), :class => 'btn' %>
|
20
|
+
<%= link_to t('.destroy', :default => t("helpers.links.destroy")),
|
21
|
+
content_path(@content),
|
22
|
+
:method => 'delete',
|
23
|
+
:confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')),
|
24
|
+
:class => 'btn btn-danger' %>
|
25
|
+
</div>
|
@@ -1,64 +1,46 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title><%= content_for?(:title) ? yield(:title) : "Common Content" %></title>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
|
9
|
-
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
10
|
-
<!--[if lt IE 9]>
|
11
|
-
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
12
|
-
<![endif]-->
|
13
|
-
|
14
|
-
<%= stylesheet_link_tag "contents", :media => "all" %>
|
15
|
-
|
16
|
-
<link href="images/favicon.ico" rel="shortcut icon">
|
17
|
-
<link href="images/apple-touch-icon.png" rel="apple-touch-icon">
|
18
|
-
<link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
|
19
|
-
<link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
|
20
|
-
</head>
|
21
|
-
<body>
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
</div>
|
48
|
-
</div><!--/row-->
|
49
|
-
|
50
|
-
<footer>
|
51
|
-
<p>© 2012</p>
|
52
|
-
<h6 style="font-size:8px">view_paths = <%= controller.view_paths.entries %></h6>
|
53
|
-
<h6 style="font-size:8px">ancestry = <%= @content.try(:ancestry) %></h6>
|
54
|
-
</footer>
|
55
|
-
|
56
|
-
</div> <!-- /container -->
|
57
|
-
|
58
|
-
<!-- Javascripts
|
59
|
-
================================================== -->
|
60
|
-
<!-- Placed at the end of the document so the pages load faster -->
|
61
|
-
<%= javascript_include_tag "application" %>
|
62
|
-
|
63
|
-
</body>
|
64
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title><%= content_for?(:title) ? yield(:title) : "Common Content" %></title>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
|
9
|
+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
10
|
+
<!--[if lt IE 9]>
|
11
|
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
12
|
+
<![endif]-->
|
13
|
+
|
14
|
+
<%= stylesheet_link_tag "contents", :media => "all" %>
|
15
|
+
|
16
|
+
<link href="images/favicon.ico" rel="shortcut icon">
|
17
|
+
<link href="images/apple-touch-icon.png" rel="apple-touch-icon">
|
18
|
+
<link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
|
19
|
+
<link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
|
20
|
+
</head>
|
21
|
+
<body>
|
22
|
+
|
23
|
+
<%= render partial: 'navigation' %>
|
24
|
+
|
25
|
+
<div class="container-fluid">
|
26
|
+
<div class="row-fluid">
|
27
|
+
<div class="span12">
|
28
|
+
<%= yield %>
|
29
|
+
</div>
|
30
|
+
</div><!--/row-->
|
31
|
+
|
32
|
+
<footer>
|
33
|
+
<p>© 2012</p>
|
34
|
+
<h6 style="font-size:8px">view_paths = <%= controller.view_paths.entries %></h6>
|
35
|
+
<h6 style="font-size:8px">ancestry = <%= @content.try(:ancestry) %></h6>
|
36
|
+
</footer>
|
37
|
+
|
38
|
+
</div> <!-- /container -->
|
39
|
+
|
40
|
+
<!-- Javascripts
|
41
|
+
================================================== -->
|
42
|
+
<!-- Placed at the end of the document so the pages load faster -->
|
43
|
+
<%= javascript_include_tag "application" %>
|
44
|
+
|
45
|
+
</body>
|
46
|
+
</html>
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
Rails.application.routes.draw do
|
2
|
-
# root :to => '404.html'
|
3
|
-
resources :contents do
|
4
|
-
end
|
5
|
-
|
6
|
-
match 'contents/*ancestors/:id/edit' => 'contents#edit'
|
7
|
-
match 'contents/*ancestors/:id' => 'contents#update', :via => [:put]
|
8
|
-
match 'contents/*ancestors/:id' => 'contents#show'
|
9
|
-
end
|
1
|
+
Rails.application.routes.draw do
|
2
|
+
# root :to => '404.html'
|
3
|
+
resources :contents do
|
4
|
+
end
|
5
|
+
|
6
|
+
match 'contents/*ancestors/:id/edit' => 'contents#edit'
|
7
|
+
match 'contents/*ancestors/:id' => 'contents#update', :via => [:put]
|
8
|
+
match 'contents/*ancestors/:id' => 'contents#show'
|
9
|
+
end
|
data/lib/common-content.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require "common-content/engine"
|
2
|
-
|
3
|
-
module CommonContent
|
4
|
-
end
|
1
|
+
require "common-content/engine"
|
2
|
+
|
3
|
+
module CommonContent
|
4
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
|
-
module CommonContent
|
2
|
-
class Engine < ::Rails::Engine
|
3
|
-
config.to_prepare do
|
4
|
-
ApplicationController.helper(ContentsHelper)
|
5
|
-
end
|
6
|
-
end
|
7
|
-
end
|
1
|
+
module CommonContent
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
config.to_prepare do
|
4
|
+
ApplicationController.helper(ContentsHelper)
|
5
|
+
end
|
6
|
+
end
|
7
|
+
end
|
@@ -1,3 +1,3 @@
|
|
1
|
-
module CommonContent
|
2
|
-
VERSION = "0.0.
|
3
|
-
end
|
1
|
+
module CommonContent
|
2
|
+
VERSION = "0.0.5"
|
3
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# desc "Explaining what the task does"
|
2
|
-
# task :common-content do
|
3
|
-
# # Task goes here
|
4
|
-
# end
|
1
|
+
# desc "Explaining what the task does"
|
2
|
+
# task :common-content do
|
3
|
+
# # Task goes here
|
4
|
+
# end
|
metadata
CHANGED
@@ -1,114 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: common-content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Stewart
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-09 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
|
17
|
-
none: false
|
16
|
+
version_requirements: &2056 !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
18
|
- - ~>
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 3.2.1
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
21
|
none: false
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
version: 3.2.1
|
22
|
+
requirement: *2056
|
23
|
+
prerelease: false
|
24
|
+
type: :runtime
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: RedCloth
|
32
|
-
|
33
|
-
none: false
|
27
|
+
version_requirements: &2074 !ruby/object:Gem::Requirement
|
34
28
|
requirements:
|
35
29
|
- - ! '>='
|
36
30
|
- !ruby/object:Gem::Version
|
37
31
|
version: '0'
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
32
|
none: false
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
version: '0'
|
33
|
+
requirement: *2074
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: mongoid
|
48
|
-
|
49
|
-
none: false
|
38
|
+
version_requirements: &2090 !ruby/object:Gem::Requirement
|
50
39
|
requirements:
|
51
40
|
- - ! '>='
|
52
41
|
- !ruby/object:Gem::Version
|
53
42
|
version: '0'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
43
|
none: false
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
version: '0'
|
44
|
+
requirement: *2090
|
45
|
+
prerelease: false
|
46
|
+
type: :development
|
62
47
|
- !ruby/object:Gem::Dependency
|
63
48
|
name: rspec-rails
|
64
|
-
|
65
|
-
none: false
|
49
|
+
version_requirements: &2108 !ruby/object:Gem::Requirement
|
66
50
|
requirements:
|
67
51
|
- - ! '>='
|
68
52
|
- !ruby/object:Gem::Version
|
69
53
|
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
54
|
none: false
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
version: '0'
|
55
|
+
requirement: *2108
|
56
|
+
prerelease: false
|
57
|
+
type: :development
|
78
58
|
- !ruby/object:Gem::Dependency
|
79
59
|
name: guard-rspec
|
80
|
-
|
81
|
-
none: false
|
60
|
+
version_requirements: &2124 !ruby/object:Gem::Requirement
|
82
61
|
requirements:
|
83
62
|
- - ! '>='
|
84
63
|
- !ruby/object:Gem::Version
|
85
64
|
version: '0'
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
65
|
none: false
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
version: '0'
|
66
|
+
requirement: *2124
|
67
|
+
prerelease: false
|
68
|
+
type: :development
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: fuubar
|
96
|
-
|
97
|
-
none: false
|
71
|
+
version_requirements: &2140 !ruby/object:Gem::Requirement
|
98
72
|
requirements:
|
99
73
|
- - ! '>='
|
100
74
|
- !ruby/object:Gem::Version
|
101
75
|
version: '0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
76
|
none: false
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
description: Common-content is a simple CMS rails engine plugin for Mongoid based
|
111
|
-
apps
|
77
|
+
requirement: *2140
|
78
|
+
prerelease: false
|
79
|
+
type: :development
|
80
|
+
description: Common-content is a simple CMS rails engine plugin for Mongoid based apps
|
112
81
|
email:
|
113
82
|
- ! '@john_s_in_co'
|
114
83
|
executables: []
|
@@ -126,52 +95,54 @@ files:
|
|
126
95
|
- app/helpers/contents_helper.rb
|
127
96
|
- app/models/content.rb
|
128
97
|
- app/models/textile.rb
|
98
|
+
- app/views/contents/edit.html.erb
|
99
|
+
- app/views/contents/index.html.erb
|
100
|
+
- app/views/contents/index.xml.builder
|
101
|
+
- app/views/contents/new.html.erb
|
102
|
+
- app/views/contents/show.html.erb
|
103
|
+
- app/views/contents/show.xml.builder
|
129
104
|
- app/views/contents/_array_form.html.erb
|
130
105
|
- app/views/contents/_child_content_fields.html.erb
|
131
106
|
- app/views/contents/_content.xml.builder
|
132
107
|
- app/views/contents/_fields_edit.html.erb
|
133
108
|
- app/views/contents/_fields_new.html.erb
|
109
|
+
- app/views/contents/_navigation.html.erb
|
134
110
|
- app/views/contents/_resource_fields.html.erb
|
135
111
|
- app/views/contents/_seo_fields.html.erb
|
136
112
|
- app/views/contents/_show_children.html.erb
|
137
113
|
- app/views/contents/_textile_form.html.erb
|
138
|
-
- app/views/contents/edit.html.erb
|
139
|
-
- app/views/contents/index.html.erb
|
140
|
-
- app/views/contents/index.xml.builder
|
141
|
-
- app/views/contents/new.html.erb
|
142
|
-
- app/views/contents/show.html.erb
|
143
|
-
- app/views/contents/show.xml.builder
|
144
114
|
- app/views/layouts/contents.html.erb
|
145
115
|
- config/routes.rb
|
116
|
+
- lib/common-content.rb
|
146
117
|
- lib/common-content/engine.rb
|
147
118
|
- lib/common-content/version.rb
|
148
|
-
- lib/common-content.rb
|
149
119
|
- lib/tasks/common-content_tasks.rake
|
150
120
|
- MIT-LICENSE
|
151
121
|
- Rakefile
|
152
122
|
- README.textile
|
153
123
|
homepage: https://github.com/johnsinco/common-content
|
154
124
|
licenses: []
|
155
|
-
post_install_message:
|
125
|
+
post_install_message:
|
156
126
|
rdoc_options: []
|
157
127
|
require_paths:
|
158
128
|
- lib
|
159
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
130
|
requirements:
|
162
131
|
- - ! '>='
|
163
132
|
- !ruby/object:Gem::Version
|
164
133
|
version: '0'
|
165
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
134
|
none: false
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
136
|
requirements:
|
168
137
|
- - ! '>='
|
169
138
|
- !ruby/object:Gem::Version
|
170
139
|
version: '0'
|
140
|
+
none: false
|
171
141
|
requirements: []
|
172
|
-
rubyforge_project:
|
173
|
-
rubygems_version: 1.8.
|
174
|
-
signing_key:
|
142
|
+
rubyforge_project:
|
143
|
+
rubygems_version: 1.8.15
|
144
|
+
signing_key:
|
175
145
|
specification_version: 3
|
176
146
|
summary: Common-content is a simple CMS rails engine plugin for Mongoid based apps
|
177
147
|
test_files: []
|
148
|
+
...
|