smallcage 0.1.0 → 0.1.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/.project +11 -0
- data/History.txt +8 -0
- data/License.txt +0 -0
- data/Manifest.txt +12 -13
- data/README.txt +0 -0
- data/Rakefile +0 -0
- data/config/hoe.rb +0 -0
- data/config/requirements.rb +0 -0
- data/lib/smallcage.rb +0 -0
- data/lib/smallcage/application.rb +0 -0
- data/lib/smallcage/commands/auto.rb +0 -0
- data/lib/smallcage/commands/base.rb +0 -0
- data/lib/smallcage/commands/clean.rb +0 -0
- data/lib/smallcage/commands/export.rb +0 -0
- data/lib/smallcage/commands/import.rb +0 -0
- data/lib/smallcage/commands/manifest.rb +0 -0
- data/lib/smallcage/commands/server.rb +0 -0
- data/lib/smallcage/commands/update.rb +0 -0
- data/lib/smallcage/document_path.rb +0 -0
- data/lib/smallcage/erb_base.rb +0 -0
- data/lib/smallcage/http_server.rb +0 -0
- data/lib/smallcage/loader.rb +0 -0
- data/lib/smallcage/misc.rb +0 -0
- data/lib/smallcage/renderer.rb +0 -0
- data/lib/smallcage/resources/Manifest.erb +0 -0
- data/lib/smallcage/resources/auto.html +0 -0
- data/lib/smallcage/runner.rb +0 -0
- data/lib/smallcage/version.rb +1 -1
- data/project/base/_smc/helpers/base_helper.rb +0 -0
- data/project/base/_smc/helpers/site_helper.rb +0 -0
- data/project/base/_smc/templates/default.rhtml +0 -0
- data/project/base/_smc/templates/footer.rhtml +0 -0
- data/project/base/_smc/templates/header.rhtml +0 -0
- data/project/bluecloth/_smc/helpers/blue_cloth_helper.rb +10 -0
- data/project/{redcloth → bluecloth}/_smc/templates/markdown.rhtml +1 -1
- data/project/lang/_smc/helpers/lang_helper.rb +0 -0
- data/project/lang/_smc/templates/other_lang.rhtml +0 -0
- data/project/news/_smc/helpers/news_helper.rb +36 -0
- data/project/nkf/_smc/filters/filters.yml +0 -0
- data/project/nkf/_smc/filters/nkf_filter.rb +0 -0
- data/project/rake/_smc/Rakefile +69 -0
- data/project/redcloth/_smc/helpers/red_cloth_helper.rb +0 -4
- data/project/redcloth/_smc/templates/textile.rhtml +0 -0
- data/project/relpath/_smc/filters/filters.yml +0 -0
- data/project/relpath/_smc/filters/relpath_filter.rb +0 -0
- data/project/standard/_dir.smc +0 -0
- data/project/standard/_smc/helpers/base_helper.rb +0 -0
- data/project/standard/_smc/helpers/menu_helper.rb +0 -0
- data/project/standard/_smc/templates/default.rhtml +5 -0
- data/project/standard/_smc/templates/footer.rhtml +2 -0
- data/project/standard/_smc/templates/header.rhtml +5 -5
- data/project/standard/_smc/templates/menu.rhtml +1 -2
- data/project/standard/_smc/templates/redirect.rhtml +0 -0
- data/project/standard/_smc/templates/sidebar.rhtml +4 -3
- data/project/standard/_smc/templates/topic_path.rhtml +0 -0
- data/project/standard/common/css/default.css +42 -30
- data/project/standard/common/css/print.css +0 -0
- data/project/standard/index.html.smc +2 -12
- data/project/standard/sample/_dir.smc +1 -0
- data/project/standard/sample/index.html.smc +7 -0
- data/project/standard/sample/redirect.html.smc +2 -0
- data/project/standard/sample/sub/_dir.smc +1 -0
- data/project/standard/sample/sub/contents.html.smc +3 -0
- data/project/standard/sample/sub/index.html.smc +7 -0
- data/script/destroy +0 -0
- data/script/destroy.cmd +0 -0
- data/script/generate +0 -0
- data/script/generate.cmd +0 -0
- data/setup.rb +0 -0
- data/spec/data/htdocs1/_dir.smc +0 -0
- data/spec/data/htdocs1/a/b/c/index.html.smc +0 -0
- data/spec/data/htdocs2/_smc/templates/dummy.rhtml +0 -0
- data/spec/data/htdocs2/a/b/c/test.html +0 -0
- data/spec/data/htdocs2/a/b/test.html +0 -0
- data/spec/data/htdocs2/a/test.html.smc +0 -0
- data/spec/document_path_spec.rb +0 -0
- data/spec/export_spec.rb +0 -0
- data/spec/import_spec.rb +0 -0
- data/spec/loader_spec.rb +0 -0
- data/spec/manifest_spec.rb +0 -0
- data/spec/misc_spec.rb +0 -0
- data/spec/smallcage_spec.rb +0 -0
- data/spec/spec.opts +0 -0
- data/spec/spec_helper.rb +0 -0
- data/tasks/deployment.rake +0 -0
- data/tasks/environment.rake +0 -0
- data/tasks/rspec.rake +0 -0
- data/tasks/website.rake +0 -0
- data/test/test_helper.rb +0 -0
- data/test/test_smallcage.rb +0 -0
- metadata +26 -18
- data/project/standard/about/_dir.smc +0 -1
- data/project/standard/about/index.html.smc +0 -3
- data/project/standard/menu1/_dir.smc +0 -1
- data/project/standard/menu1/index.html.smc +0 -4
- data/project/standard/menu1/index2.html.smc +0 -5
- data/project/standard/menu2/1/_dir.smc +0 -1
- data/project/standard/menu2/1/index.html.smc +0 -4
- data/project/standard/menu2/2/_dir.smc +0 -1
- data/project/standard/menu2/2/index.html.smc +0 -4
- data/project/standard/menu2/_dir.smc +0 -1
- data/project/standard/menu2/index.html.smc +0 -8
- data/project/standard/menu2/redirect.html.smc +0 -2
data/.project
ADDED
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
== 0.1.1
|
2
|
+
|
3
|
+
* fix permissions.
|
4
|
+
* remove render_markdown method from red_cloth_helper.rb. RedCloth can't format markdown.
|
5
|
+
* add BlueCloth project template.
|
6
|
+
* add news project template.
|
7
|
+
* refine default project template.
|
8
|
+
|
1
9
|
== 0.1.0 2008-05-26
|
2
10
|
|
3
11
|
* to avoid namespace polution, the helpers and filters loaded into an anonymous module.
|
data/License.txt
CHANGED
File without changes
|
data/Manifest.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
.project
|
1
2
|
History.txt
|
2
3
|
License.txt
|
3
4
|
Manifest.txt
|
@@ -31,39 +32,37 @@ project/base/_smc/helpers/site_helper.rb
|
|
31
32
|
project/base/_smc/templates/default.rhtml
|
32
33
|
project/base/_smc/templates/footer.rhtml
|
33
34
|
project/base/_smc/templates/header.rhtml
|
35
|
+
project/bluecloth/_smc/helpers/blue_cloth_helper.rb
|
36
|
+
project/bluecloth/_smc/templates/markdown.rhtml
|
34
37
|
project/lang/_smc/helpers/lang_helper.rb
|
35
38
|
project/lang/_smc/templates/other_lang.rhtml
|
39
|
+
project/news/_smc/helpers/news_helper.rb
|
36
40
|
project/nkf/_smc/filters/filters.yml
|
37
41
|
project/nkf/_smc/filters/nkf_filter.rb
|
42
|
+
project/rake/_smc/Rakefile
|
38
43
|
project/redcloth/_smc/helpers/red_cloth_helper.rb
|
39
|
-
project/redcloth/_smc/templates/markdown.rhtml
|
40
44
|
project/redcloth/_smc/templates/textile.rhtml
|
41
45
|
project/relpath/_smc/filters/filters.yml
|
42
46
|
project/relpath/_smc/filters/relpath_filter.rb
|
43
47
|
project/standard/_dir.smc
|
44
48
|
project/standard/_smc/helpers/base_helper.rb
|
45
49
|
project/standard/_smc/helpers/menu_helper.rb
|
50
|
+
project/standard/_smc/templates/default.rhtml
|
46
51
|
project/standard/_smc/templates/footer.rhtml
|
47
52
|
project/standard/_smc/templates/header.rhtml
|
48
53
|
project/standard/_smc/templates/menu.rhtml
|
49
54
|
project/standard/_smc/templates/redirect.rhtml
|
50
55
|
project/standard/_smc/templates/sidebar.rhtml
|
51
56
|
project/standard/_smc/templates/topic_path.rhtml
|
52
|
-
project/standard/about/_dir.smc
|
53
|
-
project/standard/about/index.html.smc
|
54
57
|
project/standard/common/css/default.css
|
55
58
|
project/standard/common/css/print.css
|
56
59
|
project/standard/index.html.smc
|
57
|
-
project/standard/
|
58
|
-
project/standard/
|
59
|
-
project/standard/
|
60
|
-
project/standard/
|
61
|
-
project/standard/
|
62
|
-
project/standard/
|
63
|
-
project/standard/menu2/2/index.html.smc
|
64
|
-
project/standard/menu2/_dir.smc
|
65
|
-
project/standard/menu2/index.html.smc
|
66
|
-
project/standard/menu2/redirect.html.smc
|
60
|
+
project/standard/sample/_dir.smc
|
61
|
+
project/standard/sample/index.html.smc
|
62
|
+
project/standard/sample/redirect.html.smc
|
63
|
+
project/standard/sample/sub/_dir.smc
|
64
|
+
project/standard/sample/sub/contents.html.smc
|
65
|
+
project/standard/sample/sub/index.html.smc
|
67
66
|
script/destroy
|
68
67
|
script/destroy.cmd
|
69
68
|
script/generate
|
data/README.txt
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/config/hoe.rb
CHANGED
File without changes
|
data/config/requirements.rb
CHANGED
File without changes
|
data/lib/smallcage.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/smallcage/erb_base.rb
CHANGED
File without changes
|
File without changes
|
data/lib/smallcage/loader.rb
CHANGED
File without changes
|
data/lib/smallcage/misc.rb
CHANGED
File without changes
|
data/lib/smallcage/renderer.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/smallcage/runner.rb
CHANGED
File without changes
|
data/lib/smallcage/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,36 @@
|
|
1
|
+
module SmallCage
|
2
|
+
|
3
|
+
# news entry file ... YYYYMMDDHHMM.html.smc
|
4
|
+
# archive file ... YYYY.html.smc or YYYYMM.html.smc or YYYYMMDD.html.smc
|
5
|
+
module NewsHelper
|
6
|
+
|
7
|
+
def each_latest_news(amount, &block)
|
8
|
+
i = 0
|
9
|
+
_glob(".", %r{/\d{12}\.html\.smc$}).reverse.each do |path|
|
10
|
+
_with(_load(path), &block)
|
11
|
+
i += 1
|
12
|
+
break if amount <= i
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
def each_archived_news(&block)
|
17
|
+
date = @obj["uri"].match(%r{/(\d{4})(\d{2})?(\d{2})?\.html$}).to_a
|
18
|
+
date.shift
|
19
|
+
date = date.join("")
|
20
|
+
_glob(".", %r{/#{date}\d{#{12-date.length}}\.html\.smc$}).reverse.each do |path|
|
21
|
+
_with(_load(path), &block)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def news_time
|
26
|
+
date = @obj["uri"].match(%r{/(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})\.html}).to_a
|
27
|
+
date.shift
|
28
|
+
return Time.local(*date)
|
29
|
+
end
|
30
|
+
|
31
|
+
def news_ftime(format = "%Y-%m-%d")
|
32
|
+
news_time().strftime(format)
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
File without changes
|
File without changes
|
@@ -0,0 +1,69 @@
|
|
1
|
+
Dir.chdir(File.dirname(__FILE__) + "/..")
|
2
|
+
|
3
|
+
require 'pathname'
|
4
|
+
require 'rubygems'
|
5
|
+
require 'smallcage'
|
6
|
+
|
7
|
+
task :default => :smcupdate
|
8
|
+
|
9
|
+
task :smcupdate do
|
10
|
+
system "smc update"
|
11
|
+
end
|
12
|
+
|
13
|
+
def load_svnignores(loader, path)
|
14
|
+
dirs = loader.load_dirs(Pathname.new(path) + "child_dummy") # TODO
|
15
|
+
ignores = []
|
16
|
+
dirs.reverse.each do |d|
|
17
|
+
data = d["svnignore"]
|
18
|
+
next if data.to_s.empty?
|
19
|
+
ignores << data
|
20
|
+
last if d["svnignore_reset"]
|
21
|
+
end
|
22
|
+
data = dirs.last["svnignore_current"]
|
23
|
+
unless data.to_s.empty?
|
24
|
+
ignores << data
|
25
|
+
end
|
26
|
+
|
27
|
+
ignores.flatten!
|
28
|
+
ignores.uniq!
|
29
|
+
ignores.sort!
|
30
|
+
return ignores
|
31
|
+
end
|
32
|
+
|
33
|
+
def set_svnignore(dryrun = false)
|
34
|
+
loader = SmallCage::Loader.new(".")
|
35
|
+
|
36
|
+
exec_svn(loader, ".", dryrun)
|
37
|
+
Dir.glob("**/") do |f|
|
38
|
+
exec_svn(loader, f, dryrun)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def exec_svn(loader, f, dryrun)
|
43
|
+
return if f =~ %r{^_smc/}
|
44
|
+
svnignores = load_svnignores(loader, f).join("\n")
|
45
|
+
return if svnignores.empty?
|
46
|
+
cmd = "svn propset svn:ignore '#{svnignores}' #{f}"
|
47
|
+
puts cmd
|
48
|
+
return if dryrun
|
49
|
+
puts "FAILED: #{cmd}" unless system cmd
|
50
|
+
end
|
51
|
+
|
52
|
+
# _dir.smc
|
53
|
+
# svnignore: *.html # set recursively.
|
54
|
+
# svnignore_current: .project # add only current dir.
|
55
|
+
# svnignore_reset: true # ignore parent directory settings.
|
56
|
+
#
|
57
|
+
# You can use list.
|
58
|
+
# svnignore:
|
59
|
+
# - *.html
|
60
|
+
# - *.xml
|
61
|
+
desc "svn propset svn:ignore ..."
|
62
|
+
task :svnignore do
|
63
|
+
set_svnignore
|
64
|
+
end
|
65
|
+
|
66
|
+
desc "confirm svn commands."
|
67
|
+
task :svnignore_dryrun do
|
68
|
+
set_svnignore(true)
|
69
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
data/project/standard/_dir.smc
CHANGED
File without changes
|
File without changes
|
File without changes
|
@@ -15,23 +15,23 @@
|
|
15
15
|
<link rel="stylesheet" type="text/css" href="/common/css/print.css" media="print" />
|
16
16
|
<link rel="shortcut icon" href="/common/favicon.ico" />
|
17
17
|
|
18
|
-
<title><%
|
18
|
+
<title><% unless title.to_s.empty? %><%=h title %> | <% end %>Standard Site Template</title>
|
19
19
|
</head>
|
20
20
|
<body>
|
21
21
|
<div id="container">
|
22
22
|
|
23
23
|
<div id="header">
|
24
|
-
<h1><a href="/index.html">SmallCage</a></h1>
|
25
|
-
<h2>Lightweight CMS Package.</h2>
|
24
|
+
<h1 class="site_title"><a href="/index.html">SmallCage</a></h1>
|
25
|
+
<h2 class="description">Lightweight CMS Package.</h2>
|
26
26
|
<%= menu %>
|
27
27
|
</div>
|
28
28
|
|
29
29
|
|
30
|
-
<div id="
|
30
|
+
<div id="topic_path">
|
31
31
|
<%= topic_path %>
|
32
32
|
</div>
|
33
33
|
|
34
34
|
|
35
35
|
<div id="main">
|
36
36
|
<div class="contents">
|
37
|
-
|
37
|
+
<% unless title.to_s.empty? %><h1><%=h title %></h1><% end %>
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<div id="menu">
|
2
2
|
<ul>
|
3
3
|
<li class="<%= menu_active_rex(%r{^/index.html$}) %>"><a href="/index.html">Home</a></li>
|
4
|
-
<li class="<%= menu_active("
|
5
|
-
<li class="<%= menu_active("menu2") %>"><a href="/menu2/index.html">Menu 2</a></li>
|
4
|
+
<li class="<%= menu_active("sample") %>"><a href="/sample/index.html">Sample</a></li>
|
6
5
|
</ul>
|
7
6
|
</div>
|
File without changes
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<div id="sidebar">
|
2
|
+
<h2>Links</h2>
|
2
3
|
<ul>
|
3
|
-
<li
|
4
|
-
<li
|
4
|
+
<li><a href="http://rubyforge.org/projects/smallcage/">RubyForge</a></li>
|
5
|
+
<li><a href="http://www.smallcage.org/ja/documents/">Documents</a></li>
|
5
6
|
</ul>
|
6
|
-
</div>
|
7
|
+
</div>
|
File without changes
|
@@ -10,7 +10,7 @@ a:visited { text-decoration: none; color:#03c; }
|
|
10
10
|
a:hover { text-decoration: none; color:#fff; background: #03c}
|
11
11
|
a:active { text-decoration: none; color:#03c; background: #fff}
|
12
12
|
|
13
|
-
body{
|
13
|
+
body {
|
14
14
|
line-height: 1.7em;
|
15
15
|
font-family:Helvetica, sans-serif;
|
16
16
|
}
|
@@ -24,7 +24,6 @@ body{
|
|
24
24
|
background: #03c;
|
25
25
|
color: #FFF;
|
26
26
|
overflow: hidden;
|
27
|
-
position: relative;
|
28
27
|
width: 100%;
|
29
28
|
}
|
30
29
|
|
@@ -33,77 +32,75 @@ body{
|
|
33
32
|
#header a:hover { text-decoration: none; color:#fff; background: none}
|
34
33
|
#header a:active { text-decoration: none; color: none; background: none}
|
35
34
|
|
36
|
-
#header h1
|
35
|
+
#header h1.site_title,
|
36
|
+
#header h2.site_title {
|
37
37
|
font-weight: normal;
|
38
38
|
font-size: 2em;
|
39
39
|
margin: 0.9em 0.9em 0.6em 0.9em;
|
40
40
|
}
|
41
41
|
|
42
|
-
#header h2
|
42
|
+
#header h2.description,
|
43
|
+
#header h3.description {
|
43
44
|
font-size: 1em;
|
44
45
|
font-weight: normal;
|
45
46
|
margin: 0 1.8em 1.8em 1.8em;
|
46
47
|
}
|
47
48
|
|
48
|
-
#menu{
|
49
|
-
position: absolute;
|
50
|
-
left: 288px;
|
51
|
-
bottom: 1.8em;
|
52
|
-
}
|
53
|
-
|
54
|
-
#menu li{
|
49
|
+
#menu li {
|
55
50
|
display: inline;
|
56
|
-
padding-right: 1.8em;
|
57
51
|
}
|
58
52
|
|
59
53
|
#menu a{
|
60
|
-
padding: .6em 1.
|
54
|
+
padding: 0.6em 1.8em 0.6em 1.8em;
|
55
|
+
background: #36f;
|
61
56
|
}
|
62
57
|
|
63
58
|
#menu a:hover{
|
64
|
-
color:#
|
59
|
+
color:#03c;
|
60
|
+
background: #fff;
|
65
61
|
}
|
66
62
|
|
67
63
|
#menu .active a,
|
68
64
|
#menu .active a:active{
|
69
65
|
color:#03c;
|
70
|
-
background: #
|
66
|
+
background: #eee
|
71
67
|
}
|
72
68
|
|
73
|
-
#
|
74
|
-
background: #eee;
|
69
|
+
#topic_path {
|
75
70
|
padding: 0.3em 1.8em 0.3em 1.8em;
|
71
|
+
margin-bottom: 1.2em;
|
72
|
+
background: #eee;
|
76
73
|
}
|
77
74
|
|
78
|
-
#
|
75
|
+
#topic_path .delimiter {
|
79
76
|
color: black;
|
80
77
|
margin-left: 0.3em;
|
81
78
|
margin-right: 0.3em;
|
82
|
-
font-size: .
|
79
|
+
font-size: 0.85em;
|
83
80
|
}
|
84
81
|
|
85
|
-
#
|
86
|
-
font-size: .
|
82
|
+
#topic_path a {
|
83
|
+
font-size: 0.85em;
|
87
84
|
}
|
88
85
|
|
89
86
|
#main {
|
90
|
-
|
87
|
+
float: left;
|
88
|
+
width: 100%;
|
89
|
+
margin-right : -12em;
|
91
90
|
}
|
92
91
|
|
93
92
|
#main .contents {
|
94
|
-
|
95
|
-
|
93
|
+
padding: 0 1.8em 1.8em 1.8em;
|
94
|
+
margin-right: 12em;
|
96
95
|
}
|
97
96
|
|
98
97
|
#main h1{
|
99
|
-
margin-
|
100
|
-
position: absolute;
|
101
|
-
left: 0;
|
98
|
+
margin-bottom: 0.9em;
|
102
99
|
}
|
103
100
|
|
104
101
|
#main h2{
|
105
102
|
font-size: 1.2em;
|
106
|
-
margin-bottom: .3em;
|
103
|
+
margin-bottom: 0.3em;
|
107
104
|
font-weight: bold;
|
108
105
|
}
|
109
106
|
|
@@ -120,14 +117,29 @@ body{
|
|
120
117
|
margin-left: 1.2em;
|
121
118
|
}
|
122
119
|
|
120
|
+
#sidebar{
|
121
|
+
float: right;
|
122
|
+
width: 12em;
|
123
|
+
}
|
124
|
+
|
125
|
+
#sidebar h2{
|
126
|
+
font-size: 1.2em;
|
127
|
+
margin-bottom: .3em;
|
128
|
+
font-weight: bold;
|
129
|
+
}
|
130
|
+
|
131
|
+
#sidebar ul{
|
132
|
+
margin-left: 1.2em;
|
133
|
+
}
|
123
134
|
|
124
135
|
#footer {
|
125
136
|
clear: both;
|
126
137
|
padding: 1.2em 0 1.2em 0;
|
127
|
-
margin-top:
|
138
|
+
margin-top: 24em;
|
139
|
+
font-size: 0.85em;
|
128
140
|
}
|
129
141
|
|
130
142
|
#footer .copyright{
|
131
|
-
margin-left:
|
143
|
+
margin-left: 1.8em;
|
132
144
|
font-size: 85%;
|
133
145
|
}
|
File without changes
|
@@ -1,13 +1,3 @@
|
|
1
|
-
title: Home
|
2
1
|
--- |
|
3
|
-
<h2
|
4
|
-
<p>
|
5
|
-
|
6
|
-
|
7
|
-
<h2><a href="/menu2/">Menu2</a></h2>
|
8
|
-
<p>Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text. Sample text.</p>
|
9
|
-
|
10
|
-
<ul>
|
11
|
-
<li><a href="/menu2/1/">Sample1</a></li>
|
12
|
-
<li><a href="/menu2/2/">Sample2</a></li>
|
13
|
-
</ul>
|
2
|
+
<h2>About</h2>
|
3
|
+
<p>SmallCageは、静的なウェブサイトを効率よく構築するためのアプリケーション/フレームワークです。</p>
|
@@ -0,0 +1 @@
|
|
1
|
+
topic: Sample
|
@@ -0,0 +1 @@
|
|
1
|
+
topic: Subcategory
|
data/script/destroy
CHANGED
File without changes
|
data/script/destroy.cmd
CHANGED
File without changes
|
data/script/generate
CHANGED
File without changes
|
data/script/generate.cmd
CHANGED
File without changes
|
data/setup.rb
CHANGED
File without changes
|
data/spec/data/htdocs1/_dir.smc
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/document_path_spec.rb
CHANGED
File without changes
|
data/spec/export_spec.rb
CHANGED
File without changes
|
data/spec/import_spec.rb
CHANGED
File without changes
|
data/spec/loader_spec.rb
CHANGED
File without changes
|
data/spec/manifest_spec.rb
CHANGED
File without changes
|
data/spec/misc_spec.rb
CHANGED
File without changes
|
data/spec/smallcage_spec.rb
CHANGED
File without changes
|
data/spec/spec.opts
CHANGED
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
data/tasks/deployment.rake
CHANGED
File without changes
|
data/tasks/environment.rake
CHANGED
File without changes
|
data/tasks/rspec.rake
CHANGED
File without changes
|
data/tasks/website.rake
CHANGED
File without changes
|
data/test/test_helper.rb
CHANGED
File without changes
|
data/test/test_smallcage.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smallcage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SAITO Toshihiro
|
@@ -11,10 +11,19 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2008-
|
14
|
+
date: 2008-09-22 00:00:00 +09:00
|
15
15
|
default_executable:
|
16
|
-
dependencies:
|
17
|
-
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: hoe
|
19
|
+
type: :development
|
20
|
+
version_requirement:
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 1.7.0
|
26
|
+
version:
|
18
27
|
description: Lightweigt CMS Package.
|
19
28
|
email:
|
20
29
|
- saito@bluemark.jp
|
@@ -30,6 +39,7 @@ extra_rdoc_files:
|
|
30
39
|
- Manifest.txt
|
31
40
|
- README.txt
|
32
41
|
files:
|
42
|
+
- .project
|
33
43
|
- History.txt
|
34
44
|
- License.txt
|
35
45
|
- Manifest.txt
|
@@ -63,39 +73,37 @@ files:
|
|
63
73
|
- project/base/_smc/templates/default.rhtml
|
64
74
|
- project/base/_smc/templates/footer.rhtml
|
65
75
|
- project/base/_smc/templates/header.rhtml
|
76
|
+
- project/bluecloth/_smc/helpers/blue_cloth_helper.rb
|
77
|
+
- project/bluecloth/_smc/templates/markdown.rhtml
|
66
78
|
- project/lang/_smc/helpers/lang_helper.rb
|
67
79
|
- project/lang/_smc/templates/other_lang.rhtml
|
80
|
+
- project/news/_smc/helpers/news_helper.rb
|
68
81
|
- project/nkf/_smc/filters/filters.yml
|
69
82
|
- project/nkf/_smc/filters/nkf_filter.rb
|
83
|
+
- project/rake/_smc/Rakefile
|
70
84
|
- project/redcloth/_smc/helpers/red_cloth_helper.rb
|
71
|
-
- project/redcloth/_smc/templates/markdown.rhtml
|
72
85
|
- project/redcloth/_smc/templates/textile.rhtml
|
73
86
|
- project/relpath/_smc/filters/filters.yml
|
74
87
|
- project/relpath/_smc/filters/relpath_filter.rb
|
75
88
|
- project/standard/_dir.smc
|
76
89
|
- project/standard/_smc/helpers/base_helper.rb
|
77
90
|
- project/standard/_smc/helpers/menu_helper.rb
|
91
|
+
- project/standard/_smc/templates/default.rhtml
|
78
92
|
- project/standard/_smc/templates/footer.rhtml
|
79
93
|
- project/standard/_smc/templates/header.rhtml
|
80
94
|
- project/standard/_smc/templates/menu.rhtml
|
81
95
|
- project/standard/_smc/templates/redirect.rhtml
|
82
96
|
- project/standard/_smc/templates/sidebar.rhtml
|
83
97
|
- project/standard/_smc/templates/topic_path.rhtml
|
84
|
-
- project/standard/about/_dir.smc
|
85
|
-
- project/standard/about/index.html.smc
|
86
98
|
- project/standard/common/css/default.css
|
87
99
|
- project/standard/common/css/print.css
|
88
100
|
- project/standard/index.html.smc
|
89
|
-
- project/standard/
|
90
|
-
- project/standard/
|
91
|
-
- project/standard/
|
92
|
-
- project/standard/
|
93
|
-
- project/standard/
|
94
|
-
- project/standard/
|
95
|
-
- project/standard/menu2/2/index.html.smc
|
96
|
-
- project/standard/menu2/_dir.smc
|
97
|
-
- project/standard/menu2/index.html.smc
|
98
|
-
- project/standard/menu2/redirect.html.smc
|
101
|
+
- project/standard/sample/_dir.smc
|
102
|
+
- project/standard/sample/index.html.smc
|
103
|
+
- project/standard/sample/redirect.html.smc
|
104
|
+
- project/standard/sample/sub/_dir.smc
|
105
|
+
- project/standard/sample/sub/contents.html.smc
|
106
|
+
- project/standard/sample/sub/index.html.smc
|
99
107
|
- script/destroy
|
100
108
|
- script/destroy.cmd
|
101
109
|
- script/generate
|
@@ -145,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
153
|
requirements: []
|
146
154
|
|
147
155
|
rubyforge_project: smallcage
|
148
|
-
rubygems_version: 1.
|
156
|
+
rubygems_version: 1.2.0
|
149
157
|
signing_key:
|
150
158
|
specification_version: 2
|
151
159
|
summary: Lightweigt CMS Package.
|
@@ -1 +0,0 @@
|
|
1
|
-
topic: About
|
@@ -1 +0,0 @@
|
|
1
|
-
topic: Menu1
|
@@ -1 +0,0 @@
|
|
1
|
-
topic: 1
|
@@ -1 +0,0 @@
|
|
1
|
-
topic: 2
|
@@ -1 +0,0 @@
|
|
1
|
-
topic: Menu2
|