postview 0.8.0 → 0.8.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/VERSION +2 -2
- data/lib/postview/application.rb +13 -12
- data/lib/postview/helpers.rb +3 -0
- data/test/fixtures/application/themes/gemstone/archive/index.erb +2 -2
- data/test/fixtures/application/themes/gemstone/archive/show.erb +2 -2
- data/test/fixtures/application/themes/gemstone/drafts/index.erb +21 -0
- data/test/fixtures/application/themes/gemstone/drafts/show.erb +17 -0
- data/test/fixtures/application/themes/gemstone/index.erb +3 -3
- data/test/fixtures/application/themes/gemstone/posts/index.erb +2 -2
- data/test/fixtures/application/themes/gemstone/posts/show.erb +2 -2
- data/test/fixtures/application/themes/gemstone/search.erb +4 -4
- data/test/fixtures/application/themes/gemstone/tags/index.erb +1 -1
- data/test/fixtures/application/themes/gemstone/tags/show.erb +4 -4
- data/themes/default/archive/index.erb +2 -2
- data/themes/default/archive/show.erb +2 -2
- data/themes/default/drafts/index.erb +21 -0
- data/themes/default/drafts/show.erb +17 -0
- data/themes/default/index.erb +3 -3
- data/themes/default/posts/index.erb +2 -2
- data/themes/default/posts/show.erb +2 -2
- data/themes/default/search.erb +4 -4
- data/themes/default/tags/index.erb +1 -1
- data/themes/default/tags/show.erb +4 -4
- metadata +7 -3
data/VERSION
CHANGED
data/lib/postview/application.rb
CHANGED
@@ -43,26 +43,26 @@ class Application < Sinatra::Base #:nodoc: all
|
|
43
43
|
# Show all information for site.
|
44
44
|
get root_path do
|
45
45
|
@page.title, @page.keywords = @site.subtitle, "posts"
|
46
|
-
show :index
|
46
|
+
show :index
|
47
47
|
end
|
48
48
|
|
49
49
|
# Show all posts.
|
50
50
|
get posts_path do
|
51
51
|
@page.title, @page.keywords = title_path(:posts), @all_tags.join(' ')
|
52
|
-
show :"posts/index"
|
52
|
+
show :"posts/index"
|
53
53
|
end
|
54
54
|
|
55
55
|
# Show selected post.
|
56
56
|
get posts_path "/:year/:month/:day/:name" do |year, month, day, name|
|
57
57
|
@current_post = @site.find.post(year, month, day, name)
|
58
58
|
@page.title, @page.keywords = @current_post.title, @current_post.tags.join(' ')
|
59
|
-
show :"posts/show"
|
59
|
+
show :"posts/show"
|
60
60
|
end
|
61
61
|
|
62
62
|
# Show all tags.
|
63
63
|
get tags_path do
|
64
64
|
@page.title, @page.keywords = title_path(:tags), @all_tags.join(' ')
|
65
|
-
show :"tags/index"
|
65
|
+
show :"tags/index"
|
66
66
|
end
|
67
67
|
|
68
68
|
# Show all posts by selected tag.
|
@@ -70,46 +70,47 @@ class Application < Sinatra::Base #:nodoc: all
|
|
70
70
|
@current_tag = @site.find_tag(tag)
|
71
71
|
@posts_found, @archived_posts_found = @site.find_all_posts_tagged_with(tag)
|
72
72
|
@page.title, @page.keywords = "#{title_path(:tags)} - #{@current_tag.capitalize}", "posts #{@current_tag}"
|
73
|
-
show :"tags/show"
|
73
|
+
show :"tags/show"
|
74
74
|
end
|
75
75
|
|
76
76
|
# Show archives grouped by year.
|
77
77
|
get archive_path do
|
78
78
|
@page.title, @page.keywords = title_path(:archive), @all_tags.join(' ')
|
79
|
-
show :"archive/index"
|
79
|
+
show :"archive/index"
|
80
80
|
end
|
81
81
|
|
82
82
|
# Show selected post in archive.
|
83
83
|
get archive_path "/:year/:month/:day/:name" do |year, month, day, name|
|
84
84
|
@current_post = @site.find_in_archive.post(year, month, day, name)
|
85
85
|
@page.title, @page.keywords = @current_post.title, @current_post.tags.join(' ')
|
86
|
-
show :"archive/show"
|
86
|
+
show :"archive/show"
|
87
87
|
end
|
88
88
|
|
89
89
|
# Show all drafts.
|
90
90
|
get drafts_path do
|
91
|
+
@all_tags = @site.find_in_drafts.all_tags.sort
|
91
92
|
@page.title, @page.keywords = title_path(:drafts), "drafts #{@all_tags.join(' ')}"
|
92
|
-
show :"
|
93
|
+
show :"drafts/index"
|
93
94
|
end
|
94
95
|
|
95
96
|
# Show selected drafted post.
|
96
97
|
get drafts_path "/:year/:month/:day/:name" do |year, month, day, name|
|
97
98
|
@current_post = @site.find_in_drafts.post(year, month, day, name)
|
98
|
-
@all_tags
|
99
|
+
@all_tags = @site.find_in_drafts.all_tags.sort
|
99
100
|
@page.title, @page.keywords = @current_post.title, @current_post.tags.join(' ')
|
100
|
-
show :"
|
101
|
+
show :"drafts/show"
|
101
102
|
end
|
102
103
|
|
103
104
|
# Show information site.
|
104
105
|
get about_path do
|
105
|
-
show :about
|
106
|
+
show :about
|
106
107
|
end
|
107
108
|
|
108
109
|
# Search posts by title or match file name.
|
109
110
|
get search_path do
|
110
111
|
@posts_found, @archived_posts_found = @site.search_posts(*params.values)
|
111
112
|
@page.title, @page.keywords = title_path(:search), @all_tags.join(' ')
|
112
|
-
show :search
|
113
|
+
show :search
|
113
114
|
end
|
114
115
|
|
115
116
|
def show(template, locals = {}, options = {})
|
data/lib/postview/helpers.rb
CHANGED
@@ -7,8 +7,8 @@
|
|
7
7
|
<dl>
|
8
8
|
<% for post in all_archived_posts %>
|
9
9
|
<dt>
|
10
|
-
<b><%=link_to "#{post.publish_date} - #{post.title}",
|
11
|
-
(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
12
|
</dt>
|
13
13
|
|
14
14
|
<dd>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="entry">
|
2
2
|
|
3
|
-
<h1><%= link_to current_post.title,
|
3
|
+
<h1><%= link_to current_post.title, :archive, current_post %></h1>
|
4
4
|
|
5
5
|
<span class="entry-meta">
|
6
6
|
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
-
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
8
|
</span>
|
9
9
|
|
10
10
|
<div class="text">
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<div class="entry">
|
2
|
+
|
3
|
+
<h1><%=title_path :drafts%></h1>
|
4
|
+
|
5
|
+
<div class="text">
|
6
|
+
|
7
|
+
<dl>
|
8
|
+
<% for post in all_drafted_posts %>
|
9
|
+
<dt>
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :posts, post%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
|
+
</dt>
|
13
|
+
|
14
|
+
<dd>
|
15
|
+
<%=post.summary%>
|
16
|
+
</dd>
|
17
|
+
<% end %>
|
18
|
+
</dl>
|
19
|
+
</div><!--text-->
|
20
|
+
</div><!--entry-->
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="entry">
|
2
|
+
|
3
|
+
<h1><%= link_to current_post.title, :drafts, current_post %></h1>
|
4
|
+
|
5
|
+
<span class="entry-meta">
|
6
|
+
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
|
+
</span>
|
9
|
+
|
10
|
+
<div class="text">
|
11
|
+
|
12
|
+
<%= current_post.content %>
|
13
|
+
|
14
|
+
</div><!--text-->
|
15
|
+
|
16
|
+
</div><!--entry-->
|
17
|
+
|
@@ -2,11 +2,11 @@
|
|
2
2
|
<% for post in latest_posts %>
|
3
3
|
<div class="entry">
|
4
4
|
|
5
|
-
<h1><%= link_to post.title,
|
5
|
+
<h1><%= link_to post.title, :posts, post %></h1>
|
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, :posts, tag, :title => tag.capitalize }.join(', ') %>.
|
10
10
|
</span>
|
11
11
|
|
12
12
|
<div class="text">
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<%= post.summary %>
|
15
15
|
|
16
16
|
<p>
|
17
|
-
<%= link_to "Read more ...",
|
17
|
+
<%= link_to "Read more ...", :posts, post %>
|
18
18
|
</p>
|
19
19
|
|
20
20
|
</div><!--text-->
|
@@ -7,8 +7,8 @@
|
|
7
7
|
<dl>
|
8
8
|
<% for post in all_posts %>
|
9
9
|
<dt>
|
10
|
-
<b><%=link_to "#{post.publish_date} - #{post.title}",
|
11
|
-
(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :posts, post%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
12
|
</dt>
|
13
13
|
|
14
14
|
<dd>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="entry">
|
2
2
|
|
3
|
-
<h1><%= link_to current_post.title,
|
3
|
+
<h1><%= link_to current_post.title, :posts, current_post %></h1>
|
4
4
|
|
5
5
|
<span class="entry-meta">
|
6
6
|
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
-
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
8
|
</span>
|
9
9
|
|
10
10
|
<div class="text">
|
@@ -14,8 +14,8 @@
|
|
14
14
|
<ul>
|
15
15
|
<% for post in posts_found %>
|
16
16
|
<li>
|
17
|
-
<%= post.publish_date.strftime('%Y-%m-%d') %> - <strong><%= link_to post.title,
|
18
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
17
|
+
<%= post.publish_date.strftime('%Y-%m-%d') %> - <strong><%= link_to post.title, :posts, post, :title => post.title %></strong>
|
18
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
19
19
|
</li>
|
20
20
|
<% end %>
|
21
21
|
</ul>
|
@@ -27,8 +27,8 @@
|
|
27
27
|
<ul>
|
28
28
|
<% for post in archived_posts_found %>
|
29
29
|
<li>
|
30
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
31
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
30
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title %></b>
|
31
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
32
32
|
</li>
|
33
33
|
<% end %>
|
34
34
|
</ul>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<ul>
|
6
6
|
<% for tag in all_tags %>
|
7
|
-
<li><%= link_to tag.capitalize,
|
7
|
+
<li><%= link_to tag.capitalize, :tags, tag, :title => tag.capitalize %> (<%=count_posts_by_tag(tag)%>)</li>
|
8
8
|
<% end %>
|
9
9
|
</ul>
|
10
10
|
|
@@ -14,8 +14,8 @@
|
|
14
14
|
<ul>
|
15
15
|
<% for post in posts_found %>
|
16
16
|
<li>
|
17
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
18
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
17
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :posts, post, :title => post.title %></b>
|
18
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
19
19
|
</li>
|
20
20
|
<% end %>
|
21
21
|
</ul>
|
@@ -27,8 +27,8 @@
|
|
27
27
|
<ul>
|
28
28
|
<% for post in archived_posts_found %>
|
29
29
|
<li>
|
30
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
31
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
30
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title %></b>
|
31
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
32
32
|
</li>
|
33
33
|
<% end %>
|
34
34
|
</ul>
|
@@ -7,8 +7,8 @@
|
|
7
7
|
<dl>
|
8
8
|
<% for post in all_archived_posts %>
|
9
9
|
<dt>
|
10
|
-
<b><%=link_to "#{post.publish_date} - #{post.title}",
|
11
|
-
(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
12
|
</dt>
|
13
13
|
|
14
14
|
<dd>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="entry">
|
2
2
|
|
3
|
-
<h1><%= link_to current_post.title,
|
3
|
+
<h1><%= link_to current_post.title, :archive, current_post %></h1>
|
4
4
|
|
5
5
|
<span class="entry-meta">
|
6
6
|
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
-
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
8
|
</span>
|
9
9
|
|
10
10
|
<div class="text">
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<div class="entry">
|
2
|
+
|
3
|
+
<h1><%=title_path :drafts%></h1>
|
4
|
+
|
5
|
+
<div class="text">
|
6
|
+
|
7
|
+
<dl>
|
8
|
+
<% for post in all_drafted_posts %>
|
9
|
+
<dt>
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :posts, post%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
|
+
</dt>
|
13
|
+
|
14
|
+
<dd>
|
15
|
+
<%=post.summary%>
|
16
|
+
</dd>
|
17
|
+
<% end %>
|
18
|
+
</dl>
|
19
|
+
</div><!--text-->
|
20
|
+
</div><!--entry-->
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="entry">
|
2
|
+
|
3
|
+
<h1><%= link_to current_post.title, :drafts, current_post %></h1>
|
4
|
+
|
5
|
+
<span class="entry-meta">
|
6
|
+
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
|
+
</span>
|
9
|
+
|
10
|
+
<div class="text">
|
11
|
+
|
12
|
+
<%= current_post.content %>
|
13
|
+
|
14
|
+
</div><!--text-->
|
15
|
+
|
16
|
+
</div><!--entry-->
|
17
|
+
|
data/themes/default/index.erb
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
<% for post in latest_posts %>
|
3
3
|
<div class="entry">
|
4
4
|
|
5
|
-
<h1><%= link_to post.title,
|
5
|
+
<h1><%= link_to post.title, :posts, post %></h1>
|
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, :posts, tag, :title => tag.capitalize }.join(', ') %>.
|
10
10
|
</span>
|
11
11
|
|
12
12
|
<div class="text">
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<%= post.summary %>
|
15
15
|
|
16
16
|
<p>
|
17
|
-
<%= link_to "Read more ...",
|
17
|
+
<%= link_to "Read more ...", :posts, post %>
|
18
18
|
</p>
|
19
19
|
|
20
20
|
</div><!--text-->
|
@@ -7,8 +7,8 @@
|
|
7
7
|
<dl>
|
8
8
|
<% for post in all_posts %>
|
9
9
|
<dt>
|
10
|
-
<b><%=link_to "#{post.publish_date} - #{post.title}",
|
11
|
-
(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
10
|
+
<b><%=link_to "#{post.publish_date} - #{post.title}", :posts, post%></b>
|
11
|
+
(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)
|
12
12
|
</dt>
|
13
13
|
|
14
14
|
<dd>
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<div class="entry">
|
2
2
|
|
3
|
-
<h1><%= link_to current_post.title,
|
3
|
+
<h1><%= link_to current_post.title, :posts, current_post %></h1>
|
4
4
|
|
5
5
|
<span class="entry-meta">
|
6
6
|
Published at <%= current_post.publish_date.strftime('%A, %B %d, %Y') %>,
|
7
|
-
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize,
|
7
|
+
tagged with <%= current_post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>.
|
8
8
|
</span>
|
9
9
|
|
10
10
|
<div class="text">
|
data/themes/default/search.erb
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
<ul>
|
15
15
|
<% for post in posts_found %>
|
16
16
|
<li>
|
17
|
-
<%= post.publish_date.strftime('%Y-%m-%d') %> - <strong><%= link_to post.title,
|
18
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
17
|
+
<%= post.publish_date.strftime('%Y-%m-%d') %> - <strong><%= link_to post.title, :posts, post, :title => post.title %></strong>
|
18
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
19
19
|
</li>
|
20
20
|
<% end %>
|
21
21
|
</ul>
|
@@ -27,8 +27,8 @@
|
|
27
27
|
<ul>
|
28
28
|
<% for post in archived_posts_found %>
|
29
29
|
<li>
|
30
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
31
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
30
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title %></b>
|
31
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
32
32
|
</li>
|
33
33
|
<% end %>
|
34
34
|
</ul>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<ul>
|
6
6
|
<% for tag in all_tags %>
|
7
|
-
<li><%= link_to tag.capitalize,
|
7
|
+
<li><%= link_to tag.capitalize, :tags, tag, :title => tag.capitalize %> (<%=count_posts_by_tag(tag)%>)</li>
|
8
8
|
<% end %>
|
9
9
|
</ul>
|
10
10
|
|
@@ -14,8 +14,8 @@
|
|
14
14
|
<ul>
|
15
15
|
<% for post in posts_found %>
|
16
16
|
<li>
|
17
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
18
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
17
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :posts, post, :title => post.title %></b>
|
18
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
19
19
|
</li>
|
20
20
|
<% end %>
|
21
21
|
</ul>
|
@@ -27,8 +27,8 @@
|
|
27
27
|
<ul>
|
28
28
|
<% for post in archived_posts_found %>
|
29
29
|
<li>
|
30
|
-
<b><%= link_to "#{post.publish_date} - #{post.title}",
|
31
|
-
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize,
|
30
|
+
<b><%= link_to "#{post.publish_date} - #{post.title}", :archive, post, :title => post.title %></b>
|
31
|
+
<span>(<%= post.tags.map{ |tag| link_to tag.capitalize, :tags, tag, :title => tag.capitalize }.join(', ') %>)</span>
|
32
32
|
</li>
|
33
33
|
<% end %>
|
34
34
|
</ul>
|
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.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hallison Batista
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-17 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -97,6 +97,8 @@ files:
|
|
97
97
|
- test/fixtures/application/themes/gemstone/archive/show.erb
|
98
98
|
- test/fixtures/application/themes/gemstone/index.erb
|
99
99
|
- test/fixtures/application/themes/gemstone/about.erb
|
100
|
+
- test/fixtures/application/themes/gemstone/drafts/index.erb
|
101
|
+
- test/fixtures/application/themes/gemstone/drafts/show.erb
|
100
102
|
- test/fixtures/application/themes/gemstone/images/rack.png
|
101
103
|
- test/fixtures/application/themes/gemstone/images/ruby.png
|
102
104
|
- test/fixtures/application/themes/gemstone/images/trojan.com
|
@@ -124,6 +126,8 @@ files:
|
|
124
126
|
- themes/default/archive/show.erb
|
125
127
|
- themes/default/index.erb
|
126
128
|
- themes/default/about.erb
|
129
|
+
- themes/default/drafts/index.erb
|
130
|
+
- themes/default/drafts/show.erb
|
127
131
|
- themes/default/images/rack.png
|
128
132
|
- themes/default/images/ruby.png
|
129
133
|
- themes/default/images/logo.png
|
@@ -137,7 +141,7 @@ licenses: []
|
|
137
141
|
|
138
142
|
post_install_message: |
|
139
143
|
------------------------------------------------------------------------------
|
140
|
-
Postview v0.8.
|
144
|
+
Postview v0.8.1 (September, 17 2009, Beta release)
|
141
145
|
|
142
146
|
Thanks for use this lightweight blogware. Now, you can read your posts by
|
143
147
|
editing in your favorite editor.
|