Rakefile in pastehub-0.4.1 vs Rakefile in pastehub-0.4.2

- old
+ new

@@ -5,14 +5,10 @@ # 2. rake test && rake gemspec && gem build pastehub.gemspec # to generate pastehub-x.x.x.gem # 3. install pastehub-x.x.x.gem to clean environment and test # 4. rake release # 5. gem push pkg/pastehub-x.x.x.gem ( need gem version 1.3.6 or higer. Please "gem update --system" to update ) -# -# Test environment: -# 1. gem install fake_dynamo --version 0.1.3 -# 2. fake_dynamo --port 4567 require 'rake' begin require 'jeweler2' @@ -51,28 +47,11 @@ sh "ruby -I ./lib `which rspec` -b ./test/libclient_spec.rb " sh "/bin/rm -rf /tmp/home/user1" sh "ruby -I ./lib `which rspec` -b ./test/libclientsync_spec.rb " sh "ruby -I ./lib `which rspec` -b ./test/libsyncentry_spec.rb " sh "ruby -I ./lib `which rspec` -b ./test/libutil_spec.rb " + sh "ruby -I ./lib `which rspec` -b ./test/libclipboard_spec.rb " end - -task :win32_test do - sh "rm -f /tmp/usertmp.db" - sh "rspec -I ./lib -b ./test/libclipboard_spec.rb " - sh "rspec -I ./lib -b ./test/libstore_spec.rb " - sh "rspec -I ./lib -b ./test/libconfig_spec.rb " - sh "rspec -I ./lib -b ./test/libutil_spec.rb " - sh "rspec -I ./lib -b ./test/libcrypt_spec.rb " - sh "rspec -I ./lib -b ./test/libauth_spec.rb " -# sh "rspec -I ./lib -b ./test/libauth2_spec.rb " - sh "rspec -I ./lib -b ./test/libclient_spec.rb " - sh "rspec -I ./lib -b ./test/liblog_spec.rb " -# sh "rspec -I ./lib -b ./test/libmasterdb_spec.rb " -# sh "rspec -I ./lib -b ./test/libuserdb_spec.rb " - - -end - task :sync do sh "ruby -I ./lib bin/PastehubSync -v" end