Skip to content

Commit

Permalink
Merge pull request #31 from dblock/mongoid-danger
Browse files Browse the repository at this point in the history
Added Danger, PR linter.
  • Loading branch information
dblock committed Jan 19, 2017
2 parents d3c0103 + a12ab57 commit bf07140
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 67 deletions.
28 changes: 19 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
sudo: false

rvm:
- 2.3.1

env:
- MONGOID_VERSION=3.0.0
- MONGOID_VERSION=3.1.0
- MONGOID_VERSION=4.0
- MONGOID_VERSION=5.0
- MONGOID_VERSION=6.0
matrix:
include:
- rvm: 2.3.1
env:
- MONGOID_VERSION=6.0
before_script:
- bundle exec danger
- rvm: 2.3.1
env:
- MONGOID_VERSION=5.0
- rvm: 2.3.1
env:
- MONGOID_VERSION=4.0
- rvm: 2.2
env:
- MONGOID_VERSION=3.1.0
- rvm: 2.1
env:
- MONGOID_VERSION=3.0.0

services: mongodb

Expand Down
89 changes: 31 additions & 58 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,158 +1,131 @@
0.7.2 (Next)
------------
### 0.7.2 (Next)

* [#28](https://github.com/mongoid/mongoid_fulltext/pull/28): Moved to the mongoid organization - [@dblock](https://github.com/dblock).
* [#28](https://github.com/mongoid/mongoid_fulltext/pull/28): Only testing on Ruby 2.3.1 and MongoDB 3.2 - [@dblock](https://github.com/dblock).
* [#28](https://github.com/mongoid/mongoid_fulltext/pull/29): Compatibility with Mongoid 6 - [@dblock](https://github.com/dblock).
* [#28](https://github.com/mongoid/mongoid_fulltext/pull/28): Only testing on Ruby 2.3.1 and MongoDB 3.2 - [@dblock](https://github.com/dblock).
* [#31](https://github.com/mongoid/mongoid_fulltext/pull/31): Added danger, PR linter - [@dblock](https://github.com/dblock).
* Your contribution here.

0.7.1 (11/18/2015)
------------------
### 0.7.1 (11/18/2015)

* [#24](https://github.com/mongoid/mongoid_fulltext/pull/24): Fix: `undefined method 'create_indexes' for module 'Mongoid::Indexable::ClassMethods'` - [@dblock](https://github.com/dblock).

0.7.0 (9/18/2015)
-----------------
### 0.7.0 (9/18/2015)

* Compatible with Mongoid 4 and 5 - [@dblock](https://github.com/dblock).
* Rewritten .gemspec, removed Jeweler - [@dblock](https://github.com/dblock).
* Added RuboCop - [@dblock](https://github.com/dblock).

0.6.1 (4/3/2013)
----------------
### 0.6.1 (4/3/2013)

* [#6](https://github.com/mongoid/mongoid_fulltext/pull/6): Upgrade to Mongoid ~> 3.0 - [@simi](https://github.com/simi).

0.6.0 (7/16/2012)
-----------------
### 0.6.0 (7/16/2012)

* [#2](https://github.com/mongoid/mongoid_fulltext/pull/2): Upgrade to Mongoid 3.0 - [@volmer](https://github.com/volmer).
* [#1](https://github.com/mongoid/mongoid_fulltext/pull/1): Fix: downcase destroys non-latin strings - [@netoneko](https://github.com/netoneko).

0.5.8 (3/8/2012)
----------------
### 0.5.8 (3/8/2012)

* Fix: do not CGI.unescape inside fulltext search - [@dblock](https://github.com/dblock).
* Refactored array filter API, allowing for overriding filter query method - [@ethul](https://github.com/ethul).
* Fix: check for the existence of the Mongoid.logger before calling it in case it was configured to false - [@AaronH](https://github.com/AaronH).
* Added install instructions to Readme - [@Nerian](https://github.com/Nerian).

0.5.7 (1/11/2012)
-----------------
### 0.5.7 (1/11/2012)

* Added `reindex_immediately` option to suppress automatic reindexing - [@joeyAghion](https://github.com/joeyAghion).
* Fix: treatment of word separators, adding newlines, tabs and dashes into the set of default word separators - [@aaw](https://github.com/aaw).

0.5.4 (11/8/2011)
-----------------
### 0.5.4 (11/8/2011)

* Made full word and prefix bumps inversely proportional to the length of the string - [@aaw](https://github.com/aaw).

0.5.3 (11/8/2011)
-----------------
### 0.5.3 (11/8/2011)

* Added an option to index short prefixes of words - [@aaw](https://github.com/aaw).

0.5.2 (11/5/2011)
-----------------
### 0.5.2 (11/5/2011)

* Added the ability to index full words that are less than the ngram length and not stop words - [@aaw](https://github.com/aaw).

0.5.1 (11/2/2011)
-----------------
### 0.5.1 (11/2/2011)

* Reducing the score for a full-word match (these used to be counted multiple times for multiple occurrences) and adding a list of stopwords to the config. Stopwords aren't given a score boost when matched as full words - [@aaw](https://github.com/aaw).
* Added UTF8 downcasing - [@zepplock](https://github.com/zepplock).

0.5.0 (10/11/2011)
-----------------
### 0.5.0 (10/11/2011)

* Fix: inconsistet scoring words with the same length as the ngram length - [@aaw](https://github.com/aaw).

0.4.5 (10/5/2011)
-----------------
### 0.4.5 (10/5/2011)

* Added `update_if` config option to control when index updates occur - [@nickhoffman](https://github.com/nickhoffman).

0.4.4 (8/31/2011)
-----------------
### 0.4.4 (8/31/2011)

* Added `remove_accents` - [@tdp2110](https://github.com/tdp2110).

0.4.3 (8/3/2011)
----------------
### 0.4.3 (8/3/2011)

* Fix: including `Mongoid::FulltextSearch` and not using it causes created_indexes to fail - [@dblock](https://github.com/dblock).

0.4.2 (6/28/2011)
-----------------
### 0.4.2 (6/28/2011)

* Delay-creating indexes in sync with how Mongoid creates indexes on normal collections - [@dblock](https://github.com/dblock).

0.4.1 (6/27/2011)
-----------------
### 0.4.1 (6/27/2011)

* Using `Mongoid.logger` for logging - [@dblock](https://github.com/dblock).
* Changed `ensure_index` to index in the background, avoid blocking booting app - [@dblock](https://github.com/dblock).

0.4.0 (6/19/2011)
-----------------
### 0.4.0 (6/19/2011)

* Removing all use of map-reduce - [@aaw](https://github.com/aaw).
* Support class name with module for example (Module::ClassConstantName) - [@steverandy](https://github.com/steverandy).

0.3.7 (6/7/2011)
----------------
### 0.3.7 (6/7/2011)

* Added support for updating model indexes in bulk - [@dblock](https://github.com/dblock).

0.3.6 (5/27/2011)
-----------------
### 0.3.6 (5/27/2011)

* Skipping words that are shorter than the n-gram - [@dblock](https://github.com/dblock).
* Added `index_full_words` - [@dblock](https://github.com/dblock).
* Keeping max score of ngram in the ngram hash - [@dblock](https://github.com/dblock).

0.3.5 (5/25/2011)
-----------------
### 0.3.5 (5/25/2011)

* Added index on document_id for faster remove - [@dblock](https://github.com/dblock).
* Addeda way to return scored results - [@dblock](https://github.com/dblock).

0.3.4 (5/16/2011)
-----------------
### 0.3.4 (5/16/2011)

* Added support for array filters - [@dblock](https://github.com/dblock).
* Added support for Ruby 1.8.7 - [@dbussink](https://github.com/dbussink).

0.3.2 (4/19/2011)
-----------------
### 0.3.2 (4/19/2011)

Exposing `update_ngram_index` and `remove_from_ngram_index` for fast bulk-updating the index - [@aaw](https://github.com/aaw).
* Exposing `update_ngram_index` and `remove_from_ngram_index` for fast bulk-updating the index - [@aaw](https://github.com/aaw).

0.3.1 (4/14/2011)
-----------------
### 0.3.1 (4/14/2011)

* Support for mongo versions >= 1.7.4 - [@aaw](https://github.com/aaw).

0.3.0 (4/13/2011)
-----------------
### 0.3.0 (4/13/2011)

* Adding the ability to define filters on an index - [@aaw](https://github.com/aaw).

0.2.0 (4/13/2011)
-----------------
### 0.2.0 (4/13/2011)

* Multiple indexes per model, removing internal indexes entirely - [@aaw](https://github.com/aaw).

0.1.1 (4/11/2011)
-----------------
### 0.1.1 (4/11/2011)

* Keep garbage in the index from blowing up `fulltext_search` - [@aaw](https://github.com/aaw).
* Indexing the results of `to_s` if no fields are provided - [@aaw](https://github.com/aaw).
* Adding a `before_destroy` callback for external indexes - [@aaw](https://github.com/aaw).

0.1.0 (4/7/2011)
----------------
### 0.1.0 (4/7/2011)

* Initial public release - [@aaw](https://github.com/aaw).
1 change: 1 addition & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
danger.import_dangerfile(gem: "mongoid-danger")
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ end
group :development do
gem 'rake', '< 11'
gem 'rubocop', '0.34.1'
gem 'mongoid-danger', '~> 0.1.1'
end

0 comments on commit bf07140

Please sign in to comment.