fivepointssolutions-serve 0.9.12 → 0.9.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -1
- data/VERSION.yml +1 -1
- data/lib/serve/file_resolver.rb +1 -1
- data/lib/serve/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
== 0.9.
|
1
|
+
== 0.9.13
|
2
|
+
* Fixed broken regex that kept paths ending with '/' from working [aiwilliams]
|
3
|
+
|
4
|
+
== 0.9.12
|
5
|
+
* Removed stuff that wasn't necessary for packaging gem with jeweler [aiwilliams]
|
6
|
+
|
7
|
+
== 0.9.11
|
2
8
|
* Made to work as a Rails GemPlugin [aiwilliams]
|
3
9
|
* Caches responses using the Radiant ResponseCache when used as a Rails plugin [aiwilliams]
|
4
10
|
* Managing gem using jeweler [aiwilliams]
|
data/VERSION.yml
CHANGED
data/lib/serve/file_resolver.rb
CHANGED
@@ -9,7 +9,7 @@ module Serve
|
|
9
9
|
return nil if path.nil?
|
10
10
|
path = File.join(path) # path may be array
|
11
11
|
return nil if path =~ /\.\./
|
12
|
-
path = path.sub(
|
12
|
+
path = path.sub(%r{/\Z}, '')
|
13
13
|
if path =~ /\.css\Z/ && !File.file?(File.join(root, path))
|
14
14
|
sass_path = path.sub(/\.css\Z/, '.sass')
|
15
15
|
sass_path if File.file?(File.join(root, sass_path))
|
data/lib/serve/version.rb
CHANGED