Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update license

  • Loading branch information...
commit e14d1c9f27c442925dfad4e0f1bc2dc7909139f3 1 parent 5a45d79
Ryan Sonnek authored
Showing with 32 additions and 18 deletions.
  1. +6 −0 CONTRIBUTORS.txt
  2. +19 −17 LICENSE.txt
  3. +7 −1 README.md
View
6 CONTRIBUTORS.txt
@@ -0,0 +1,6 @@
+Ryan Sonnek - Original Author
+
+
+Complete list of contributors:
+https://github.com/socialcast/elastic_searchable/contributors
+
View
36 LICENSE.txt
@@ -1,20 +1,22 @@
-Copyright (c) 2011 Ryan Sonnek
+The MIT License
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
+Copyright (c) 2011 Socialcast, Inc
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
8 README.md
@@ -3,6 +3,7 @@
Integrate the elasticsearch library into Rails.
## Usage
+
```ruby
class Blog < ActiveRecord::Base
elastic_searchable
@@ -19,12 +20,14 @@ results = Blog.search 'foo'
* integrates with will_paginate library for easy pagination of search results
## Installation
+
```ruby
# Bundler Gemfile
gem 'elastic_searchable'
```
## Configuration
+
```ruby
# config/initializers/elastic_searchable.rb
# (optional) customize elasticsearch host
@@ -39,7 +42,10 @@ ElasticSearchable.base_uri = 'server:9200'
* Add unit tests
* Submit pull request on github
+See CONTRIBUTORS.txt for list of project contributors
+
## Copyright
-Copyright (c) 2011 Ryan Sonnek. See LICENSE.txt for further details.
+Copyright (c) 2011 Socialcast, Inc.
+See LICENSE.txt for further details.
Please sign in to comment.
Something went wrong with that request. Please try again.