blossom 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/blossom.rb +1 -2
  2. data/lib/blossom/version.rb +1 -1
  3. 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
- suffix.respond_to? :any? or suffix = [suffix]
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}")
@@ -1,3 +1,3 @@
1
1
  module Blossom
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blossom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: