acts_as_solr 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGE_LOG CHANGED
@@ -1,6 +1,7 @@
1
1
  == CHANGE_LOG
2
2
 
3
3
  === Development
4
+ <b>FIX</b>:: Small fix for detecting libxml-ruby in Ruby 1.9. (Nick Zadrozny)
4
5
  <b>FIX</b>:: Updated bundled Solr to 1.4. (Kyle Maxwell)
5
6
  <b>NEW</b>:: A unit test suite based on Shoulda, not requiring a running Solr or a Rails environment. (Mathias Meyer)
6
7
  <b>NEW</b>:: Added the :offline option to the acts_as_solr method. (Mathias Meyer)
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ begin
21
21
  gem.description = "Acts As Solr"
22
22
  gem.email = "kyle@onemorecloud.com"
23
23
  gem.homepage = "http://github.com/onemorecloud/acts_as_solr"
24
- gem.authors = ["Kyle Maxwell"]
24
+ gem.authors = ["Kyle Maxwell", "Nick Zadrozny"]
25
25
  gem.add_development_dependency "thoughtbot-shoulda"
26
26
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
27
27
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.1
1
+ 1.3.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_solr}
8
- s.version = "1.3.1"
8
+ s.version = "1.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Kyle Maxwell"]
12
- s.date = %q{2010-03-29}
11
+ s.authors = ["Kyle Maxwell", "Nick Zadrozny"]
12
+ s.date = %q{2010-05-27}
13
13
  s.default_executable = %q{acts_as_solr}
14
14
  s.description = %q{Acts As Solr}
15
15
  s.email = %q{kyle@onemorecloud.com}
@@ -188,7 +188,7 @@ Gem::Specification.new do |s|
188
188
  s.homepage = %q{http://github.com/onemorecloud/acts_as_solr}
189
189
  s.rdoc_options = ["--charset=UTF-8"]
190
190
  s.require_paths = ["lib"]
191
- s.rubygems_version = %q{1.3.6}
191
+ s.rubygems_version = %q{1.3.7}
192
192
  s.summary = %q{Solr integration for rails}
193
193
  s.test_files = [
194
194
  "test/db/connections/mysql/connection.rb",
@@ -230,7 +230,7 @@ Gem::Specification.new do |s|
230
230
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
231
231
  s.specification_version = 3
232
232
 
233
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
233
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
234
234
  s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
235
235
  else
236
236
  s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
@@ -18,7 +18,7 @@ begin
18
18
  # If we can load rubygems and libxml-ruby...
19
19
  require 'rubygems'
20
20
  require 'xml/libxml'
21
- raise "acts_as_solr requires libxml-ruby 0.7 or greater" unless XML::Node.public_instance_methods.include?("attributes")
21
+ raise "acts_as_solr requires libxml-ruby 0.7 or greater" unless XML::Node.method_defined?(:attributes)
22
22
 
23
23
  # then make a few modifications to XML::Node so it can stand in for REXML::Element
24
24
  class XML::Node
metadata CHANGED
@@ -1,29 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_solr
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 31
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 3
8
- - 1
9
- version: 1.3.1
9
+ - 2
10
+ version: 1.3.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Kyle Maxwell
14
+ - Nick Zadrozny
13
15
  autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2010-03-29 00:00:00 -07:00
19
+ date: 2010-05-27 00:00:00 -07:00
18
20
  default_executable: acts_as_solr
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: thoughtbot-shoulda
22
24
  prerelease: false
23
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
24
27
  requirements:
25
28
  - - ">="
26
29
  - !ruby/object:Gem::Version
30
+ hash: 3
27
31
  segments:
28
32
  - 0
29
33
  version: "0"
@@ -214,23 +218,27 @@ rdoc_options:
214
218
  require_paths:
215
219
  - lib
216
220
  required_ruby_version: !ruby/object:Gem::Requirement
221
+ none: false
217
222
  requirements:
218
223
  - - ">="
219
224
  - !ruby/object:Gem::Version
225
+ hash: 3
220
226
  segments:
221
227
  - 0
222
228
  version: "0"
223
229
  required_rubygems_version: !ruby/object:Gem::Requirement
230
+ none: false
224
231
  requirements:
225
232
  - - ">="
226
233
  - !ruby/object:Gem::Version
234
+ hash: 3
227
235
  segments:
228
236
  - 0
229
237
  version: "0"
230
238
  requirements: []
231
239
 
232
240
  rubyforge_project:
233
- rubygems_version: 1.3.6
241
+ rubygems_version: 1.3.7
234
242
  signing_key:
235
243
  specification_version: 3
236
244
  summary: Solr integration for rails