howl 0.5.0 → 0.5.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/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/howl.gemspec +2 -1
- data/lib/howl/template.rb +1 -1
- data/test/fixtures/site/empty.html +0 -0
- data/test/howl_test.rb +9 -0
- metadata +3 -2
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.1
|
data/howl.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{howl}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Clinton R. Nixon"]
|
|
@@ -47,6 +47,7 @@ Gem::Specification.new do |s|
|
|
|
47
47
|
"test/fixtures/posts/no_date.html",
|
|
48
48
|
"test/fixtures/site/css/modules/colors.scss",
|
|
49
49
|
"test/fixtures/site/css/screen.scss",
|
|
50
|
+
"test/fixtures/site/empty.html",
|
|
50
51
|
"test/fixtures/site/has_template.html",
|
|
51
52
|
"test/fixtures/site/index.html",
|
|
52
53
|
"test/fixtures/site/no_yaml.html",
|
data/lib/howl/template.rb
CHANGED
|
File without changes
|
data/test/howl_test.rb
CHANGED
|
@@ -43,6 +43,15 @@ context "Site" do
|
|
|
43
43
|
}
|
|
44
44
|
end
|
|
45
45
|
|
|
46
|
+
context 'empty.html' do
|
|
47
|
+
setup { Page.new(fixture_path('site/empty.html'), @site) }
|
|
48
|
+
|
|
49
|
+
asserts("#content") { topic.content.strip }.equals ""
|
|
50
|
+
asserts("#view is correct") {
|
|
51
|
+
topic.view == View.new(:site => topic.site)
|
|
52
|
+
}
|
|
53
|
+
end
|
|
54
|
+
|
|
46
55
|
context "no_yaml.html" do
|
|
47
56
|
setup { Page.new(fixture_path("site/no_yaml.html"), @site) }
|
|
48
57
|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 5
|
|
8
|
-
-
|
|
9
|
-
version: 0.5.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.5.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Clinton R. Nixon
|
|
@@ -136,6 +136,7 @@ files:
|
|
|
136
136
|
- test/fixtures/posts/no_date.html
|
|
137
137
|
- test/fixtures/site/css/modules/colors.scss
|
|
138
138
|
- test/fixtures/site/css/screen.scss
|
|
139
|
+
- test/fixtures/site/empty.html
|
|
139
140
|
- test/fixtures/site/has_template.html
|
|
140
141
|
- test/fixtures/site/index.html
|
|
141
142
|
- test/fixtures/site/no_yaml.html
|