mado 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/app/views/layout.slim +1 -0
- data/lib/mado/app.rb +1 -0
- data/lib/mado/version.rb +1 -1
- data/spec/mado/app_spec.rb +9 -0
- 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: 3249150fd56c05385e3dc120c590b90fe689c200
|
4
|
+
data.tar.gz: b10a78015318873dcc4ed74f581b072346680a7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b3519d110e62ff42f8c49807d7363b331a9d4de417bc307a6dffcc8954e2b0a939bc1a1a2a85ae0e6869c815ad5f1e753c6974ef1640c2d2dc3b8d0c918a607
|
7
|
+
data.tar.gz: df79e377e44ff8377025181c1e803e8a7b429636d48b290df326431fd095d221270f82570fec74109d90552495ef7043afb7e6dc1e29cd227220d3f1d23b1b1c
|
data/CHANGELOG.md
CHANGED
data/app/views/layout.slim
CHANGED
data/lib/mado/app.rb
CHANGED
data/lib/mado/version.rb
CHANGED
data/spec/mado/app_spec.rb
CHANGED
@@ -10,10 +10,19 @@ module Mado
|
|
10
10
|
end
|
11
11
|
|
12
12
|
describe "GET /" do
|
13
|
+
before do
|
14
|
+
app.set :markdown_path, fixture_path("test.md")
|
15
|
+
end
|
16
|
+
|
13
17
|
it "should show the root page" do
|
14
18
|
get "/"
|
15
19
|
expect(last_response).to be_ok
|
16
20
|
end
|
21
|
+
|
22
|
+
it "should contain markdown name as page title" do
|
23
|
+
get "/"
|
24
|
+
expect(last_response.body).to match(%r(<title>test\.md<\/title>))
|
25
|
+
end
|
17
26
|
end
|
18
27
|
|
19
28
|
describe "GET /<image>" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mado
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dtan4
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script
|