nwiki 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.org +2 -0
- data/Gemfile.lock +8 -8
- data/lib/nwiki/frontend/app/html.rb +2 -1
- data/lib/nwiki/version.rb +1 -1
- 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: 1e8a735142fc4d1d0648d7834d8a107b10d88e7b
|
4
|
+
data.tar.gz: ea67db9c169ca414a63656479339589773d1f2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f41486de0cab432bd602907f7f4eae119c63740c8b7f1b62a60b8e368d56e369994a61e93cbd6f424156fda4e65b61b2d27758f322ae7955b3e8cfd42ca0ebae
|
7
|
+
data.tar.gz: 8840e56a45880585b5c9c7f2b5955db19059ba660ef5e9747405be4ad447aaf75594d83b815cde2f125ecfaf810caa7bed4070c453e1433e6a99064f80074554
|
data/CHANGELOG.org
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/libgit2/rugged.git
|
3
|
-
revision:
|
3
|
+
revision: de19d5fb25fc83c6b88fab0ef5cd1e09c829e0a8
|
4
4
|
branch: development
|
5
5
|
submodules: true
|
6
6
|
specs:
|
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
nwiki (0.1.
|
12
|
+
nwiki (0.1.11)
|
13
13
|
org-ruby
|
14
14
|
rack
|
15
15
|
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
docile (1.1.3)
|
33
33
|
ffi (1.9.3)
|
34
34
|
formatador (0.2.4)
|
35
|
-
guard (2.6.
|
35
|
+
guard (2.6.1)
|
36
36
|
formatador (>= 0.2.4)
|
37
37
|
listen (~> 2.7)
|
38
38
|
lumberjack (~> 1.0)
|
@@ -41,7 +41,7 @@ GEM
|
|
41
41
|
guard-rspec (4.2.8)
|
42
42
|
guard (~> 2.1)
|
43
43
|
rspec (>= 2.14, < 4.0)
|
44
|
-
listen (2.7.
|
44
|
+
listen (2.7.4)
|
45
45
|
celluloid (>= 0.15.2)
|
46
46
|
celluloid-io (>= 0.15.0)
|
47
47
|
rb-fsevent (>= 0.9.3)
|
@@ -49,9 +49,9 @@ GEM
|
|
49
49
|
lumberjack (1.0.5)
|
50
50
|
method_source (0.8.2)
|
51
51
|
mime-types (2.2)
|
52
|
-
multi_json (1.
|
52
|
+
multi_json (1.10.0)
|
53
53
|
nio4r (1.0.0)
|
54
|
-
org-ruby (0.9.
|
54
|
+
org-ruby (0.9.6)
|
55
55
|
rubypants (>= 0.2.0)
|
56
56
|
pry (0.9.12.6)
|
57
57
|
coderay (~> 1.0)
|
@@ -60,9 +60,9 @@ GEM
|
|
60
60
|
rack (1.5.2)
|
61
61
|
rack-test (0.6.2)
|
62
62
|
rack (>= 1.0)
|
63
|
-
rake (10.
|
63
|
+
rake (10.3.1)
|
64
64
|
rb-fsevent (0.9.4)
|
65
|
-
rb-inotify (0.9.
|
65
|
+
rb-inotify (0.9.4)
|
66
66
|
ffi (>= 0.5.0)
|
67
67
|
rest-client (1.6.7)
|
68
68
|
mime-types (>= 1.16)
|
@@ -21,11 +21,12 @@ module Nwiki
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def html page
|
24
|
+
page_title = page.title.empty? ? '' : "#{page.title} - "
|
24
25
|
erb = ERB.new <<EOS
|
25
26
|
<!DOCTYPE HTML>
|
26
27
|
<html>
|
27
28
|
<head>
|
28
|
-
<title><%=
|
29
|
+
<title><%= page_title %><%= @wiki.title %></title>
|
29
30
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
30
31
|
<link rel="alternate" type="application/atom+xml" title="ATOM Feed" href="/articles.xml">
|
31
32
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
|
data/lib/nwiki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nwiki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- niku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|