bin/sippy_cup in sippy_cup-0.2.2 vs bin/sippy_cup in sippy_cup-0.2.3
- old
+ new
@@ -63,10 +63,10 @@
end
@definition = YAML.load File.read @definition_file
unless @definition.has_key? :scenario
- @definition[:scenario] = @definition_file.gsub /\.yml$/, ''
+ @definition[:scenario] = @definition_file.gsub /\.ya?ml$/, ''
end
unless @definition.has_key? :name
@definition[:name] = @definition[:scenario]
end