Skip to content

Commit

Permalink
Moved mongoid-slug to the Mongoid organization.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Sep 11, 2016
1 parent 5f1bc08 commit 8fdafb2
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 67 deletions.
108 changes: 54 additions & 54 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
## 5.3.0 (Next)

* [#166](https://github.com/digitalplaywright/mongoid-slug/issues/166): Configure slug builder globally - [@anujaware](https://github.com/anujaware).
* [#209](https://github.com/digitalplaywright/mongoid-slug/issues/209): Prefixed internal `Mongoid::Slug` class attributes with `slug_` to avoid conflicts - [@dblock](https://github.com/dblock).
* [#217](https://github.com/digitalplaywright/mongoid-slug/issues/217): Fixed `mongoid_slug:set` rake task for Mongoid 6 - [@dblock](https://github.com/dblock).
* [#219](https://github.com/digitalplaywright/mongoid-slug/pull/219): Mongoid HEAD and Rails 5.0.0.rc1 support - [@Fudoshiki](https://github.com/Fudoshiki).
* [#224](https://github.com/digitalplaywright/mongoid-slug/pull/224): Use Danger, PR linter - [@dblock](https://github.com/dblock).
* [#222](https://github.com/digitalplaywright/mongoid-slug/pull/225): Fix: `Mongo::Error::OperationFailure: E11000 duplicate key error index` error with blank slugs, default `_slugs` to `nil` instead of `[]` - [@dblock](https://github.com/dblock).
* [#172](https://github.com/digitalplaywright/mongoid-slug/pull/172): Improved handling of unique and sparse index constraints - [@johnnyshields](https://github.com/johnnyshields).
* [#166](https://github.com/mongoid/mongoid-slug/issues/166): Configure slug builder globally - [@anujaware](https://github.com/anujaware).
* [#209](https://github.com/mongoid/mongoid-slug/issues/209): Prefixed internal `Mongoid::Slug` class attributes with `slug_` to avoid conflicts - [@dblock](https://github.com/dblock).
* [#217](https://github.com/mongoid/mongoid-slug/issues/217): Fixed `mongoid_slug:set` rake task for Mongoid 6 - [@dblock](https://github.com/dblock).
* [#219](https://github.com/mongoid/mongoid-slug/pull/219): Mongoid HEAD and Rails 5.0.0.rc1 support - [@Fudoshiki](https://github.com/Fudoshiki).
* [#224](https://github.com/mongoid/mongoid-slug/pull/224): Use Danger, PR linter - [@dblock](https://github.com/dblock).
* [#222](https://github.com/mongoid/mongoid-slug/pull/225): Fix: `Mongo::Error::OperationFailure: E11000 duplicate key error index` error with blank slugs, default `_slugs` to `nil` instead of `[]` - [@dblock](https://github.com/dblock).
* [#172](https://github.com/mongoid/mongoid-slug/pull/172): Improved handling of unique and sparse index constraints - [@johnnyshields](https://github.com/johnnyshields).
* Your contribution here.

## 5.2.0 (2016/01/03)

* [#204](https://github.com/digitalplaywright/mongoid-slug/pull/204): The text portion of the slug is now truncated at `Mongoid::Slug::MONGO_INDEX_KEY_LIMIT_BYTES - 32` bytes by default and can be set via `max_length` - [@dblock](https://github.com/dblock).
* [#177](https://github.com/digitalplaywright/mongoid-slug/issues/177): Added `mongoid_slug:set` rake task to set slug for legacy data - [@anuja-joshi](https://github.com/anuja-joshi).
* [#204](https://github.com/mongoid/mongoid-slug/pull/204): The text portion of the slug is now truncated at `Mongoid::Slug::MONGO_INDEX_KEY_LIMIT_BYTES - 32` bytes by default and can be set via `max_length` - [@dblock](https://github.com/dblock).
* [#177](https://github.com/mongoid/mongoid-slug/issues/177): Added `mongoid_slug:set` rake task to set slug for legacy data - [@anuja-joshi](https://github.com/anuja-joshi).

## 5.1.1

* [#197](https://github.com/digitalplaywright/mongoid-slug/pull/197): Compatibility with Mongoid 5.0.1, fix [MONGOID-4177](https://jira.mongodb.org/browse/MONGOID-4177) - [@dblock](https://github.com/dblock).
* [#197](https://github.com/mongoid/mongoid-slug/pull/197): Compatibility with Mongoid 5.0.1, fix [MONGOID-4177](https://jira.mongodb.org/browse/MONGOID-4177) - [@dblock](https://github.com/dblock).

## 5.1.0

* [#194](https://github.com/digitalplaywright/mongoid-slug/issues/194): Fixed compatibility with Mongoid::Observer - [@dblock](https://github.com/dblock).
* [#194](https://github.com/mongoid/mongoid-slug/issues/194): Fixed compatibility with Mongoid::Observer - [@dblock](https://github.com/dblock).

## 5.0.0

* [#187](https://github.com/digitalplaywright/mongoid-slug/pull/187): Mongoid 5 support - [@dblock](https://github.com/dblock).
* [#188](https://github.com/digitalplaywright/mongoid-slug/pull/188): Removed deprecated name, _mongoid_slug_ - [@dblock](https://github.com/dblock).
* [#189](https://github.com/digitalplaywright/mongoid-slug/pull/189): Implemented RuboCop - [@dblock](https://github.com/dblock).
* [#187](https://github.com/mongoid/mongoid-slug/pull/187): Mongoid 5 support - [@dblock](https://github.com/dblock).
* [#188](https://github.com/mongoid/mongoid-slug/pull/188): Removed deprecated name, _mongoid_slug_ - [@dblock](https://github.com/dblock).
* [#189](https://github.com/mongoid/mongoid-slug/pull/189): Implemented RuboCop - [@dblock](https://github.com/dblock).

## 4.0.0

* [#179](https://github.com/digitalplaywright/mongoid-slug/pull/179): Renamed gem to mongoid-slug - [@nofxx](https://github.com/nofxx).
* [#168](https://github.com/digitalplaywright/mongoid-slug/pull/168): Finding a unique slug is now threadsafe - [@jaxesn](https://github.com/jaxesn).
* [#165](https://github.com/digitalplaywright/mongoid-slug/pull/165): Fixed compatibility with Mongoid::Paranoia - [@johnnyshields](https://github.com/johnnyshields).
* [#179](https://github.com/mongoid/mongoid-slug/pull/179): Renamed gem to mongoid-slug - [@nofxx](https://github.com/nofxx).
* [#168](https://github.com/mongoid/mongoid-slug/pull/168): Finding a unique slug is now threadsafe - [@jaxesn](https://github.com/jaxesn).
* [#165](https://github.com/mongoid/mongoid-slug/pull/165): Fixed compatibility with Mongoid::Paranoia - [@johnnyshields](https://github.com/johnnyshields).

## 3.2.2

## Bugfixes

* [#163](https://github.com/digitalplaywright/mongoid-slug/pull/163): Avoid scope error in tests - [@johnnyshields](https://github.com/johnnyshields).
* Require activesupport dependencies to fix error in test on ruby 1.9.3 and Mongoid 4 - [@digitalplaywright](https://github.com/digitalplaywright).
* [#163](https://github.com/mongoid/mongoid-slug/pull/163): Avoid scope error in tests - [@johnnyshields](https://github.com/johnnyshields).
* Require activesupport dependencies to fix error in test on ruby 1.9.3 and Mongoid 4 - [@digitalplaywright](https://github.com/mongoid).

## 3.2.1

### Improvements

* Bumped Mongoid 4 requirement to beta1 - [@digitalplaywright](https://github.com/digitalplaywright).
* Bumped Mongoid 4 requirement to beta1 - [@digitalplaywright](https://github.com/mongoid).

### Bugfixes

* Fixed Mongoid4 - [@blackxored](https://github.com/blackxored).
* Fixed translation tests - [@digitalplaywright](https://github.com/digitalplaywright).
* Fixed translation tests - [@digitalplaywright](https://github.com/mongoid).
* Added sparse option to slug index - [@klacointe](https://github.com/klacointe).

## 3.2.0

### Improvements

* Updated stringex dependency to 2.0 or higher - [@digitalplaywright](https://github.com/digitalplaywright).
* Updated stringex dependency to 2.0 or higher - [@digitalplaywright](https://github.com/mongoid).
* Added Mongoid 4 support - [@dblock](https://github.com/dblock).

### Bugfixes
Expand All @@ -79,7 +79,7 @@

### Bugfixes

* [#121](https://github.com/digitalplaywright/mongoid-slug/issues/121), [#122](https://github.com/digitalplaywright/mongoid-slug/issues/122): Do not generate empty slug - [@digitalplaywright](https://github.com/digitalplaywright).
* [#121](https://github.com/mongoid/mongoid-slug/issues/121), [#122](https://github.com/mongoid/mongoid-slug/issues/122): Do not generate empty slug - [@digitalplaywright](https://github.com/mongoid).

## 3.1.0

Expand All @@ -99,7 +99,7 @@
* Fixed localized slug creation when using history and when the locale changes after document is created - [@byscripts](https://github.com/byscripts).
* Improved specs for reserved words - [@astjohn](https://github.com/astjohn).
* Added Mongoid Paranoia specs - [@simi](https://github.com/simi).
* Fixed Mongoid Slug for Ruby 2.0.0 - [@digitalplaywright](https://github.com/digitalplaywright).
* Fixed Mongoid Slug for Ruby 2.0.0 - [@digitalplaywright](https://github.com/mongoid).

### New Features

Expand All @@ -109,7 +109,7 @@

### Bugfixes

* Fix wrong homepage link in gemspec - [@digitalplaywright](https://github.com/digitalplaywright).
* Fix wrong homepage link in gemspec - [@digitalplaywright](https://github.com/mongoid).

## 2.0.0

Expand All @@ -127,29 +127,29 @@

### Bugfixes

* Do not create indexes for embedded documents - [@digitalplaywright](https://github.com/digitalplaywright).
* Do not create indexes for embedded documents - [@digitalplaywright](https://github.com/mongoid).

## 1.0.0

### Features

* Only look for a new unique slug if the existing slugs contains the current slug - [@digitalplaywright](https://github.com/digitalplaywright).
* Only look for a new unique slug if the existing slugs contains the current slug - [@digitalplaywright](https://github.com/mongoid).

### Minor Changes

* [#76](https://github.com/digitalplaywright/mongoid-slug/pull/76): Cleanup of callback handling - [@empact](https://github.com/empact).
* [#76](https://github.com/mongoid/mongoid-slug/pull/76): Cleanup of callback handling - [@empact](https://github.com/empact).

### Major Changes (Backwards Incompatible)

* Custom slug block now passes in the object - [@digitalplaywright](https://github.com/digitalplaywright).
* Custom slug block now passes in the object - [@digitalplaywright](https://github.com/mongoid).
* Fixed broken #find - [@al](https://github.com/al).
* Only Mongoid 3.0 syntax is supported - [@digitalplaywright](https://github.com/digitalplaywright).
* Store all slugs in a single field of array type - [@digitalplaywright](https://github.com/digitalplaywright).
* Removed the ':as' feature - [@digitalplaywright](https://github.com/digitalplaywright).
* Renamed slug field to _slugs - [@digitalplaywright](https://github.com/digitalplaywright).
* Slugs are indexes by default and removed the :index option - [@digitalplaywright](https://github.com/digitalplaywright).
* Reserved words should default to :new and :edit - [@digitalplaywright](https://github.com/digitalplaywright).
* Removed find_by_slug - [@digitalplaywright](https://github.com/digitalplaywright).
* Only Mongoid 3.0 syntax is supported - [@digitalplaywright](https://github.com/mongoid).
* Store all slugs in a single field of array type - [@digitalplaywright](https://github.com/mongoid).
* Removed the ':as' feature - [@digitalplaywright](https://github.com/mongoid).
* Renamed slug field to _slugs - [@digitalplaywright](https://github.com/mongoid).
* Slugs are indexes by default and removed the :index option - [@digitalplaywright](https://github.com/mongoid).
* Reserved words should default to :new and :edit - [@digitalplaywright](https://github.com/mongoid).
* Removed find_by_slug - [@digitalplaywright](https://github.com/mongoid).
* Added `#find_by_slug!` - [@al](https://github.com/al).

### Bugfixes
Expand All @@ -168,69 +168,69 @@

## 0.9.0

* [#43](https://github.com/digitalplaywright/mongoid-slug/pull/43): Allowed overriding of slug at model creation time - [@bdmac](https://github.com/bdmac).
* [#43](https://github.com/mongoid/mongoid-slug/pull/43): Allowed overriding of slug at model creation time - [@bdmac](https://github.com/bdmac).

## 0.8.3

* Bumped version of Stringex dependency - [@digitalplaywright](https://github.com/digitalplaywright).
* Bumped version of Stringex dependency - [@digitalplaywright](https://github.com/mongoid).

## 0.8.2

* Generated a slug when an existing document does not have one - [@digitalplaywright](https://github.com/digitalplaywright).
* Generated a slug when an existing document does not have one - [@digitalplaywright](https://github.com/mongoid).

## 0.8.1

* [#27](https://github.com/digitalplaywright/mongoid-slug/pull/27): No longer necessary to require library in Gemfile - [@etehtsea](https://github.com/etehtsea).
* [#27](https://github.com/mongoid/mongoid-slug/pull/27): No longer necessary to require library in Gemfile - [@etehtsea](https://github.com/etehtsea).

## 0.8.0

* [#23](https://github.com/digitalplaywright/mongoid-slug/pull/23): Fix edbug concerning slugs with double-digit counters - [@jbredeche](https://github.com/jbredeche).
* Removed #slug!. The method is of limited value - [@digitalplaywright](https://github.com/digitalplaywright).
* [#23](https://github.com/mongoid/mongoid-slug/pull/23): Fix edbug concerning slugs with double-digit counters - [@jbredeche](https://github.com/jbredeche).
* Removed #slug!. The method is of limited value - [@digitalplaywright](https://github.com/mongoid).

## 0.7.2

* [#21](https://github.com/digitalplaywright/mongoid-slug/pull/21): Added `#find_by_slug!` - [@ajsharp](https://github.com/ajsharp).
* [#21](https://github.com/mongoid/mongoid-slug/pull/21): Added `#find_by_slug!` - [@ajsharp](https://github.com/ajsharp).

## 0.7.1

* [#16](https://github.com/digitalplaywright/mongoid-slug/pull/16): Library no longers hit database multiple times to find unique slug when duplicates exist - [@tiendung](https://github.com/tiendung).
* [#16](https://github.com/mongoid/mongoid-slug/pull/16): Library no longers hit database multiple times to find unique slug when duplicates exist - [@tiendung](https://github.com/tiendung).

## 0.7.0

* Slug now can be given an optional block to build a custom slug out of the specified fields - [@digitalplaywright](https://github.com/digitalplaywright).
* Slug now can be given an optional block to build a custom slug out of the specified fields - [@digitalplaywright](https://github.com/mongoid).

## 0.6.4

* [#10](https://github.com/digitalplaywright/mongoid-slug/pull/10): Added :any option to use first present field when multiple fields are slugged - [@iamnader](https://github.com/iamnader).
* [#10](https://github.com/mongoid/mongoid-slug/pull/10): Added :any option to use first present field when multiple fields are slugged - [@iamnader](https://github.com/iamnader).

## 0.6.3

* [#13](https://github.com/digitalplaywright/mongoid-slug/pull/13): Mongoid no longer requires that emmbedded_in pass `:inverse_of` option - [@sporkd](https://github.com/sporkd).
* [#13](https://github.com/mongoid/mongoid-slug/pull/13): Mongoid no longer requires that emmbedded_in pass `:inverse_of` option - [@sporkd](https://github.com/sporkd).

## 0.6.2

* Added #slug! to generate slug for an existing document - [@digitalplaywright](https://github.com/digitalplaywright).
* Added #slug! to generate slug for an existing document - [@digitalplaywright](https://github.com/mongoid).

## 0.6.1

* Added support for STI models - [@dmathieu](https://github.com/dmathieu).

## 0.6.0

* Fixed internals to work with Mongoid RC - [@digitalplaywright](https://github.com/digitalplaywright).
* Finder is now dynamic - [@digitalplaywright](https://github.com/digitalplaywright).
* Fixed internals to work with Mongoid RC - [@digitalplaywright](https://github.com/mongoid).
* Finder is now dynamic - [@digitalplaywright](https://github.com/mongoid).

## 0.5.1

* Added support for scoping by reference association - [@ches](https://github.com/ches).
* Brought indexing back in as an option - [@digitalplaywright](https://github.com/digitalplaywright).
* Brought indexing back in as an option - [@digitalplaywright](https://github.com/mongoid).

## 0.5.0

* Added support for non-Latin languages - [@etehtsea](https://github.com/etehtsea).
* Removed :scoped. Embedded objects are now scoped by parent by default - [@digitalplaywright](https://github.com/digitalplaywright).
* Added finder method - [@digitalplaywright](https://github.com/digitalplaywright).
* Removed :scoped. Embedded objects are now scoped by parent by default - [@digitalplaywright](https://github.com/mongoid).
* Added finder method - [@digitalplaywright](https://github.com/mongoid).

## Earlier tags

* To be found in the dustbin of git log - [@digitalplaywright](https://github.com/digitalplaywright).
* To be found in the dustbin of git log - [@digitalplaywright](https://github.com/mongoid).
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Contributing to Mongoid-Slug
============================

Mongoid-slug is work of [many of contributors](https://github.com/digitalplaywright/mongoid-slug/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/digitalplaywright/mongoid-slug/pulls), [propose features, ask questions and discuss issues](https://github.com/digitalplaywright/mongoid-slug/issues).
Mongoid-slug is work of [many of contributors](https://github.com/mongoid/mongoid-slug/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/mongoid/mongoid-slug/pulls), [propose features, ask questions and discuss issues](https://github.com/mongoid/mongoid-slug/issues).

#### Fork the Project

Fork the [project on Github](https://github.com/digitalplaywright/mongoid-slug) and check out your copy.
Fork the [project on Github](https://github.com/mongoid/mongoid-slug) and check out your copy.

```
git clone https://github.com/contributor/mongoid-slug.git
cd mongoid-slug
git remote add upstream https://github.com/digitalplaywright/mongoid-slug.git
git remote add upstream https://github.com/mongoid/mongoid-slug.git
```

#### Create a Topic Branch
Expand Down Expand Up @@ -95,7 +95,7 @@ git push origin my-feature-branch -f
Update the [CHANGELOG](CHANGELOG.md) with the pull request number. A typical entry looks as follows.

```
* [#123](https://github.com/digitalplaywright/mongoid-slug/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
* [#123](https://github.com/mongoid/mongoid-slug/pull/123): Reticulated splines - [@contributor](https://github.com/contributor).
```

Amend your previous commit and force push the changes.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ Mongoid Slug

Mongoid Slug generates a URL slug or permalink based on one or more fields in a Mongoid model. It sits idly on top of [stringex](https://github.com/rsl/stringex), supporting non-Latin characters.

[![Build Status](https://secure.travis-ci.org/digitalplaywright/mongoid-slug.svg)](http://travis-ci.org/digitalplaywright/mongoid-slug)
[![Build Status](https://secure.travis-ci.org/mongoid/mongoid-slug.svg)](http://travis-ci.org/mongoid/mongoid-slug)
[![Gem Version](https://badge.fury.io/rb/mongoid-slug.svg)](http://badge.fury.io/rb/mongoid-slug)
[![Dependency Status](https://gemnasium.com/digitalplaywright/mongoid-slug.svg)](https://gemnasium.com/digitalplaywright/mongoid-slug)
[![Code Climate](https://codeclimate.com/github/digitalplaywright/mongoid-slug.svg)](https://codeclimate.com/github/digitalplaywright/mongoid-slug)
[![Dependency Status](https://gemnasium.com/mongoid/mongoid-slug.svg)](https://gemnasium.com/mongoid/mongoid-slug)
[![Code Climate](https://codeclimate.com/github/mongoid/mongoid-slug.svg)](https://codeclimate.com/github/mongoid/mongoid-slug)

### Installation

Expand Down Expand Up @@ -352,7 +352,7 @@ The following variants of Mongoid Paranoia are officially supported:
Contributing
------------

Mongoid-slug is work of [many of contributors](https://github.com/digitalplaywright/mongoid-slug/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/digitalplaywright/mongoid-slug/pulls), [propose features, ask questions and discuss issues](https://github.com/digitalplaywright/mongoid-slug/issues). See [CONTRIBUTING](CONTRIBUTING.md) for details.
Mongoid-slug is work of [many of contributors](https://github.com/mongoid/mongoid-slug/graphs/contributors). You're encouraged to submit [pull requests](https://github.com/mongoid/mongoid-slug/pulls), [propose features, ask questions and discuss issues](https://github.com/mongoid/mongoid-slug/issues). See [CONTRIBUTING](CONTRIBUTING.md) for details.

Copyright & License
-------------------
Expand Down
Loading

0 comments on commit 8fdafb2

Please sign in to comment.