Chrononaut-hyde 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.5.4 / 2009-08-23
2
+ * Bug Fixes
3
+ * Do not allow symlinks (security vulnerability)
4
+
1
5
  == 0.5.3 / 2009-07-14
2
6
  * Bug Fixes
3
7
  * Solving the permalink bug where non-html files wouldn't work [github.com/jeffrydegrande]
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 0
4
+ :patch: 1
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{hyde}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tom Preston-Werner"]
@@ -115,7 +115,7 @@ module Jekyll
115
115
  base = File.join(self.source, dir)
116
116
  entries = filter_entries(Dir.entries(base))
117
117
  directories = entries.select { |e| File.directory?(File.join(base, e)) }
118
- files = entries.reject { |e| File.directory?(File.join(base, e)) }
118
+ files = entries.reject { |e| File.directory?(File.join(base, e)) || File.symlink?(File.join(base, e)) }
119
119
 
120
120
  # we need to make sure to process _posts *first* otherwise they
121
121
  # might not be available yet to other templates as {{ site.posts }}
@@ -133,7 +133,6 @@ module Jekyll
133
133
  paginate_posts(f, dir)
134
134
  else
135
135
  first3 = File.open(File.join(self.source, dir, f)) { |fd| fd.read(3) }
136
-
137
136
  if first3 == "---"
138
137
  # file appears to have a YAML header so process it as a page
139
138
  page = Page.new(self, self.source, dir, f)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Chrononaut-hyde
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
@@ -156,7 +156,6 @@ files:
156
156
  - test/test_tags.rb
157
157
  has_rdoc: false
158
158
  homepage: http://github.com/mojombo/jekyll
159
- licenses:
160
159
  post_install_message:
161
160
  rdoc_options:
162
161
  - --charset=UTF-8
@@ -177,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
176
  requirements: []
178
177
 
179
178
  rubyforge_project: jekyll
180
- rubygems_version: 1.3.5
179
+ rubygems_version: 1.2.0
181
180
  signing_key:
182
181
  specification_version: 3
183
182
  summary: Jekyll is a simple, blog aware, static site generator.