webby 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/Manifest.txt +1 -0
- data/Rakefile +1 -1
- data/examples/webby/content/release-notes/rel-0-9-2/index.txt +14 -0
- data/lib/webby.rb +1 -1
- data/lib/webby/resources/resource.rb +1 -1
- data/spec/webby/resources/resource_spec.rb +5 -0
- metadata +4 -3
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -63,6 +63,7 @@ examples/webby/content/reference/index.txt
|
|
63
63
|
examples/webby/content/release-notes/index.txt
|
64
64
|
examples/webby/content/release-notes/rel-0-9-0/index.txt
|
65
65
|
examples/webby/content/release-notes/rel-0-9-1/index.txt
|
66
|
+
examples/webby/content/release-notes/rel-0-9-2/index.txt
|
66
67
|
examples/webby/content/robots.txt
|
67
68
|
examples/webby/content/script/jquery.corner.js
|
68
69
|
examples/webby/content/script/jquery.js
|
data/Rakefile
CHANGED
@@ -14,7 +14,7 @@ PROJ.url = 'http://webby.rubyforge.org/'
|
|
14
14
|
PROJ.description = paragraphs_of('README.txt', 3).join("\n\n")
|
15
15
|
PROJ.rubyforge.name = 'webby'
|
16
16
|
PROJ.version = Webby::VERSION
|
17
|
-
PROJ.release_name = 'Gallus Gallus Toothicus'
|
17
|
+
PROJ.release_name = 'Gallus Gallus Toothicus ++'
|
18
18
|
|
19
19
|
PROJ.ruby_opts = %w[-W0]
|
20
20
|
PROJ.exclude << %w(^examples/[^/]+/output ^tasks/archive ^tags$ ^webby.gemspec$)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
---
|
2
|
+
title: Release 0.9.2
|
3
|
+
created_at: 2008-09-11 19:33:47.822421 -06:00
|
4
|
+
filter:
|
5
|
+
- erb
|
6
|
+
- textile
|
7
|
+
release_name: Gallus Gallus Toothicus ++
|
8
|
+
---
|
9
|
+
h2. <%= h(@page.title) %>
|
10
|
+
|
11
|
+
Release 0.9.2 is a bug-fix release. No new features or enhancements.
|
12
|
+
|
13
|
+
* 1 bug fix
|
14
|
+
** Layouts were not being found if more than one layout was in a directory in the layouts folder
|
data/lib/webby.rb
CHANGED
@@ -18,7 +18,7 @@ Logging::Appender.stdout.layout = Logging::Layouts::Pattern.new(
|
|
18
18
|
module Webby
|
19
19
|
|
20
20
|
# :stopdoc:
|
21
|
-
VERSION = '0.9.
|
21
|
+
VERSION = '0.9.2' # :nodoc:
|
22
22
|
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
|
23
23
|
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
|
24
24
|
YAML_SEP = '---'
|
@@ -54,7 +54,7 @@ class Resource
|
|
54
54
|
#
|
55
55
|
def equal?( other )
|
56
56
|
return false unless other.kind_of? ::Webby::Resources::Resource
|
57
|
-
self.destination == other.destination
|
57
|
+
(self.destination == other.destination) && (self.path == other.path)
|
58
58
|
end
|
59
59
|
alias :== :equal?
|
60
60
|
alias :eql? :equal?
|
@@ -56,6 +56,11 @@ describe Webby::Resources::Resource do
|
|
56
56
|
(b == c).should == false
|
57
57
|
(a == nil).should == false
|
58
58
|
(a == a.path).should == false
|
59
|
+
|
60
|
+
b['filename'] = 'index'
|
61
|
+
b._reset
|
62
|
+
b.destination.should == a.destination
|
63
|
+
(a == b).should == false
|
59
64
|
end
|
60
65
|
|
61
66
|
it 'compares two resources by path' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Pease
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-09-
|
12
|
+
date: 2008-09-11 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.9.
|
53
|
+
version: 0.9.3
|
54
54
|
version:
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
@@ -171,6 +171,7 @@ files:
|
|
171
171
|
- examples/webby/content/release-notes/index.txt
|
172
172
|
- examples/webby/content/release-notes/rel-0-9-0/index.txt
|
173
173
|
- examples/webby/content/release-notes/rel-0-9-1/index.txt
|
174
|
+
- examples/webby/content/release-notes/rel-0-9-2/index.txt
|
174
175
|
- examples/webby/content/robots.txt
|
175
176
|
- examples/webby/content/script/jquery.corner.js
|
176
177
|
- examples/webby/content/script/jquery.js
|