lib/opensource.rb in opensource-0.3.5 vs lib/opensource.rb in opensource-0.3.6

- old
+ new

@@ -2,7 +2,9 @@ require_relative 'opensource/error' require_relative 'opensource/owner' require_relative 'opensource/license' module Opensource - + LICENSES = Dir.entries("./templates").map do |filename| + File.basename(filename, '.erb') if !['.', '..'].include?(filename) + end.compact end