siteleaf 0.9.5 → 0.9.6

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.
@@ -42,7 +42,7 @@ module Siteleaf
42
42
  url = env['PATH_INFO']
43
43
  path = url.gsub(/\/\z|\A\//, '') #strip beginning and trailing slashes
44
44
 
45
- if !File.directory?(path) and File.exist?(path)
45
+ if !['sitemap.xml','feed.xml'].include?(path) and !File.directory?(path) and File.exist?(path)
46
46
  Rack::File.new(Dir.pwd).call(env)
47
47
  else
48
48
  template_data = nil
@@ -1,3 +1,3 @@
1
1
  module Siteleaf
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siteleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-14 00:00:00.000000000 Z
12
+ date: 2013-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json