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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 801de4aa92350e7253473516cb0f6619a375562d
4
- data.tar.gz: 7deedab8e5b97e1b116d58e33ad82db5a5487a26
3
+ metadata.gz: c49244b54a257a8daa309da2e923711d969beace
4
+ data.tar.gz: 63f68e694d2188502598e37cb67aa42e9ad6585e
5
5
  SHA512:
6
- metadata.gz: c26baa4d462d1b9af0050c838cc2f680e868a8693505d5224c8f832e59ffafa1150a13d5159c4681cb737fd7de93d37fe2e89519c72b6a76a8526467156c86a1
7
- data.tar.gz: 3cab0787bcb95aa6fd16849d604e0c139b0b71d3502c8c7e0b053dca2ff4829a5e94aaddabf5766d75bfa2b1cf612aeda4030bfb25f03485450fa6b7c82a2230
6
+ metadata.gz: 21a1550697de8ab396177c7eca34cb65b9694f45d29c7782902f99e12fd3fe66f489d2fb085bf0936f30c5fcd553dbc56421a6375cd8110cdefb734f19b8cb05
7
+ data.tar.gz: bdeb6d09d6919091194113d02e17679d25ee93abb729efef941512bc43f3e2eff0addc4fddf7c36bd300287d4d0e9d94a578c044a0019773c118a9ca6eea39b0
data/Readme.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## Kindler
2
+ [![Code Climate](https://codeclimate.com/github/29decibel/kindler.png)](https://codeclimate.com/github/29decibel/kindler)
3
+
1
4
  ## Todo
2
5
  * support inner reference, inner link can take to that article
3
6
  * refactor templates
@@ -1,3 +1,3 @@
1
1
  module Kindler
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -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
- <h2>
8
- <%= page[:title] %>
9
- </h2>
10
- <% if page[:author] != '' %>
11
- <p><em><%= page[:author] %></em><p>
12
- <% end%>
13
- <div><%= page[:content] %></div>
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.1
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-04 00:00:00.000000000 Z
11
+ date: 2013-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri