blossom 0.1.3 → 0.1.4
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.
- data/lib/blossom.rb +1 -2
- data/lib/blossom/version.rb +1 -1
- metadata +1 -1
data/lib/blossom.rb
CHANGED
@@ -179,8 +179,7 @@ class Blossom::Application < Rack::Builder
|
|
179
179
|
|
180
180
|
def file_exists? *suffixes
|
181
181
|
condition do
|
182
|
-
|
183
|
-
suffix.any? {
|
182
|
+
suffixes.any? { |suffix|
|
184
183
|
basename = File.basename(request.path_info)
|
185
184
|
barename = basename.sub(/\.[^.]*$/, '')
|
186
185
|
File.exist? File.join(settings.root, "#{barename}.#{suffix}")
|
data/lib/blossom/version.rb
CHANGED