siteleaf 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/siteleaf/server.rb +1 -1
- data/lib/siteleaf/version.rb +1 -1
- metadata +2 -2
data/lib/siteleaf/server.rb
CHANGED
@@ -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
|
data/lib/siteleaf/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|