M spec/helpers.rb +1 -1
@@ 29,7 29,7 @@ RSpec.configure do |config|
config.example_status_persistence_file_path = "spec/.state"
if Gem::Specification.find_all_by_name( 'pg' ).any?
- $dburi = 'postgres:/wordnet31'
+ $dburi = 'postgres:/sqlunet50'
else
config.filter_run_excluding( :requires_pg )
unless (( $dburi = WordNet::Lexicon.default_db_uri ))
M wordnet-defaultdb/.gems +1 -0
@@ 1,3 1,4 @@
hoe-deveiate
sqlite3
rubyzip
+wordnet
M wordnet-defaultdb/Rakefile +2 -1
@@ 17,7 17,7 @@ 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://downloads.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}/sqlite/#{SQLUNET_ZIPFILE}"
@@ 52,6 52,7 @@ end
ENV['VERSION'] ||= hoespec.spec.version.to_s
task :default => :gem
+task :spec => DEST_DBFILE
task :build => hoespec.spec.files