Skip to content

Commit

Permalink
Modify gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Orban Botond committed Jun 23, 2020
1 parent cf0b753 commit e43fbce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
@@ -1,5 +1,7 @@
# mongoid-multitenancy [![Build Status](https://api.travis-ci.org/PerfectMemory/mongoid-multitenancy.png?branch=master)](https://travis-ci.org/PerfectMemory/mongoid-multitenancy) [![Coverage Status](https://coveralls.io/repos/github/PerfectMemory/mongoid-multitenancy/badge.svg?branch=master)](https://coveralls.io/github/PerfectMemory/mongoid-multitenancy?branch=master) [![Code Climate](https://codeclimate.com/github/PerfectMemory/mongoid-multitenancy.png)](https://codeclimate.com/github/PerfectMemory/mongoid-multitenancy)

This gem is the rebooted version of abandoned [mongoid multitenancy](https://github.com/PerfectMemory/mongoid-multitenancy)

mongoid-multitenancy adds the ability to scope [Mongoid](https://github.com/mongoid/mongoid) models to a tenant in a **shared database strategy**. Tenants are represented by a tenant model, such as `Client`. mongoid-multitenancy will help you set the current tenant on each request and ensures that all 'tenant models' are always properly scoped to the current tenant: when viewing, searching and creating.

It is directly inspired by the [acts_as_tenant gem](https://github.com/ErwinM/acts_as_tenant) for Active Record.
Expand Down
8 changes: 4 additions & 4 deletions mongoid-multitenancy.gemspec
Expand Up @@ -2,16 +2,16 @@
require File.expand_path('../lib/mongoid/multitenancy/version', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ['Aymeric Brisse']
gem.email = ['aymeric.brisse@mperfect-memory.com']
gem.authors = ['Botond Orban', 'Aymeric Brisse']
gem.email = ['botondorban@gmail.com']
gem.description = 'MultiTenancy with Mongoid'
gem.summary = 'Support of a multi-tenant database with Mongoid'
gem.homepage = 'https://github.com/PerfectMemory/mongoid-multitenancy'
gem.homepage = 'https://github.com/orbanbotond/mongoid-multitenancy'
gem.license = 'MIT'
gem.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = 'mongoid-multitenancy'
gem.name = 'mongoid-multitenancy-2'
gem.require_paths = ['lib']
gem.version = Mongoid::Multitenancy::VERSION

Expand Down

0 comments on commit e43fbce

Please sign in to comment.