kindler 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Readme.md +3 -0
- data/lib/kindler/version.rb +1 -1
- data/lib/templates/page.html.erb +16 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c49244b54a257a8daa309da2e923711d969beace
|
4
|
+
data.tar.gz: 63f68e694d2188502598e37cb67aa42e9ad6585e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21a1550697de8ab396177c7eca34cb65b9694f45d29c7782902f99e12fd3fe66f489d2fb085bf0936f30c5fcd553dbc56421a6375cd8110cdefb734f19b8cb05
|
7
|
+
data.tar.gz: bdeb6d09d6919091194113d02e17679d25ee93abb729efef941512bc43f3e2eff0addc4fddf7c36bd300287d4d0e9d94a578c044a0019773c118a9ca6eea39b0
|
data/Readme.md
CHANGED
data/lib/kindler/version.rb
CHANGED
data/lib/templates/page.html.erb
CHANGED
@@ -1,15 +1,24 @@
|
|
1
|
+
<!DOCTYPE html>
|
1
2
|
<html>
|
2
3
|
<head>
|
3
4
|
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'/>
|
4
5
|
<style type="text/css"><%= style %></style>
|
5
6
|
</head>
|
6
7
|
<body>
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
<article>
|
9
|
+
<header>
|
10
|
+
<h2>
|
11
|
+
<%= page[:title] %>
|
12
|
+
</h2>
|
13
|
+
<div class="s2k-header-line"></div>
|
14
|
+
<% if page[:author] != '' %>
|
15
|
+
<p><em><%= page[:author] %></em><p>
|
16
|
+
<% end%>
|
17
|
+
</header>
|
18
|
+
<div><%= page[:content] %></div>
|
19
|
+
<footer class="s2k-article-footer">
|
20
|
+
Source: <a class="s2k-source-long" href="<%= page[:url]%>"><%= page[:url]%></a>
|
21
|
+
</footer>
|
22
|
+
</article>
|
14
23
|
</body>
|
15
24
|
</html>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kindler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dongbin.li
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|