Skip to content

Commit

Permalink
Bump version number to 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmrshntr committed Feb 16, 2016
1 parent b544aa6 commit 0e51e90
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
27 changes: 25 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RSolr::Cloud

The connection adopter supporting SolrCloud for RSolr.
A RSolr's connection adopter supporting SolrCloud.

## Installation

Expand Down Expand Up @@ -35,7 +35,7 @@ solr_client = RSolr::Client.new(cloud_connection,
read_timeout: 60,
open_timeout: 60)

# You can use rsolr as usual but collection: option must be specified with the name of the collection.
# You can use rsolr as usual but :collection option must be specified with the name of the collection.
response = solr.get('select', collection: 'collection1', params: {q: '*:*'})

```
Expand All @@ -47,3 +47,26 @@ response = solr.get('select', collection: 'collection1', params: {q: '*:*'})
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Development

To install gems which are necessary for development and testing:

```
$ bundle install
```

To run the test suite:

```
$ rake
```

The default rake task contains RuboCop and RSpec. Each task can be run separately:

```
$ rake rubocop
```
```
$ rake spec
```
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ require 'bundler/gem_tasks'
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
require 'rubocop/rake_task'
RuboCop::RakeTask.new
task default: [:rubocop, :spec]
rescue LoadError # rubocop:disable HandleExceptions
end
2 changes: 1 addition & 1 deletion lib/rsolr/cloud/error.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module RSolr
module Cloud
module Error
# This error cause when all solr nodes aren't active.
# This error occurs when all solr nodes aren't active.
class NotEnoughNodes < RuntimeError
def to_s
'Not enough nodes to handle the request.'
Expand Down
2 changes: 1 addition & 1 deletion lib/rsolr/cloud/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Rsolr
module Cloud
VERSION = '1.0.0'.freeze
VERSION = '1.1.0'.freeze
end
end

0 comments on commit 0e51e90

Please sign in to comment.