Permalink
Browse files

Renamed data directory to fit gem name, and fixed looking up the data…

… directory.
  • Loading branch information...
1 parent e8cef6a commit 00b7857e90ef31796b6ef1056ebff40b90700e0c @apeiros committed Sep 17, 2012
@@ -121,8 +121,8 @@ def initialize(data_directory=nil)
elsif ENV['SWISSMATCH_DATA'] then
@data_directory = ENV['SWISSMATCH_DATA']
else
- data_directory = File.expand_path('../../../../data/swissmatch', __FILE__)
- data_directory = Gem.datadir 'swissmatch' if defined?(Gem) && !File.directory?(data_directory)
+ data_directory = File.expand_path('../../../../data/swissmatch-location', __FILE__)
+ data_directory = Gem.datadir 'swissmatch-location' if defined?(Gem) && !File.directory?(data_directory)
@data_directory = data_directory
end
end

0 comments on commit 00b7857

Please sign in to comment.