README.md in nazrin-1.0.1 vs README.md in nazrin-2.0.0.rc1
- old
+ new
@@ -4,11 +4,11 @@
[![Coverage Status](https://coveralls.io/repos/tsuwatch/nazrin/badge.svg?branch=readme&service=github)](https://coveralls.io/github/tsuwatch/nazrin?branch=readme)
[![Code Climate](https://codeclimate.com/github/tsuwatch/nazrin/badges/gpa.svg)](https://codeclimate.com/github/tsuwatch/nazrin)
Nazrin is a Ruby wrapper for Amazon CloudSearch (aws-sdk), with optional ActiveRecord support for easy integration with your Rails application.
-*Nazrin has the ability of the extent which find what you're looking for...*
+>*Nazrin has the ability of the extent which find what you're looking for...*
## Installation
Add this line to your application's Gemfile:
@@ -36,12 +36,10 @@
config.search_endpoint = ''
config.document_endpoint = ''
config.region = ''
config.access_key_id = ''
config.secret_access_key = ''
- # currently support 'kaminari', 'will_paginate' or 'nazrin'
- config.pagination = 'kaminari'
end
```
```ruby
class Post < ActiveRecord::Base
@@ -59,14 +57,9 @@
```
```ruby
Post.search(where: :foo, includes: :bar).size(1).start(0).query("(and 'content')").query_parser('structured').execute
=> [#<Post id: 1, content: "content">]
-```
-
-If you want to use other pagination gem, in your Gemfile
-```ruby
-gem 'kaminari' # or 'will_paginate'
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.