lib/grape/path.rb in grape-1.3.1 vs lib/grape/path.rb in grape-1.3.2

- old
+ new

@@ -40,14 +40,14 @@ false end end def namespace? - namespace && namespace.to_s =~ /^\S/ && namespace != '/' + namespace&.match?(/^\S/) && namespace != '/' end def path? - raw_path && raw_path.to_s =~ /^\S/ && raw_path != '/' + raw_path&.match?(/^\S/) && raw_path != '/' end def suffix if uses_specific_format? "(.#{settings[:format]})"