mwmitchell-rsolr 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 0.8.8 - May 6, 2009
2
+ Added method :request to RSolr::Connection
3
+ - this method is an alias for send_request
4
+
1
5
  0.8.7 - May 6, 2009
2
6
  Added method_missing to RSolr::Connection, which sets the request handler path,
3
7
  based on the method name:
data/README.rdoc CHANGED
@@ -23,6 +23,9 @@ A Ruby client for Apache Solr. Has transparent JRuby support by using "org.apach
23
23
 
24
24
  # send a request to a custom request handler; /catalog
25
25
  response = rsolr.send_request('/catalog', :q=>'*:*')
26
+
27
+ # alternative to above (uses Ruby's method_missing):
28
+ response = rsolr.catalog :q=>'*:*'
26
29
 
27
30
  To run tests:
28
31
 
data/lib/rsolr.rb CHANGED
@@ -12,7 +12,7 @@ end
12
12
 
13
13
  module RSolr
14
14
 
15
- VERSION = '0.8.7'
15
+ VERSION = '0.8.8'
16
16
 
17
17
  autoload :Message, 'rsolr/message'
18
18
  autoload :Connection, 'rsolr/connection'
@@ -40,6 +40,9 @@ class RSolr::Connection
40
40
  adapt_response(response)
41
41
  end
42
42
 
43
+ # allow #request to be used like send_request
44
+ alias_method :request, :send_request
45
+
43
46
  #
44
47
  # single record:
45
48
  # solr.update(:id=>1, :name=>'one')
data/rsolr.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rsolr"
3
- s.version = "0.8.7"
3
+ s.version = "0.8.8"
4
4
  s.date = "2009-05-06"
5
5
  s.summary = "A Ruby client for Apache Solr"
6
6
  s.email = "goodieboy@gmail.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mwmitchell-rsolr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Mitchell