rsolr 1.1.2 → 2.0.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/README.rdoc +3 -4
- data/Rakefile +16 -3
- data/lib/rsolr/char.rb +3 -21
- data/lib/rsolr/client.rb +66 -66
- data/lib/rsolr/document.rb +161 -0
- data/lib/rsolr/json.rb +52 -0
- data/lib/rsolr/uri.rb +1 -51
- data/lib/rsolr/version.rb +1 -1
- data/lib/rsolr/xml.rb +24 -98
- data/lib/rsolr.rb +8 -9
- data/rsolr.gemspec +2 -0
- data/spec/api/client_spec.rb +77 -85
- data/spec/api/document_spec.rb +48 -0
- data/spec/api/error_spec.rb +2 -1
- data/spec/api/json_spec.rb +175 -0
- data/spec/api/pagination_spec.rb +3 -9
- data/spec/api/rsolr_spec.rb +3 -11
- data/spec/api/uri_spec.rb +2 -93
- data/spec/api/xml_spec.rb +36 -10
- data/spec/integration/solr5_spec.rb +1 -1
- data/spec/spec_helper.rb +83 -2
- metadata +23 -10
- data/lib/rsolr/connection.rb +0 -74
- data/spec/api/char_spec.rb +0 -23
- data/spec/api/connection_spec.rb +0 -140
- data/tasks/rdoc.rake +0 -11
- data/tasks/rsolr.rake +0 -10
- data/tasks/spec.rake +0 -2
data/tasks/rdoc.rake
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
# Rdoc
|
2
|
-
require "rdoc/task"
|
3
|
-
|
4
|
-
desc 'Generate documentation for the rsolr gem.'
|
5
|
-
RDoc::Task.new(:doc) do |rdoc|
|
6
|
-
rdoc.rdoc_dir = 'doc'
|
7
|
-
rdoc.title = 'RSolr'
|
8
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
9
|
-
rdoc.rdoc_files.include('README.rdoc')
|
10
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
11
|
-
end
|
data/tasks/rsolr.rake
DELETED
data/tasks/spec.rake
DELETED