solrmarc_wrapper 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -17,5 +17,6 @@ Dir.glob('lib/tasks/*.rake').each { |r| import r }
17
17
 
18
18
  namespace :sm_wrap do
19
19
  task :default => :ci
20
- task :rspec => :rspec_core
20
+ task :rspec => :rspec_plain
21
+ task :spec => :rspec_plain
21
22
  end
@@ -1,3 +1,3 @@
1
1
  class SolrmarcWrapper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -4,7 +4,7 @@ namespace :sm_wrap do
4
4
  namespace :jetty do
5
5
 
6
6
  desc "Modify test jetty solr to be multicore"
7
- task :config_ci => ['sm_wrap:solrmarc:setup_test_jetty'] do
7
+ task :config => ['sm_wrap:solrmarc:setup_test_jetty'] do
8
8
 
9
9
  # copy the solr.xml file for multi-core to test jetty solr
10
10
  jetty_solr_dir = "solrmarc/test/jetty/solr"
@@ -32,7 +32,7 @@ namespace :sm_wrap do
32
32
  end
33
33
 
34
34
  desc "Copies the SOLR config files and starts up the test-jetty instance"
35
- task :load_ci => [:config_ci, 'jetty:start']
35
+ task :load => [:config, 'jetty:start']
36
36
 
37
37
  end
38
38
  end
@@ -7,7 +7,7 @@ namespace :sm_wrap do
7
7
  ant '-f solrmarc/build.xml dist_site'
8
8
  end
9
9
 
10
- desc "run ant target to set up testing jetty in solrmarc"
10
+ desc "run ant target to set up testing jetty per straight solrmarc"
11
11
  task :setup_test_jetty do
12
12
  ant '-f solrmarc/build.xml test_clean_site'
13
13
  ant '-f solrmarc/build.xml site_setup_test_jetty'
@@ -3,7 +3,7 @@ require 'rspec/core/rake_task'
3
3
  namespace :sm_wrap do
4
4
 
5
5
  desc "Run all specs, with jetty instance running"
6
- task :rspec_wrapped => ['sm_wrap:solrmarc:ant_dist_site', 'sm_wrap:jetty:config_ci'] do
6
+ task :rspec_wrapped => ['sm_wrap:solrmarc:ant_dist_site', 'sm_wrap:jetty:config'] do
7
7
  test_jetty_dir = File.expand_path(File.dirname(__FILE__) + '../../../solrmarc/test/jetty')
8
8
  require 'jettywrapper'
9
9
  jetty_params = Jettywrapper.load_config.merge({
@@ -16,12 +16,12 @@ namespace :sm_wrap do
16
16
  error = Jettywrapper.wrap(jetty_params) do
17
17
  `sh ./spec/scripts/curl_empty_test_solr.sh`
18
18
  `sh ./spec/scripts/curl_add_bare666_to_test.sh`
19
- Rake::Task['sm_wrap:rspec_core'].invoke
19
+ Rake::Task['sm_wrap:rspec_plain'].invoke
20
20
  end
21
21
  raise "TEST FAILURES: #{error}" if error
22
22
  end
23
23
 
24
- RSpec::Core::RakeTask.new(:rspec_core) do |spec|
24
+ RSpec::Core::RakeTask.new(:rspec_plain) do |spec|
25
25
  spec.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
26
26
  end
27
27
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: solrmarc_wrapper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Naomi Dushay