rsolr 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
4
- require 'rake/gempackagetask'
3
+
4
+ require 'rubygems/package_task'
5
5
 
6
6
  ENV['RUBYOPT'] = '-W1'
7
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/lib/rsolr/error.rb CHANGED
@@ -11,7 +11,7 @@ module RSolr::Error
11
11
  details = parse_solr_error_response response[:body]
12
12
  m << "\nError: #{details}\n" if details
13
13
  end
14
- p = "\nQuery: #{request[:path]}?#{request[:query]}"
14
+ p = "\nURI: #{request[:uri].to_s}"
15
15
  p = "\nRequest Headers: #{request[:headers].inspect}" if request[:headers]
16
16
  p = "\nRequest Data: #{request[:data].inspect}" if request[:data]
17
17
  p << "\n"
@@ -17,7 +17,10 @@ module RSolr::Pagination
17
17
 
18
18
  # A paginated request method.
19
19
  def paginate page, per_page, path, opts = nil
20
- warn "DEPRECATION WARNING: RSolr::Pagination / pagination functionality will be removed in 1.1.0. It will instead be available in RSolr::Ext 1.1.0"
20
+ @warned ||= begin
21
+ warn "DEPRECATION WARNING: RSolr::Pagination / pagination functionality will be removed in 1.1.0."
22
+ true
23
+ end
21
24
  request_context = build_paginated_request page, per_page, path, opts
22
25
  execute request_context
23
26
  end
data/tasks/rdoc.rake CHANGED
@@ -8,4 +8,4 @@ RDoc::Task.new(:doc) do |rdoc|
8
8
  rdoc.options << '--line-numbers' << '--inline-source'
9
9
  rdoc.rdoc_files.include('README.rdoc')
10
10
  rdoc.rdoc_files.include('lib/**/*.rb')
11
- end
11
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsolr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Mitchell
@@ -25,7 +25,7 @@ autorequire:
25
25
  bindir: bin
26
26
  cert_chain: []
27
27
 
28
- date: 2011-05-23 00:00:00 -04:00
28
+ date: 2011-06-06 00:00:00 -04:00
29
29
  default_executable:
30
30
  dependencies:
31
31
  - !ruby/object:Gem::Dependency