postview 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ABOUT +9 -0
- data/HISTORY +27 -1
- data/Rakefile +3 -1
- data/VERSION +4 -4
- data/bin/postview +2 -2
- data/lib/postview.rb +64 -13
- data/lib/postview/application.rb +34 -21
- data/lib/postview/authentication.rb +36 -0
- data/lib/postview/cli.rb +10 -0
- data/lib/postview/cli/create_command.rb +53 -37
- data/lib/postview/cli/server_command.rb +2 -2
- data/lib/postview/extensions.rb +10 -0
- data/lib/postview/helpers.rb +3 -0
- data/lib/postview/settings.rb +19 -17
- data/lib/postview/site.rb +13 -1
- data/lib/postview/version.rb +1 -1
- data/tasks/package.rake +80 -2
- data/test/application_test.rb +29 -14
- data/test/{extensions.rb → customizations.rb} +1 -0
- data/test/fixtures/application/config/settings.yml +4 -1
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/banners/banner.jpg +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/favicon.ico +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/logo.png +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/navigation-bar.gif +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/postview.png +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/rack.png +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/ruby.png +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/sinatra.png +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/images/trojan.com +0 -0
- data/test/fixtures/application/themes/{gemstone/javascripts/gemstone.js → mytheme/javascripts/postview.js} +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/stylesheets/gemstone.css +0 -0
- data/test/fixtures/application/themes/{gemstone → mytheme}/stylesheets/postview.css +0 -0
- data/test/fixtures/application/themes/mytheme/templates/about.erb +1 -0
- data/test/fixtures/application/themes/mytheme/templates/archive/index.erb +3 -0
- data/test/fixtures/application/themes/mytheme/templates/archive/show.erb +1 -0
- data/test/fixtures/application/themes/mytheme/templates/drafts/index.erb +3 -0
- data/test/fixtures/application/themes/mytheme/templates/drafts/show.erb +1 -0
- data/test/fixtures/application/themes/mytheme/templates/error.erb +1 -0
- data/test/fixtures/application/themes/mytheme/templates/index.erb +3 -0
- data/{themes/default → test/fixtures/application/themes/mytheme/templates}/layout.erb +2 -2
- data/test/fixtures/application/themes/mytheme/templates/posts/index.erb +3 -0
- data/test/fixtures/application/themes/mytheme/templates/posts/show.erb +1 -0
- data/test/fixtures/application/themes/mytheme/templates/search.erb +6 -0
- data/test/fixtures/application/themes/mytheme/templates/tags/index.erb +3 -0
- data/test/fixtures/application/themes/mytheme/templates/tags/show.erb +6 -0
- data/test/fixtures/site/blog/config.ru +6 -0
- data/test/fixtures/site/blog/config/settings.yml +25 -0
- data/test/fixtures/{application/themes/gemstone/error.erb → site/blog/empty.yml} +0 -0
- data/test/fixtures/site/blog/posts/20090529-third_article.t1.t2.t3.mkd +4 -0
- data/test/fixtures/site/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd +4 -0
- data/test/fixtures/site/blog/posts/archive/20080529-first_article.t1.mkd +4 -0
- data/test/fixtures/site/blog/posts/archive/20080602-second_article.t1.t2.mkd +4 -0
- data/test/fixtures/site/blog/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd +4 -0
- data/{themes/default/error.erb → test/fixtures/site/themes/mytheme/images/banners/banner.jpg} +0 -0
- data/test/fixtures/site/themes/mytheme/images/favicon.ico +0 -0
- data/test/fixtures/site/themes/mytheme/images/logo.png +0 -0
- data/test/fixtures/site/themes/mytheme/images/navigation-bar.gif +0 -0
- data/test/fixtures/site/themes/mytheme/images/postview.png +0 -0
- data/test/fixtures/site/themes/mytheme/images/rack.png +0 -0
- data/test/fixtures/site/themes/mytheme/images/ruby.png +0 -0
- data/test/fixtures/site/themes/mytheme/images/sinatra.png +0 -0
- data/test/fixtures/site/themes/mytheme/images/trojan.com +0 -0
- data/test/fixtures/site/themes/mytheme/javascripts/postview.js +1 -0
- data/test/fixtures/site/themes/mytheme/stylesheets/gemstone.css +1 -0
- data/test/fixtures/site/themes/mytheme/stylesheets/postview.css +238 -0
- data/test/fixtures/site/themes/mytheme/templates/about.erb +1 -0
- data/test/fixtures/site/themes/mytheme/templates/archive/index.erb +3 -0
- data/test/fixtures/site/themes/mytheme/templates/archive/show.erb +1 -0
- data/test/fixtures/site/themes/mytheme/templates/drafts/index.erb +3 -0
- data/test/fixtures/site/themes/mytheme/templates/drafts/show.erb +1 -0
- data/test/fixtures/site/themes/mytheme/templates/error.erb +1 -0
- data/test/fixtures/site/themes/mytheme/templates/index.erb +3 -0
- data/test/fixtures/{application/themes/gemstone → site/themes/mytheme/templates}/layout.erb +20 -14
- data/test/fixtures/site/themes/mytheme/templates/posts/index.erb +3 -0
- data/test/fixtures/site/themes/mytheme/templates/posts/show.erb +1 -0
- data/test/fixtures/site/themes/mytheme/templates/search.erb +6 -0
- data/test/fixtures/site/themes/mytheme/templates/tags/index.erb +3 -0
- data/test/fixtures/site/themes/mytheme/templates/tags/show.erb +6 -0
- data/test/helpers_test.rb +1 -2
- data/test/settings_test.rb +12 -3
- data/test/site_test.rb +3 -4
- data/themes/default/stylesheets/postview.css +1 -0
- data/themes/default/{about.erb → templates/about.erb} +1 -1
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/archive/index.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/archive/show.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/drafts/index.erb +1 -1
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/drafts/show.erb +0 -0
- data/themes/default/templates/error.erb +13 -0
- data/themes/default/{index.erb → templates/index.erb} +1 -1
- data/themes/default/templates/layout.erb +130 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/posts/index.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/posts/show.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/search.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/tags/index.erb +0 -0
- data/{test/fixtures/application/themes/gemstone → themes/default/templates}/tags/show.erb +0 -0
- metadata +164 -61
- data/INFO +0 -14
- data/lib/postview/about.rb +0 -34
- data/test/fixtures/application/themes/gemstone/about.erb +0 -22
- data/test/fixtures/application/themes/gemstone/index.erb +0 -38
- data/test/helper.rb +0 -9
- data/themes/default/archive/index.erb +0 -21
- data/themes/default/archive/show.erb +0 -17
- data/themes/default/drafts/index.erb +0 -21
- data/themes/default/drafts/show.erb +0 -17
- data/themes/default/posts/index.erb +0 -21
- data/themes/default/posts/show.erb +0 -17
- data/themes/default/search.erb +0 -40
- data/themes/default/tags/index.erb +0 -12
- data/themes/default/tags/show.erb +0 -40
@@ -0,0 +1 @@
|
|
1
|
+
<%=current_post%>
|
data/test/helpers_test.rb
CHANGED
data/test/settings_test.rb
CHANGED
@@ -2,7 +2,8 @@ $LOAD_PATH.unshift("#{File.dirname(__FILE__)}/..")
|
|
2
2
|
|
3
3
|
require 'lib/postview'
|
4
4
|
require 'test/unit'
|
5
|
-
require 'test
|
5
|
+
require 'rack/test'
|
6
|
+
require 'test/customizations'
|
6
7
|
|
7
8
|
class SettingsTest < Test::Unit::TestCase
|
8
9
|
|
@@ -15,12 +16,13 @@ class SettingsTest < Test::Unit::TestCase
|
|
15
16
|
:email => "jack.ducklet@example.com",
|
16
17
|
:domain => "jackd.example.com",
|
17
18
|
:directory => "path/to/site",
|
18
|
-
:theme => "
|
19
|
+
:theme => "mytheme"
|
19
20
|
},
|
20
21
|
:directories => {
|
21
22
|
:posts => "posts",
|
22
23
|
:archive => "posts/archive",
|
23
|
-
:drafts => "posts/drafts"
|
24
|
+
:drafts => "posts/drafts",
|
25
|
+
:themes => "themes"
|
24
26
|
},
|
25
27
|
:sections => {
|
26
28
|
:root => "/",
|
@@ -32,6 +34,7 @@ class SettingsTest < Test::Unit::TestCase
|
|
32
34
|
:about => "about"
|
33
35
|
}
|
34
36
|
}
|
37
|
+
Postview::path = "test/fixtures/application"
|
35
38
|
@settings = Postview::Settings.load
|
36
39
|
end
|
37
40
|
|
@@ -68,5 +71,11 @@ class SettingsTest < Test::Unit::TestCase
|
|
68
71
|
end
|
69
72
|
end
|
70
73
|
|
74
|
+
should "load theme from shared directory" do
|
75
|
+
site_path = Pathname.new("test/fixtures/site").expand_path
|
76
|
+
Postview::path = site_path.join("blog")
|
77
|
+
assert_equal site_path.join("themes"), Postview::Settings.load.path_to(:themes)
|
78
|
+
end
|
79
|
+
|
71
80
|
end
|
72
81
|
|
data/test/site_test.rb
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}
|
1
|
+
$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../")
|
2
2
|
|
3
3
|
require 'lib/postview'
|
4
4
|
require 'test/unit'
|
5
|
-
require 'test/
|
6
|
-
require 'test/extensions'
|
5
|
+
require 'test/customizations'
|
7
6
|
|
8
7
|
class TestSite < Test::Unit::TestCase
|
9
8
|
|
@@ -18,7 +17,7 @@ class TestSite < Test::Unit::TestCase
|
|
18
17
|
assert_equal 'jack.ducklet@example.com', @site.email
|
19
18
|
assert_equal 'jackd.example.com', @site.domain
|
20
19
|
assert_equal 'path/to/site', @site.directory
|
21
|
-
assert_equal '
|
20
|
+
assert_equal 'mytheme', @site.theme
|
22
21
|
end
|
23
22
|
|
24
23
|
should "find all posts" do
|
data/{test/fixtures/application/themes/gemstone → themes/default/templates}/archive/index.erb
RENAMED
File without changes
|
data/{test/fixtures/application/themes/gemstone → themes/default/templates}/archive/show.erb
RENAMED
File without changes
|
data/{test/fixtures/application/themes/gemstone → themes/default/templates}/drafts/index.erb
RENAMED
@@ -7,7 +7,7 @@
|
|
7
7
|
<dl>
|
8
8
|
<% for post in all_drafted_posts %>
|
9
9
|
<dt>
|
10
|
-
<b><%=link_to "#{post.publish_date} - #{post.title}", :
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :drafts, post%></b>
|
11
11
|
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
12
|
</dt>
|
13
13
|
|
File without changes
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
<span class="entry-meta">
|
8
8
|
Published at <%= post.publish_date.strftime('%A, %B %d, %Y') %>,
|
9
|
-
tagged with <%= post.tags.map{ |tag| link_to tag.capitalize, :
|
9
|
+
tagged with <%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
10
10
|
</span>
|
11
11
|
|
12
12
|
<div class="text">
|
@@ -0,0 +1,130 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
+
<title><%=site.title%> :: <%=page.title%></title>
|
8
|
+
<meta name="generator" content="<%=Postview::version_summary%>" />
|
9
|
+
<meta name="description" content="<%=site.subtitle%>" />
|
10
|
+
<meta name="keywords" content="<%=page.keywords%>" />
|
11
|
+
<link rel="shortcut icon" href="<%=path_to :images, "favicon.ico"%>" />
|
12
|
+
<link rel="stylesheet" type="text/css" href="<%=path_to :stylesheets, "postview.css"%>" />
|
13
|
+
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
|
18
|
+
<div id="header">
|
19
|
+
|
20
|
+
<h1><%=link_to site.title, :root, :title => "#{site.title}"%></h1>
|
21
|
+
|
22
|
+
<h2><%=page.title || site.subtitle%></h2>
|
23
|
+
|
24
|
+
<span>By <%=link_to site.author, "mailto:#{site.email}", :title => "Send mail to #{site.author}"%></span>
|
25
|
+
|
26
|
+
<img src="<%=path_to "/images/logo.png"%>" id="logo" alt="Postview" />
|
27
|
+
|
28
|
+
</div><!-- header -->
|
29
|
+
|
30
|
+
<br/>
|
31
|
+
|
32
|
+
<div id="navigation-bar">
|
33
|
+
|
34
|
+
<address>
|
35
|
+
|
36
|
+
<%=link_to "Home", :root, :title => site.title%>
|
37
|
+
<%=link_to title_path(:posts), :posts, :title => title_path(:posts)%>
|
38
|
+
<%=link_to title_path(:archive), :archive, :title => title_path(:archive)%>
|
39
|
+
<%=link_to title_path(:about), :about, :title => title_path(:about)%>
|
40
|
+
|
41
|
+
</address>
|
42
|
+
|
43
|
+
<form action="<%=path_to :search%>" method="get">
|
44
|
+
<input type="text" name="keyword" value="<%=title_path :search%>" onfocus="this.value=''" onblur="this.value='<%=title_path :search%>'" title="<%=title_path :search%>"/>
|
45
|
+
</form>
|
46
|
+
|
47
|
+
</div><!-- navigation-bar -->
|
48
|
+
|
49
|
+
<br/>
|
50
|
+
|
51
|
+
<div id="content">
|
52
|
+
|
53
|
+
<%=yield%>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="options">
|
58
|
+
|
59
|
+
<div class="entry">
|
60
|
+
|
61
|
+
<h1>Related Posts</h1>
|
62
|
+
|
63
|
+
<div class="text">
|
64
|
+
|
65
|
+
<h2>Published</h2>
|
66
|
+
|
67
|
+
<ul>
|
68
|
+
<% for post in related_posts_in :posts %>
|
69
|
+
<li><%= link_to "#{post.publish_date} - #{post.title}", :posts, post, :title => post.title %></li>
|
70
|
+
<% end %>
|
71
|
+
</ul>
|
72
|
+
|
73
|
+
<h2>Archived</h2>
|
74
|
+
|
75
|
+
<ul>
|
76
|
+
<% for post in related_posts_in :archive %>
|
77
|
+
<li><%= link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title %></li>
|
78
|
+
<% end %>
|
79
|
+
</ul>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
</div>
|
83
|
+
|
84
|
+
<div class="entry">
|
85
|
+
|
86
|
+
<h1>Related Tags</h1>
|
87
|
+
|
88
|
+
<ul>
|
89
|
+
<% for tag in all_related_tags %>
|
90
|
+
<li><%= link_to "#{tag.capitalize} (#{count_posts_by_tag(tag)})", :tags, tag, :title => tag.capitalize %></li>
|
91
|
+
<% end %>
|
92
|
+
</ul>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
<div class="entry">
|
97
|
+
|
98
|
+
<div class="text">
|
99
|
+
|
100
|
+
<p>
|
101
|
+
<span><a href="http://github.com/hallison/postview" title="Project hosted by Github"><img alt="Project hosted by Github" src="http://github.com/images/modules/header/logov3.png" border="0" /></a></span>
|
102
|
+
<span><a href="http://www.pledgie.com/campaigns/5600" title="Donations"><img alt="Click here to lend your support to: postview and make a donation at www.pledgie.com !" src="http://www.pledgie.com/campaigns/5600.png?skin_name=chrome" border="0" /></a></span>
|
103
|
+
</p>
|
104
|
+
|
105
|
+
<p>
|
106
|
+
<span><a href="http://www.ruby-lang.org/" title="Ruby programming language"><img alt="Ruby programming language" src="<%=path_to "/images/ruby.png"%>" border="0" /></a></span>
|
107
|
+
<span><a href="http://rack.rubyforge.org/" title="Powers Web Applications"><img alt="Rack"src="<%=path_to "/images/rack.png"%>" border="0" /></a></span>
|
108
|
+
<span><a href="http://www.sinatrarb.com/" title="Sinatra DSL"><img alt="Sinatra DSL"src="<%=path_to "/images/sinatra.png"%>" border="0" /></a></span>
|
109
|
+
</p>
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
</div>
|
114
|
+
|
115
|
+
</div><!-- options -->
|
116
|
+
|
117
|
+
<br/>
|
118
|
+
|
119
|
+
<div id="footer">
|
120
|
+
|
121
|
+
<p>
|
122
|
+
<small><%=site.title%> © 2009 <%=site.author%>. Powered by <%=link_to Postview::version_summary, "http://github.com/hallison/postview"%>.</small>
|
123
|
+
</p>
|
124
|
+
|
125
|
+
</div><!-- footer -->
|
126
|
+
|
127
|
+
</body>
|
128
|
+
|
129
|
+
</html>
|
130
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hallison Batista
|
@@ -9,28 +9,28 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-14 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name: sinatra
|
16
|
+
name: sinatra
|
17
17
|
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 0.9.1.1
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
|
-
name: sinatra
|
26
|
+
name: sinatra-mapping
|
27
27
|
type: :runtime
|
28
28
|
version_requirement:
|
29
29
|
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 1.0.5
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: postage
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 0.1.4.1
|
44
44
|
version:
|
45
|
-
description: Postview is a simple
|
45
|
+
description: Postview is a simple blogware written in Ruby using the Sinatra DSL for render files written in Markdown.
|
46
46
|
email: email@hallisonbatista.com
|
47
47
|
executables:
|
48
48
|
- postview
|
@@ -52,30 +52,35 @@ extra_rdoc_files:
|
|
52
52
|
- README.rdoc
|
53
53
|
- LICENSE
|
54
54
|
files:
|
55
|
+
- ABOUT
|
55
56
|
- HISTORY
|
56
|
-
- INFO
|
57
57
|
- LICENSE
|
58
58
|
- Rakefile
|
59
|
-
- README.rdoc
|
60
59
|
- VERSION
|
60
|
+
- README.rdoc
|
61
|
+
- bin/postview
|
61
62
|
- lib/postview/settings.rb
|
62
63
|
- lib/postview/cli/server_command.rb
|
63
64
|
- lib/postview/cli/create_command.rb
|
64
65
|
- lib/postview/version.rb
|
65
66
|
- lib/postview/site.rb
|
66
|
-
- lib/postview/about.rb
|
67
67
|
- lib/postview/application.rb
|
68
68
|
- lib/postview/patches.rb
|
69
|
+
- lib/postview/authentication.rb
|
69
70
|
- lib/postview/cli.rb
|
70
71
|
- lib/postview/helpers.rb
|
71
72
|
- lib/postview/extensions.rb
|
72
73
|
- lib/postview.rb
|
73
|
-
-
|
74
|
+
- tasks/homepage.rake
|
75
|
+
- tasks/version.rake
|
76
|
+
- tasks/documentation.rake
|
77
|
+
- tasks/package.rake
|
78
|
+
- tasks/history.rake
|
79
|
+
- test/customizations.rb
|
74
80
|
- test/site_test.rb
|
75
81
|
- test/helpers_test.rb
|
76
82
|
- test/settings_test.rb
|
77
83
|
- test/application_test.rb
|
78
|
-
- test/extensions.rb
|
79
84
|
- test/fixtures/application/posts/archive/20080602-second_article.t1.t2.mkd
|
80
85
|
- test/fixtures/application/posts/archive/20080529-first_article.t1.mkd
|
81
86
|
- test/fixtures/application/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
|
@@ -83,51 +88,79 @@ files:
|
|
83
88
|
- test/fixtures/application/posts/20090529-third_article.t1.t2.t3.mkd
|
84
89
|
- test/fixtures/application/config/settings.yml
|
85
90
|
- test/fixtures/application/empty.yml
|
86
|
-
- test/fixtures/application/themes/
|
87
|
-
- test/fixtures/application/themes/
|
88
|
-
- test/fixtures/application/themes/
|
89
|
-
- test/fixtures/application/themes/
|
90
|
-
- test/fixtures/application/themes/
|
91
|
-
- test/fixtures/application/themes/
|
92
|
-
- test/fixtures/application/themes/
|
93
|
-
- test/fixtures/application/themes/
|
94
|
-
- test/fixtures/application/themes/
|
95
|
-
- test/fixtures/application/themes/
|
96
|
-
- test/fixtures/application/themes/
|
97
|
-
- test/fixtures/application/themes/
|
98
|
-
- test/fixtures/application/themes/
|
99
|
-
- test/fixtures/application/themes/gemstone
|
100
|
-
- test/fixtures/application/themes/
|
101
|
-
- test/fixtures/application/themes/
|
102
|
-
- test/fixtures/application/themes/
|
103
|
-
- test/fixtures/application/themes/
|
104
|
-
- test/fixtures/application/themes/
|
105
|
-
- test/fixtures/application/themes/
|
106
|
-
- test/fixtures/application/themes/
|
107
|
-
- test/fixtures/application/themes/
|
108
|
-
- test/fixtures/application/themes/
|
109
|
-
- test/fixtures/application/themes/
|
110
|
-
- test/fixtures/application/themes/
|
91
|
+
- test/fixtures/application/themes/mytheme/templates/search.erb
|
92
|
+
- test/fixtures/application/themes/mytheme/templates/posts/index.erb
|
93
|
+
- test/fixtures/application/themes/mytheme/templates/posts/show.erb
|
94
|
+
- test/fixtures/application/themes/mytheme/templates/error.erb
|
95
|
+
- test/fixtures/application/themes/mytheme/templates/layout.erb
|
96
|
+
- test/fixtures/application/themes/mytheme/templates/tags/index.erb
|
97
|
+
- test/fixtures/application/themes/mytheme/templates/tags/show.erb
|
98
|
+
- test/fixtures/application/themes/mytheme/templates/archive/index.erb
|
99
|
+
- test/fixtures/application/themes/mytheme/templates/archive/show.erb
|
100
|
+
- test/fixtures/application/themes/mytheme/templates/index.erb
|
101
|
+
- test/fixtures/application/themes/mytheme/templates/about.erb
|
102
|
+
- test/fixtures/application/themes/mytheme/templates/drafts/index.erb
|
103
|
+
- test/fixtures/application/themes/mytheme/templates/drafts/show.erb
|
104
|
+
- test/fixtures/application/themes/mytheme/stylesheets/gemstone.css
|
105
|
+
- test/fixtures/application/themes/mytheme/stylesheets/postview.css
|
106
|
+
- test/fixtures/application/themes/mytheme/javascripts/postview.js
|
107
|
+
- test/fixtures/application/themes/mytheme/images/rack.png
|
108
|
+
- test/fixtures/application/themes/mytheme/images/ruby.png
|
109
|
+
- test/fixtures/application/themes/mytheme/images/trojan.com
|
110
|
+
- test/fixtures/application/themes/mytheme/images/logo.png
|
111
|
+
- test/fixtures/application/themes/mytheme/images/navigation-bar.gif
|
112
|
+
- test/fixtures/application/themes/mytheme/images/banners/banner.jpg
|
113
|
+
- test/fixtures/application/themes/mytheme/images/favicon.ico
|
114
|
+
- test/fixtures/application/themes/mytheme/images/sinatra.png
|
115
|
+
- test/fixtures/application/themes/mytheme/images/postview.png
|
111
116
|
- test/fixtures/application/config.ru
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
- themes/
|
118
|
-
- themes/
|
119
|
-
- themes/
|
120
|
-
- themes/
|
121
|
-
- themes/
|
117
|
+
- test/fixtures/site/themes/mytheme/templates/search.erb
|
118
|
+
- test/fixtures/site/themes/mytheme/templates/posts/index.erb
|
119
|
+
- test/fixtures/site/themes/mytheme/templates/posts/show.erb
|
120
|
+
- test/fixtures/site/themes/mytheme/templates/error.erb
|
121
|
+
- test/fixtures/site/themes/mytheme/templates/layout.erb
|
122
|
+
- test/fixtures/site/themes/mytheme/templates/tags/index.erb
|
123
|
+
- test/fixtures/site/themes/mytheme/templates/tags/show.erb
|
124
|
+
- test/fixtures/site/themes/mytheme/templates/archive/index.erb
|
125
|
+
- test/fixtures/site/themes/mytheme/templates/archive/show.erb
|
126
|
+
- test/fixtures/site/themes/mytheme/templates/index.erb
|
127
|
+
- test/fixtures/site/themes/mytheme/templates/about.erb
|
128
|
+
- test/fixtures/site/themes/mytheme/templates/drafts/index.erb
|
129
|
+
- test/fixtures/site/themes/mytheme/templates/drafts/show.erb
|
130
|
+
- test/fixtures/site/themes/mytheme/stylesheets/gemstone.css
|
131
|
+
- test/fixtures/site/themes/mytheme/stylesheets/postview.css
|
132
|
+
- test/fixtures/site/themes/mytheme/javascripts/postview.js
|
133
|
+
- test/fixtures/site/themes/mytheme/images/rack.png
|
134
|
+
- test/fixtures/site/themes/mytheme/images/ruby.png
|
135
|
+
- test/fixtures/site/themes/mytheme/images/trojan.com
|
136
|
+
- test/fixtures/site/themes/mytheme/images/logo.png
|
137
|
+
- test/fixtures/site/themes/mytheme/images/navigation-bar.gif
|
138
|
+
- test/fixtures/site/themes/mytheme/images/banners/banner.jpg
|
139
|
+
- test/fixtures/site/themes/mytheme/images/favicon.ico
|
140
|
+
- test/fixtures/site/themes/mytheme/images/sinatra.png
|
141
|
+
- test/fixtures/site/themes/mytheme/images/postview.png
|
142
|
+
- test/fixtures/site/blog/posts/archive/20080602-second_article.t1.t2.mkd
|
143
|
+
- test/fixtures/site/blog/posts/archive/20080529-first_article.t1.mkd
|
144
|
+
- test/fixtures/site/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
|
145
|
+
- test/fixtures/site/blog/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd
|
146
|
+
- test/fixtures/site/blog/posts/20090529-third_article.t1.t2.t3.mkd
|
147
|
+
- test/fixtures/site/blog/config/settings.yml
|
148
|
+
- test/fixtures/site/blog/empty.yml
|
149
|
+
- test/fixtures/site/blog/config.ru
|
150
|
+
- themes/default/templates/search.erb
|
151
|
+
- themes/default/templates/posts/index.erb
|
152
|
+
- themes/default/templates/posts/show.erb
|
153
|
+
- themes/default/templates/error.erb
|
154
|
+
- themes/default/templates/layout.erb
|
155
|
+
- themes/default/templates/tags/index.erb
|
156
|
+
- themes/default/templates/tags/show.erb
|
157
|
+
- themes/default/templates/archive/index.erb
|
158
|
+
- themes/default/templates/archive/show.erb
|
159
|
+
- themes/default/templates/index.erb
|
160
|
+
- themes/default/templates/about.erb
|
161
|
+
- themes/default/templates/drafts/index.erb
|
162
|
+
- themes/default/templates/drafts/show.erb
|
122
163
|
- themes/default/stylesheets/postview.css
|
123
|
-
- themes/default/tags/index.erb
|
124
|
-
- themes/default/tags/show.erb
|
125
|
-
- themes/default/archive/index.erb
|
126
|
-
- themes/default/archive/show.erb
|
127
|
-
- themes/default/index.erb
|
128
|
-
- themes/default/about.erb
|
129
|
-
- themes/default/drafts/index.erb
|
130
|
-
- themes/default/drafts/show.erb
|
131
164
|
- themes/default/images/rack.png
|
132
165
|
- themes/default/images/ruby.png
|
133
166
|
- themes/default/images/logo.png
|
@@ -141,7 +174,7 @@ licenses: []
|
|
141
174
|
|
142
175
|
post_install_message: |
|
143
176
|
------------------------------------------------------------------------------
|
144
|
-
Postview v0.
|
177
|
+
Postview v0.9.0 (October 14, 2009, Beta)
|
145
178
|
|
146
179
|
Thanks for use this lightweight blogware. Now, you can read your posts by
|
147
180
|
editing in your favorite editor.
|
@@ -153,9 +186,9 @@ rdoc_options:
|
|
153
186
|
- --line-numbers
|
154
187
|
- --inline-source
|
155
188
|
- --title
|
156
|
-
- Postview
|
189
|
+
- Postview v0.9.0 (October 14, 2009, Beta)
|
157
190
|
- --main
|
158
|
-
- README
|
191
|
+
- README.rdoc
|
159
192
|
require_paths:
|
160
193
|
- lib
|
161
194
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -176,6 +209,76 @@ rubyforge_project: postview
|
|
176
209
|
rubygems_version: 1.3.5
|
177
210
|
signing_key:
|
178
211
|
specification_version: 3
|
179
|
-
summary: Simple
|
180
|
-
test_files:
|
181
|
-
|
212
|
+
summary: Simple blogware that render Markdown files.
|
213
|
+
test_files:
|
214
|
+
- test/customizations.rb
|
215
|
+
- test/site_test.rb
|
216
|
+
- test/helpers_test.rb
|
217
|
+
- test/settings_test.rb
|
218
|
+
- test/application_test.rb
|
219
|
+
- test/fixtures/application/posts/archive/20080602-second_article.t1.t2.mkd
|
220
|
+
- test/fixtures/application/posts/archive/20080529-first_article.t1.mkd
|
221
|
+
- test/fixtures/application/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
|
222
|
+
- test/fixtures/application/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd
|
223
|
+
- test/fixtures/application/posts/20090529-third_article.t1.t2.t3.mkd
|
224
|
+
- test/fixtures/application/config/settings.yml
|
225
|
+
- test/fixtures/application/empty.yml
|
226
|
+
- test/fixtures/application/themes/mytheme/templates/search.erb
|
227
|
+
- test/fixtures/application/themes/mytheme/templates/posts/index.erb
|
228
|
+
- test/fixtures/application/themes/mytheme/templates/posts/show.erb
|
229
|
+
- test/fixtures/application/themes/mytheme/templates/error.erb
|
230
|
+
- test/fixtures/application/themes/mytheme/templates/layout.erb
|
231
|
+
- test/fixtures/application/themes/mytheme/templates/tags/index.erb
|
232
|
+
- test/fixtures/application/themes/mytheme/templates/tags/show.erb
|
233
|
+
- test/fixtures/application/themes/mytheme/templates/archive/index.erb
|
234
|
+
- test/fixtures/application/themes/mytheme/templates/archive/show.erb
|
235
|
+
- test/fixtures/application/themes/mytheme/templates/index.erb
|
236
|
+
- test/fixtures/application/themes/mytheme/templates/about.erb
|
237
|
+
- test/fixtures/application/themes/mytheme/templates/drafts/index.erb
|
238
|
+
- test/fixtures/application/themes/mytheme/templates/drafts/show.erb
|
239
|
+
- test/fixtures/application/themes/mytheme/stylesheets/gemstone.css
|
240
|
+
- test/fixtures/application/themes/mytheme/stylesheets/postview.css
|
241
|
+
- test/fixtures/application/themes/mytheme/javascripts/postview.js
|
242
|
+
- test/fixtures/application/themes/mytheme/images/rack.png
|
243
|
+
- test/fixtures/application/themes/mytheme/images/ruby.png
|
244
|
+
- test/fixtures/application/themes/mytheme/images/trojan.com
|
245
|
+
- test/fixtures/application/themes/mytheme/images/logo.png
|
246
|
+
- test/fixtures/application/themes/mytheme/images/navigation-bar.gif
|
247
|
+
- test/fixtures/application/themes/mytheme/images/banners/banner.jpg
|
248
|
+
- test/fixtures/application/themes/mytheme/images/favicon.ico
|
249
|
+
- test/fixtures/application/themes/mytheme/images/sinatra.png
|
250
|
+
- test/fixtures/application/themes/mytheme/images/postview.png
|
251
|
+
- test/fixtures/application/config.ru
|
252
|
+
- test/fixtures/site/themes/mytheme/templates/search.erb
|
253
|
+
- test/fixtures/site/themes/mytheme/templates/posts/index.erb
|
254
|
+
- test/fixtures/site/themes/mytheme/templates/posts/show.erb
|
255
|
+
- test/fixtures/site/themes/mytheme/templates/error.erb
|
256
|
+
- test/fixtures/site/themes/mytheme/templates/layout.erb
|
257
|
+
- test/fixtures/site/themes/mytheme/templates/tags/index.erb
|
258
|
+
- test/fixtures/site/themes/mytheme/templates/tags/show.erb
|
259
|
+
- test/fixtures/site/themes/mytheme/templates/archive/index.erb
|
260
|
+
- test/fixtures/site/themes/mytheme/templates/archive/show.erb
|
261
|
+
- test/fixtures/site/themes/mytheme/templates/index.erb
|
262
|
+
- test/fixtures/site/themes/mytheme/templates/about.erb
|
263
|
+
- test/fixtures/site/themes/mytheme/templates/drafts/index.erb
|
264
|
+
- test/fixtures/site/themes/mytheme/templates/drafts/show.erb
|
265
|
+
- test/fixtures/site/themes/mytheme/stylesheets/gemstone.css
|
266
|
+
- test/fixtures/site/themes/mytheme/stylesheets/postview.css
|
267
|
+
- test/fixtures/site/themes/mytheme/javascripts/postview.js
|
268
|
+
- test/fixtures/site/themes/mytheme/images/rack.png
|
269
|
+
- test/fixtures/site/themes/mytheme/images/ruby.png
|
270
|
+
- test/fixtures/site/themes/mytheme/images/trojan.com
|
271
|
+
- test/fixtures/site/themes/mytheme/images/logo.png
|
272
|
+
- test/fixtures/site/themes/mytheme/images/navigation-bar.gif
|
273
|
+
- test/fixtures/site/themes/mytheme/images/banners/banner.jpg
|
274
|
+
- test/fixtures/site/themes/mytheme/images/favicon.ico
|
275
|
+
- test/fixtures/site/themes/mytheme/images/sinatra.png
|
276
|
+
- test/fixtures/site/themes/mytheme/images/postview.png
|
277
|
+
- test/fixtures/site/blog/posts/archive/20080602-second_article.t1.t2.mkd
|
278
|
+
- test/fixtures/site/blog/posts/archive/20080529-first_article.t1.mkd
|
279
|
+
- test/fixtures/site/blog/posts/20090602-fourth_article.t1.t2.t3.t4.mkd
|
280
|
+
- test/fixtures/site/blog/posts/drafts/20090730-fifth_article.t1.t2.t3.t4.t5.mkd
|
281
|
+
- test/fixtures/site/blog/posts/20090529-third_article.t1.t2.t3.mkd
|
282
|
+
- test/fixtures/site/blog/config/settings.yml
|
283
|
+
- test/fixtures/site/blog/empty.yml
|
284
|
+
- test/fixtures/site/blog/config.ru
|