Update defaultdb build files
4 files changed, 12 insertions(+), 4 deletions(-)

M .hgignore
M .pryrc
M wordnet-defaultdb/Manifest.txt
M wordnet-defaultdb/Rakefile
M .hgignore +2 -0
@@ 4,6 4,8 @@ ruby-wordnet/
 pkg/
 ^data/wordnet\-defaultdb/wordnet30\.sqlite$
 ^commit\-msg\.txt$
+^wordnet-defaultdb/.rspec
+^wordnet-defaultdb/ChangeLog
 ^wordnet-defaultdb/pkg/
 ^wordnet-defaultdb/data/wordnet\-defaultdb/wordnet31\.sqlite$
 ^wordnet-defaultdb/commit\-msg\.txt$

          
M .pryrc +5 -1
@@ 4,10 4,14 @@ BEGIN {
 	require 'pathname'
 	$stderr.puts "__FILE__ is: #{__FILE__}"
 	basedir = Pathname.new( __FILE__ ).dirname.expand_path
-	libdir = basedir + "lib"
+	libdir = basedir + 'lib'
+	dblibdir = basedir + 'wordnet-defaultdb/lib'
 
 	puts ">>> Adding #{libdir} to load path..."
 	$LOAD_PATH.unshift( libdir.to_s )
+
+	puts ">>> Adding #{dblibdir} to load path..."
+	$LOAD_PATH.unshift( dblibdir.to_s )
 }
 
 begin

          
M wordnet-defaultdb/Manifest.txt +1 -0
@@ 14,3 14,4 @@ README.rdoc
 Rakefile
 data/wordnet-defaultdb/wordnet31.sqlite
 lib/wordnet-defaultdb.rb
+lib/wordnet/defaultdb.rb

          
M wordnet-defaultdb/Rakefile +4 -3
@@ 17,9 17,9 @@ SQLUNET_SHORT_VERSION = SQLUNET_VERSION[
 
 # https://versaweb.dl.sourceforge.net/project/sqlunet/5.2.0/sqlite/sqlite-5.2.0-31-all.zip
 
-SQLUNET_BASE_URI = 'https://versaweb.dl.sourceforge.net/project/sqlunet'
+SQLUNET_BASE_URI = "https://downloads.sourceforge.net/project/sqlunet/"
 SQLUNET_ZIPFILE  = "sqlite-#{SQLUNET_VERSION}-all.zip"
-SQLUNET_URI      = "#{SQLUNET_BASE_URI}/#{SQLUNET_SHORT_VERSION}/#{SQLUNET_ZIPFILE}"
+SQLUNET_URI      = "#{SQLUNET_BASE_URI}/#{SQLUNET_SHORT_VERSION}/sqlite/#{SQLUNET_ZIPFILE}"
 
 BASEDIR = Pathname( __FILE__ ).dirname.relative_path_from( Pathname.pwd )
 DATADIR = BASEDIR + 'data'

          
@@ 53,6 53,7 @@ ENV['VERSION'] ||= hoespec.spec.version.
 
 task :default => :gem
 
+task :build => hoespec.spec.files
 
 ### Make the ChangeLog update if the repo has changed since it was last built
 file '.hg/branch'

          
@@ 140,5 141,5 @@ rule( /^LICENSE-(\w+)\.txt$/ => [ SQLUNE
 	end
 end
 
-CLOBBER.include( 'LICENSE-*.txt' )
+CLEAN.include( 'LICENSE-*.txt' )