solrizer 1.2.1 → 1.2.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.
@@ -1,3 +1,6 @@
1
+ h2. 1.2.2
2
+ BUG: RSolr::Client doesn't have a delete method. Changed to delete_by_id. (only affects solrizer shell script) Thanks to mkorcy.
3
+
1
4
  h2. 1.2.1
2
5
  BUG: name mappings message is a "debug" message, not "info"
3
6
  fixed rake tasks to include coverage properly
@@ -93,7 +93,7 @@ begin
93
93
  solrizer = Solrizer::Fedora::Solrizer.new
94
94
  solrizer.solrize @msg.headers["pid"]
95
95
  elsif method == "purgeObject"
96
- ActiveFedora::SolrService.instance.conn.delete(pid)
96
+ ActiveFedora::SolrService.instance.conn.delete_by_id(pid)
97
97
  else
98
98
  $stderr.puts "Unknown Method: #{method}"
99
99
  end
@@ -1,3 +1,3 @@
1
1
  module Solrizer
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  desc "Task to execute builds on a Hudson Continuous Integration Server."
2
2
  task :hudson do
3
3
  Rake::Task["doc"].invoke
4
- Rake::Task["coverage:ci"].invoke
4
+ Rake::Task["coverage"].invoke
5
5
  end
6
6
 
7
7
  desc "Execute specs with coverage"
@@ -14,18 +14,6 @@ task :coverage do
14
14
  Rake::Task['solrizer:rspec'].invoke
15
15
  end
16
16
 
17
- namespace :coverage do
18
- desc "Execute ci build with coverage"
19
- task :ci do
20
- # Put spec opts in a file named .rspec in root
21
- ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : "ruby"
22
- ENV['COVERAGE'] = 'true' unless ruby_engine == 'jruby'
23
-
24
-
25
- Rake::Task['hudson'].invoke
26
- end
27
- end
28
-
29
17
  # Use yard to build docs
30
18
  begin
31
19
  require 'yard'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solrizer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Zumwalt
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-10 00:00:00 Z
18
+ date: 2012-07-23 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: nokogiri