lib/citeproc/js/assets.rb in citeproc-js-0.0.1 vs lib/citeproc/js/assets.rb in citeproc-js-0.0.2

- old
+ new

@@ -41,27 +41,27 @@ ensure io.close end def extend_name(file) - file = File.extname(file).empty? ? [file, extension].compact.join('.') : file + file = File.extname(file).empty? ? [file, extension].compact.join : file file = file.start_with?(prefix.to_s) ? file : [prefix,file].join file end end end class Style include Asset @root = '/usr/local/share/citation-style-language/styles'.freeze - @extension = 'csl'.freeze + @extension = '.csl'.freeze end class Locale include Asset @root = '/usr/local/share/citation-style-language/locales'.freeze - @extension = 'xml'.freeze + @extension = '.xml'.freeze @prefix = 'locales-' end end end