outoftime-sunspot 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -145,6 +145,6 @@ Posts about Sunspot from my tumblog: http://outofti.me/tagged/sunspot
145
145
 
146
146
  Mat Brown <mat@patch.com>
147
147
 
148
- == LICENSE:
148
+ == License
149
149
 
150
150
  Sunspot is distributed under the MIT License, copyright (c) 2008-2009 Mat Brown
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 8
4
- :patch: 0
4
+ :patch: 1
@@ -20,9 +20,13 @@ module Sunspot
20
20
  end
21
21
 
22
22
  #
23
- # Execute the search on the Solr instance and store the results
23
+ # Execute the search on the Solr instance and store the results. If you
24
+ # use Sunspot#search() to construct your searches, there is no need to call
25
+ # this method as it has already been called. If you use
26
+ # Sunspot#new_search(), you will need to call this method after building the
27
+ # query.
24
28
  #
25
- def execute! #:nodoc:
29
+ def execute!
26
30
  params = @query.to_params
27
31
  @solr_result = @connection.query(params.delete(:q), params)
28
32
  self
data/tasks/rdoc.rake CHANGED
@@ -2,16 +2,17 @@ gem 'mislav-hanna'
2
2
  require 'hanna/rdoctask'
3
3
 
4
4
  Rake::RDocTask.new(:doc) do |rdoc|
5
+ version = Jeweler::VersionHelper.new(File.join(File.dirname(__FILE__), '..')).to_s
5
6
  rdoc.title = 'Sunspot - Pure-Ruby Solr Search and Indexing - API Documentation'
6
7
  rdoc.main = 'README.rdoc'
7
8
  rdoc.rdoc_files.include('README.rdoc', 'lib/sunspot.rb', 'lib/sunspot/**/*.rb')
8
9
  rdoc.rdoc_dir = 'doc'
9
- rdoc.options << '--webcvs=http://github.com/outoftime/sunspot/tree/master/%s' << '--title' << 'Sunspot - Pure-Ruby Solr Search and Indexing - API Documentation'
10
+ rdoc.options << "--webcvs=http://github.com/outoftime/sunspot/tree/v#{version}/%s" << '--title' << 'Sunspot - Pure-Ruby Solr Search and Indexing - API Documentation'
10
11
  end
11
12
 
12
13
  namespace :doc do
13
14
  desc 'Generate rdoc and move into pages directory'
14
- task :publish => :doc do
15
+ task :publish => :redoc do
15
16
  doc_dir = File.join(File.dirname(__FILE__), '..', 'doc')
16
17
  publish_dir = File.join(File.dirname(__FILE__), '..', 'pages', 'docs')
17
18
  FileUtils.rm_rf(publish_dir) if File.exist?(publish_dir)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outoftime-sunspot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mat Brown
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-22 00:00:00 -07:00
12
+ date: 2009-05-26 00:00:00 -07:00
13
13
  default_executable: sunspot-solr
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency