activerecord-multi-tenant 1.0.1 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/.gitignore +2 -0
 - data/.travis.yml +8 -14
 - data/Appraisals +28 -20
 - data/CHANGELOG.md +29 -0
 - data/Gemfile.lock +85 -67
 - data/README.md +1 -1
 - data/activerecord-multi-tenant.gemspec +1 -1
 - data/gemfiles/.bundle/config +2 -0
 - data/gemfiles/active_record_5.2.gemfile +10 -2
 - data/gemfiles/active_record_5.2.gemfile.lock +104 -98
 - data/gemfiles/{active_record_5.1.gemfile → active_record_6.0.gemfile} +2 -2
 - data/gemfiles/active_record_6.0.gemfile.lock +198 -0
 - data/gemfiles/{rails_4.1.gemfile → active_record_6.1.gemfile} +2 -2
 - data/gemfiles/active_record_6.1.gemfile.lock +198 -0
 - data/gemfiles/rails_5.2.gemfile +10 -2
 - data/gemfiles/rails_5.2.gemfile.lock +109 -103
 - data/gemfiles/{rails_5.0.gemfile → rails_6.0.gemfile} +2 -2
 - data/gemfiles/rails_6.0.gemfile.lock +198 -0
 - data/gemfiles/{rails_5.1.gemfile → rails_6.1.gemfile} +2 -2
 - data/gemfiles/rails_6.1.gemfile.lock +198 -0
 - data/lib/activerecord-multi-tenant.rb +1 -0
 - data/lib/activerecord-multi-tenant/arel_visitors_depth_first.rb +200 -0
 - data/lib/activerecord-multi-tenant/controller_extensions.rb +2 -6
 - data/lib/activerecord-multi-tenant/copy_from_client.rb +2 -2
 - data/lib/activerecord-multi-tenant/migrations.rb +2 -2
 - data/lib/activerecord-multi-tenant/model_extensions.rb +13 -14
 - data/lib/activerecord-multi-tenant/multi_tenant.rb +9 -0
 - data/lib/activerecord-multi-tenant/persistence_extension.rb +13 -0
 - data/lib/activerecord-multi-tenant/query_rewriter.rb +60 -104
 - data/lib/activerecord-multi-tenant/sidekiq.rb +2 -1
 - data/lib/activerecord-multi-tenant/version.rb +1 -1
 - data/spec/activerecord-multi-tenant/controller_extensions_spec.rb +19 -24
 - data/spec/activerecord-multi-tenant/model_extensions_spec.rb +54 -104
 - data/spec/activerecord-multi-tenant/query_rewriter_spec.rb +8 -0
 - data/spec/activerecord-multi-tenant/record_finding_spec.rb +36 -0
 - data/spec/activerecord-multi-tenant/record_modifications_spec.rb +60 -3
 - data/spec/activerecord-multi-tenant/schema_dumper_tester.rb +0 -0
 - data/spec/activerecord-multi-tenant/sidekiq_spec.rb +4 -4
 - data/spec/schema.rb +1 -4
 - data/spec/spec_helper.rb +1 -6
 - metadata +17 -17
 - data/gemfiles/active_record_5.1.gemfile.lock +0 -173
 - data/gemfiles/rails_4.0.gemfile +0 -8
 - data/gemfiles/rails_4.0.gemfile.lock +0 -141
 - data/gemfiles/rails_4.1.gemfile.lock +0 -146
 - data/gemfiles/rails_4.2.gemfile +0 -8
 - data/gemfiles/rails_4.2.gemfile.lock +0 -169
 - data/gemfiles/rails_5.0.gemfile.lock +0 -175
 - data/gemfiles/rails_5.1.gemfile.lock +0 -175
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 79f35cfc24d053c192a889fcb387c764cf2580e350aa8c7db5ff4ea84d3c44df
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 04bb2200ae11168efe55090482686b00e457f267696d110fec5669ae1e2c70fd
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5b807cc7064efd06487fa8995f49cfbfdc7b15e5ccbc1e84510e0c742d6b14f8e7168145e6a520c8ea613735621b799dc6478ed8a749db68c7020ebe936b73b1
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4e8aca6b32a413a54ecc900dc6e36ee57f06faf88504d4c4b210153456b5090aa8a2a660555c1587d1c1a06ae0126db3002e0cba0d0d935f0688f7bc84c9c362
         
     | 
    
        data/.gitignore
    CHANGED
    
    
    
        data/.travis.yml
    CHANGED
    
    | 
         @@ -4,19 +4,17 @@ cache: bundler 
     | 
|
| 
       4 
4 
     | 
    
         
             
            language: ruby
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            rvm:
         
     | 
| 
       7 
     | 
    
         
            -
              - 2. 
     | 
| 
       8 
     | 
    
         
            -
              - 2. 
     | 
| 
       9 
     | 
    
         
            -
              - 2. 
     | 
| 
      
 7 
     | 
    
         
            +
              - 2.5.8
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 2.6.4
         
     | 
| 
      
 9 
     | 
    
         
            +
              - 2.7.1
         
     | 
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            gemfile:
         
     | 
| 
       12 
     | 
    
         
            -
              - gemfiles/rails_4.0.gemfile
         
     | 
| 
       13 
     | 
    
         
            -
              - gemfiles/rails_4.1.gemfile
         
     | 
| 
       14 
     | 
    
         
            -
              - gemfiles/rails_4.2.gemfile
         
     | 
| 
       15 
     | 
    
         
            -
              - gemfiles/rails_5.0.gemfile
         
     | 
| 
       16 
     | 
    
         
            -
              - gemfiles/rails_5.1.gemfile
         
     | 
| 
       17 
12 
     | 
    
         
             
              - gemfiles/rails_5.2.gemfile
         
     | 
| 
       18 
     | 
    
         
            -
              - gemfiles/ 
     | 
| 
      
 13 
     | 
    
         
            +
              - gemfiles/rails_6.0.gemfile
         
     | 
| 
      
 14 
     | 
    
         
            +
              - gemfiles/rails_6.1.gemfile
         
     | 
| 
       19 
15 
     | 
    
         
             
              - gemfiles/active_record_5.2.gemfile
         
     | 
| 
      
 16 
     | 
    
         
            +
              - gemfiles/active_record_6.0.gemfile
         
     | 
| 
      
 17 
     | 
    
         
            +
              - gemfiles/active_record_6.1.gemfile
         
     | 
| 
       20 
18 
     | 
    
         | 
| 
       21 
19 
     | 
    
         
             
            env:
         
     | 
| 
       22 
20 
     | 
    
         
             
              - PREPARED_STATEMENTS=0
         
     | 
| 
         @@ -24,17 +22,13 @@ env: 
     | 
|
| 
       24 
22 
     | 
    
         | 
| 
       25 
23 
     | 
    
         
             
            matrix:
         
     | 
| 
       26 
24 
     | 
    
         
             
              fast_finish: true
         
     | 
| 
       27 
     | 
    
         
            -
              exclude:
         
     | 
| 
       28 
     | 
    
         
            -
                - rvm: 2.4.1
         
     | 
| 
       29 
     | 
    
         
            -
                  gemfile: gemfiles/rails_4.0.gemfile
         
     | 
| 
       30 
     | 
    
         
            -
                - rvm: 2.4.1
         
     | 
| 
       31 
     | 
    
         
            -
                  gemfile: gemfiles/rails_4.1.gemfile
         
     | 
| 
       32 
25 
     | 
    
         | 
| 
       33 
26 
     | 
    
         
             
            services:
         
     | 
| 
       34 
27 
     | 
    
         
             
              - docker
         
     | 
| 
       35 
28 
     | 
    
         | 
| 
       36 
29 
     | 
    
         
             
            before_install:
         
     | 
| 
       37 
30 
     | 
    
         
             
              - docker-compose up -d
         
     | 
| 
      
 31 
     | 
    
         
            +
              - gem install bundler -v 2.1.4
         
     | 
| 
       38 
32 
     | 
    
         | 
| 
       39 
33 
     | 
    
         
             
            script:
         
     | 
| 
       40 
34 
     | 
    
         
             
              - bundle exec rake spec
         
     | 
    
        data/Appraisals
    CHANGED
    
    | 
         @@ -1,31 +1,39 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            appraise 'rails- 
     | 
| 
       2 
     | 
    
         
            -
              gem 'rails', ' 
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
             
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
     | 
    
         
            -
              gem ' 
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
              gem ' 
     | 
| 
      
 1 
     | 
    
         
            +
            appraise 'rails-5.2' do
         
     | 
| 
      
 2 
     | 
    
         
            +
              gem 'rails', '~> 5.2.0'
         
     | 
| 
      
 3 
     | 
    
         
            +
              gem 'i18n',  '~> 0.9.5'
         
     | 
| 
      
 4 
     | 
    
         
            +
              gem 'nokogiri', '~> 1.7.1'
         
     | 
| 
      
 5 
     | 
    
         
            +
              gem 'nio4r', '~> 2.3.1'
         
     | 
| 
      
 6 
     | 
    
         
            +
              gem 'sprockets', '~> 3.7.1'
         
     | 
| 
      
 7 
     | 
    
         
            +
              gem 'byebug', '~> 11.0'
         
     | 
| 
      
 8 
     | 
    
         
            +
              gem 'rake', '12.0.0'
         
     | 
| 
      
 9 
     | 
    
         
            +
              gem 'redis', '3.3.3'
         
     | 
| 
      
 10 
     | 
    
         
            +
              gem 'pry-byebug', '3.9.0'
         
     | 
| 
       11 
11 
     | 
    
         
             
            end
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            appraise 'rails- 
     | 
| 
       14 
     | 
    
         
            -
              gem 'rails', ' 
     | 
| 
      
 13 
     | 
    
         
            +
            appraise 'rails-6.0' do
         
     | 
| 
      
 14 
     | 
    
         
            +
              gem 'rails', '~> 6.0.3'
         
     | 
| 
       15 
15 
     | 
    
         
             
            end
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            appraise 'rails- 
     | 
| 
       18 
     | 
    
         
            -
              gem 'rails', ' 
     | 
| 
      
 17 
     | 
    
         
            +
            appraise 'rails-6.1' do
         
     | 
| 
      
 18 
     | 
    
         
            +
              gem 'rails', '~> 6.1.0'
         
     | 
| 
       19 
19 
     | 
    
         
             
            end
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
            appraise ' 
     | 
| 
       22 
     | 
    
         
            -
              gem ' 
     | 
| 
      
 21 
     | 
    
         
            +
            appraise 'active-record-5.2' do
         
     | 
| 
      
 22 
     | 
    
         
            +
              gem 'activerecord', '~> 5.2.0'
         
     | 
| 
      
 23 
     | 
    
         
            +
              gem 'i18n',  '~> 0.9.5'
         
     | 
| 
      
 24 
     | 
    
         
            +
              gem 'nokogiri', '~> 1.7.1'
         
     | 
| 
      
 25 
     | 
    
         
            +
              gem 'nio4r', '~> 2.3.1'
         
     | 
| 
      
 26 
     | 
    
         
            +
              gem 'sprockets', '~> 3.7.1'
         
     | 
| 
      
 27 
     | 
    
         
            +
              gem 'byebug', '~> 11.0'
         
     | 
| 
      
 28 
     | 
    
         
            +
              gem 'rake', '12.0.0'
         
     | 
| 
      
 29 
     | 
    
         
            +
              gem 'redis', '3.3.3'
         
     | 
| 
      
 30 
     | 
    
         
            +
              gem 'pry-byebug', '3.9.0'
         
     | 
| 
       23 
31 
     | 
    
         
             
            end
         
     | 
| 
       24 
32 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            appraise 'active-record- 
     | 
| 
       26 
     | 
    
         
            -
              gem 'activerecord', ' 
     | 
| 
      
 33 
     | 
    
         
            +
            appraise 'active-record-6.0' do
         
     | 
| 
      
 34 
     | 
    
         
            +
              gem 'activerecord', '~> 6.0.3'
         
     | 
| 
       27 
35 
     | 
    
         
             
            end
         
     | 
| 
       28 
36 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
            appraise 'active-record- 
     | 
| 
       30 
     | 
    
         
            -
              gem 'activerecord', ' 
     | 
| 
      
 37 
     | 
    
         
            +
            appraise 'active-record-6.1' do
         
     | 
| 
      
 38 
     | 
    
         
            +
              gem 'activerecord', '~> 6.1.0'
         
     | 
| 
       31 
39 
     | 
    
         
             
            end
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,34 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Changelog
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## 1.1.1      2021-01-15
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Add support for Rails 6.1 [#108](https://github.com/citusdata/activerecord-multi-tenant/pull/108)
         
     | 
| 
      
 6 
     | 
    
         
            +
            * Fix statement cache for has_many through relations [#103](https://github.com/citusdata/activerecord-multi-tenant/pull/103)
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ## 1.1.0      2020-08-06
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            * See commits for changes:
         
     | 
| 
      
 12 
     | 
    
         
            +
              https://github.com/citusdata/activerecord-multi-tenant/commits/v1.1.0
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ## 1.0.4      2019-10-30
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Fix bug introduced in 1.0.3 for delete when table is reference or not distributed
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            ## 1.0.3      2019-10-28
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            * Ensure that when using object.delete, we set the tenant
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            ## 1.0.2      2019-09-20
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            * Compatibility  with rails 6
         
     | 
| 
      
 28 
     | 
    
         
            +
            * Remove support for rails 4.0  and  4.1
         
     | 
| 
      
 29 
     | 
    
         
            +
            * Fix bug when multiple databases are used
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
       3 
32 
     | 
    
         
             
            ## 1.0.1      2019-08-27
         
     | 
| 
       4 
33 
     | 
    
         | 
| 
       5 
34 
     | 
    
         
             
            * Ensure current tenant is present before adding tenant id filter in DatabaseStatements
         
     | 
    
        data/Gemfile.lock
    CHANGED
    
    | 
         @@ -1,72 +1,85 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: .
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                activerecord-multi-tenant (1. 
     | 
| 
       5 
     | 
    
         
            -
                  rails (>= 4. 
     | 
| 
      
 4 
     | 
    
         
            +
                activerecord-multi-tenant (1.1.1)
         
     | 
| 
      
 5 
     | 
    
         
            +
                  rails (>= 4.2)
         
     | 
| 
       6 
6 
     | 
    
         
             
                  request_store (>= 1.0.5)
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            GEM
         
     | 
| 
       9 
9 
     | 
    
         
             
              remote: https://rubygems.org/
         
     | 
| 
       10 
10 
     | 
    
         
             
              specs:
         
     | 
| 
       11 
     | 
    
         
            -
                actioncable ( 
     | 
| 
       12 
     | 
    
         
            -
                  actionpack (=  
     | 
| 
      
 11 
     | 
    
         
            +
                actioncable (6.0.3.3)
         
     | 
| 
      
 12 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
       13 
13 
     | 
    
         
             
                  nio4r (~> 2.0)
         
     | 
| 
       14 
14 
     | 
    
         
             
                  websocket-driver (>= 0.6.1)
         
     | 
| 
       15 
     | 
    
         
            -
                 
     | 
| 
       16 
     | 
    
         
            -
                  actionpack (=  
     | 
| 
       17 
     | 
    
         
            -
                   
     | 
| 
       18 
     | 
    
         
            -
                   
     | 
| 
      
 15 
     | 
    
         
            +
                actionmailbox (6.0.3.3)
         
     | 
| 
      
 16 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 17 
     | 
    
         
            +
                  activejob (= 6.0.3.3)
         
     | 
| 
      
 18 
     | 
    
         
            +
                  activerecord (= 6.0.3.3)
         
     | 
| 
      
 19 
     | 
    
         
            +
                  activestorage (= 6.0.3.3)
         
     | 
| 
      
 20 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
      
 21 
     | 
    
         
            +
                  mail (>= 2.7.1)
         
     | 
| 
      
 22 
     | 
    
         
            +
                actionmailer (6.0.3.3)
         
     | 
| 
      
 23 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 24 
     | 
    
         
            +
                  actionview (= 6.0.3.3)
         
     | 
| 
      
 25 
     | 
    
         
            +
                  activejob (= 6.0.3.3)
         
     | 
| 
       19 
26 
     | 
    
         
             
                  mail (~> 2.5, >= 2.5.4)
         
     | 
| 
       20 
27 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       21 
     | 
    
         
            -
                actionpack ( 
     | 
| 
       22 
     | 
    
         
            -
                  actionview (=  
     | 
| 
       23 
     | 
    
         
            -
                  activesupport (=  
     | 
| 
       24 
     | 
    
         
            -
                  rack (~> 2.0)
         
     | 
| 
      
 28 
     | 
    
         
            +
                actionpack (6.0.3.3)
         
     | 
| 
      
 29 
     | 
    
         
            +
                  actionview (= 6.0.3.3)
         
     | 
| 
      
 30 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
      
 31 
     | 
    
         
            +
                  rack (~> 2.0, >= 2.0.8)
         
     | 
| 
       25 
32 
     | 
    
         
             
                  rack-test (>= 0.6.3)
         
     | 
| 
       26 
33 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       27 
     | 
    
         
            -
                  rails-html-sanitizer (~> 1.0, >= 1.0 
     | 
| 
       28 
     | 
    
         
            -
                 
     | 
| 
       29 
     | 
    
         
            -
                   
     | 
| 
      
 34 
     | 
    
         
            +
                  rails-html-sanitizer (~> 1.0, >= 1.2.0)
         
     | 
| 
      
 35 
     | 
    
         
            +
                actiontext (6.0.3.3)
         
     | 
| 
      
 36 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 37 
     | 
    
         
            +
                  activerecord (= 6.0.3.3)
         
     | 
| 
      
 38 
     | 
    
         
            +
                  activestorage (= 6.0.3.3)
         
     | 
| 
      
 39 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
      
 40 
     | 
    
         
            +
                  nokogiri (>= 1.8.5)
         
     | 
| 
      
 41 
     | 
    
         
            +
                actionview (6.0.3.3)
         
     | 
| 
      
 42 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
       30 
43 
     | 
    
         
             
                  builder (~> 3.1)
         
     | 
| 
       31 
44 
     | 
    
         
             
                  erubi (~> 1.4)
         
     | 
| 
       32 
45 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       33 
     | 
    
         
            -
                  rails-html-sanitizer (~> 1. 
     | 
| 
       34 
     | 
    
         
            -
                activejob ( 
     | 
| 
       35 
     | 
    
         
            -
                  activesupport (=  
     | 
| 
      
 46 
     | 
    
         
            +
                  rails-html-sanitizer (~> 1.1, >= 1.2.0)
         
     | 
| 
      
 47 
     | 
    
         
            +
                activejob (6.0.3.3)
         
     | 
| 
      
 48 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
       36 
49 
     | 
    
         
             
                  globalid (>= 0.3.6)
         
     | 
| 
       37 
     | 
    
         
            -
                activemodel ( 
     | 
| 
       38 
     | 
    
         
            -
                  activesupport (=  
     | 
| 
       39 
     | 
    
         
            -
                activerecord ( 
     | 
| 
       40 
     | 
    
         
            -
                  activemodel (=  
     | 
| 
       41 
     | 
    
         
            -
                  activesupport (=  
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
                   
     | 
| 
       45 
     | 
    
         
            -
                  activerecord (=  
     | 
| 
      
 50 
     | 
    
         
            +
                activemodel (6.0.3.3)
         
     | 
| 
      
 51 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
      
 52 
     | 
    
         
            +
                activerecord (6.0.3.3)
         
     | 
| 
      
 53 
     | 
    
         
            +
                  activemodel (= 6.0.3.3)
         
     | 
| 
      
 54 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
      
 55 
     | 
    
         
            +
                activestorage (6.0.3.3)
         
     | 
| 
      
 56 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 57 
     | 
    
         
            +
                  activejob (= 6.0.3.3)
         
     | 
| 
      
 58 
     | 
    
         
            +
                  activerecord (= 6.0.3.3)
         
     | 
| 
       46 
59 
     | 
    
         
             
                  marcel (~> 0.3.1)
         
     | 
| 
       47 
     | 
    
         
            -
                activesupport ( 
     | 
| 
      
 60 
     | 
    
         
            +
                activesupport (6.0.3.3)
         
     | 
| 
       48 
61 
     | 
    
         
             
                  concurrent-ruby (~> 1.0, >= 1.0.2)
         
     | 
| 
       49 
62 
     | 
    
         
             
                  i18n (>= 0.7, < 2)
         
     | 
| 
       50 
63 
     | 
    
         
             
                  minitest (~> 5.1)
         
     | 
| 
       51 
64 
     | 
    
         
             
                  tzinfo (~> 1.1)
         
     | 
| 
      
 65 
     | 
    
         
            +
                  zeitwerk (~> 2.2, >= 2.2.2)
         
     | 
| 
       52 
66 
     | 
    
         
             
                appraisal (2.2.0)
         
     | 
| 
       53 
67 
     | 
    
         
             
                  bundler
         
     | 
| 
       54 
68 
     | 
    
         
             
                  rake
         
     | 
| 
       55 
69 
     | 
    
         
             
                  thor (>= 0.14.0)
         
     | 
| 
       56 
     | 
    
         
            -
                 
     | 
| 
       57 
     | 
    
         
            -
                builder (3.2.3)
         
     | 
| 
      
 70 
     | 
    
         
            +
                builder (3.2.4)
         
     | 
| 
       58 
71 
     | 
    
         
             
                byebug (11.0.1)
         
     | 
| 
       59 
72 
     | 
    
         
             
                coderay (1.1.2)
         
     | 
| 
       60 
     | 
    
         
            -
                concurrent-ruby (1.1. 
     | 
| 
      
 73 
     | 
    
         
            +
                concurrent-ruby (1.1.7)
         
     | 
| 
       61 
74 
     | 
    
         
             
                connection_pool (2.2.2)
         
     | 
| 
       62 
     | 
    
         
            -
                crass (1.0. 
     | 
| 
      
 75 
     | 
    
         
            +
                crass (1.0.6)
         
     | 
| 
       63 
76 
     | 
    
         
             
                diff-lcs (1.3)
         
     | 
| 
       64 
     | 
    
         
            -
                erubi (1. 
     | 
| 
      
 77 
     | 
    
         
            +
                erubi (1.9.0)
         
     | 
| 
       65 
78 
     | 
    
         
             
                globalid (0.4.2)
         
     | 
| 
       66 
79 
     | 
    
         
             
                  activesupport (>= 4.2.0)
         
     | 
| 
       67 
     | 
    
         
            -
                i18n (1. 
     | 
| 
      
 80 
     | 
    
         
            +
                i18n (1.8.5)
         
     | 
| 
       68 
81 
     | 
    
         
             
                  concurrent-ruby (~> 1.0)
         
     | 
| 
       69 
     | 
    
         
            -
                loofah (2. 
     | 
| 
      
 82 
     | 
    
         
            +
                loofah (2.7.0)
         
     | 
| 
       70 
83 
     | 
    
         
             
                  crass (~> 1.0.2)
         
     | 
| 
       71 
84 
     | 
    
         
             
                  nokogiri (>= 1.5.9)
         
     | 
| 
       72 
85 
     | 
    
         
             
                mail (2.7.1)
         
     | 
| 
         @@ -74,13 +87,14 @@ GEM 
     | 
|
| 
       74 
87 
     | 
    
         
             
                marcel (0.3.3)
         
     | 
| 
       75 
88 
     | 
    
         
             
                  mimemagic (~> 0.3.2)
         
     | 
| 
       76 
89 
     | 
    
         
             
                method_source (0.9.2)
         
     | 
| 
       77 
     | 
    
         
            -
                mimemagic (0.3. 
     | 
| 
      
 90 
     | 
    
         
            +
                mimemagic (0.3.5)
         
     | 
| 
       78 
91 
     | 
    
         
             
                mini_mime (1.0.2)
         
     | 
| 
       79 
     | 
    
         
            -
                mini_portile2 (2. 
     | 
| 
       80 
     | 
    
         
            -
                minitest (5. 
     | 
| 
       81 
     | 
    
         
            -
                nio4r (2.4 
     | 
| 
       82 
     | 
    
         
            -
                nokogiri (1. 
     | 
| 
       83 
     | 
    
         
            -
                  mini_portile2 (~> 2. 
     | 
| 
      
 92 
     | 
    
         
            +
                mini_portile2 (2.5.0)
         
     | 
| 
      
 93 
     | 
    
         
            +
                minitest (5.14.2)
         
     | 
| 
      
 94 
     | 
    
         
            +
                nio4r (2.5.4)
         
     | 
| 
      
 95 
     | 
    
         
            +
                nokogiri (1.11.1)
         
     | 
| 
      
 96 
     | 
    
         
            +
                  mini_portile2 (~> 2.5.0)
         
     | 
| 
      
 97 
     | 
    
         
            +
                  racc (~> 1.4)
         
     | 
| 
       84 
98 
     | 
    
         
             
                pg (1.1.4)
         
     | 
| 
       85 
99 
     | 
    
         
             
                pry (0.12.2)
         
     | 
| 
       86 
100 
     | 
    
         
             
                  coderay (~> 1.1.0)
         
     | 
| 
         @@ -88,38 +102,41 @@ GEM 
     | 
|
| 
       88 
102 
     | 
    
         
             
                pry-byebug (3.7.0)
         
     | 
| 
       89 
103 
     | 
    
         
             
                  byebug (~> 11.0)
         
     | 
| 
       90 
104 
     | 
    
         
             
                  pry (~> 0.10)
         
     | 
| 
       91 
     | 
    
         
            -
                 
     | 
| 
      
 105 
     | 
    
         
            +
                racc (1.5.2)
         
     | 
| 
      
 106 
     | 
    
         
            +
                rack (2.2.3)
         
     | 
| 
       92 
107 
     | 
    
         
             
                rack-protection (2.0.5)
         
     | 
| 
       93 
108 
     | 
    
         
             
                  rack
         
     | 
| 
       94 
109 
     | 
    
         
             
                rack-test (1.1.0)
         
     | 
| 
       95 
110 
     | 
    
         
             
                  rack (>= 1.0, < 3)
         
     | 
| 
       96 
     | 
    
         
            -
                rails ( 
     | 
| 
       97 
     | 
    
         
            -
                  actioncable (=  
     | 
| 
       98 
     | 
    
         
            -
                   
     | 
| 
       99 
     | 
    
         
            -
                   
     | 
| 
       100 
     | 
    
         
            -
                   
     | 
| 
       101 
     | 
    
         
            -
                   
     | 
| 
       102 
     | 
    
         
            -
                   
     | 
| 
       103 
     | 
    
         
            -
                   
     | 
| 
       104 
     | 
    
         
            -
                   
     | 
| 
       105 
     | 
    
         
            -
                   
     | 
| 
      
 111 
     | 
    
         
            +
                rails (6.0.3.3)
         
     | 
| 
      
 112 
     | 
    
         
            +
                  actioncable (= 6.0.3.3)
         
     | 
| 
      
 113 
     | 
    
         
            +
                  actionmailbox (= 6.0.3.3)
         
     | 
| 
      
 114 
     | 
    
         
            +
                  actionmailer (= 6.0.3.3)
         
     | 
| 
      
 115 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 116 
     | 
    
         
            +
                  actiontext (= 6.0.3.3)
         
     | 
| 
      
 117 
     | 
    
         
            +
                  actionview (= 6.0.3.3)
         
     | 
| 
      
 118 
     | 
    
         
            +
                  activejob (= 6.0.3.3)
         
     | 
| 
      
 119 
     | 
    
         
            +
                  activemodel (= 6.0.3.3)
         
     | 
| 
      
 120 
     | 
    
         
            +
                  activerecord (= 6.0.3.3)
         
     | 
| 
      
 121 
     | 
    
         
            +
                  activestorage (= 6.0.3.3)
         
     | 
| 
      
 122 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
       106 
123 
     | 
    
         
             
                  bundler (>= 1.3.0)
         
     | 
| 
       107 
     | 
    
         
            -
                  railties (=  
     | 
| 
      
 124 
     | 
    
         
            +
                  railties (= 6.0.3.3)
         
     | 
| 
       108 
125 
     | 
    
         
             
                  sprockets-rails (>= 2.0.0)
         
     | 
| 
       109 
126 
     | 
    
         
             
                rails-dom-testing (2.0.3)
         
     | 
| 
       110 
127 
     | 
    
         
             
                  activesupport (>= 4.2.0)
         
     | 
| 
       111 
128 
     | 
    
         
             
                  nokogiri (>= 1.6)
         
     | 
| 
       112 
     | 
    
         
            -
                rails-html-sanitizer (1.0 
     | 
| 
       113 
     | 
    
         
            -
                  loofah (~> 2. 
     | 
| 
       114 
     | 
    
         
            -
                railties ( 
     | 
| 
       115 
     | 
    
         
            -
                  actionpack (=  
     | 
| 
       116 
     | 
    
         
            -
                  activesupport (=  
     | 
| 
      
 129 
     | 
    
         
            +
                rails-html-sanitizer (1.3.0)
         
     | 
| 
      
 130 
     | 
    
         
            +
                  loofah (~> 2.3)
         
     | 
| 
      
 131 
     | 
    
         
            +
                railties (6.0.3.3)
         
     | 
| 
      
 132 
     | 
    
         
            +
                  actionpack (= 6.0.3.3)
         
     | 
| 
      
 133 
     | 
    
         
            +
                  activesupport (= 6.0.3.3)
         
     | 
| 
       117 
134 
     | 
    
         
             
                  method_source
         
     | 
| 
       118 
135 
     | 
    
         
             
                  rake (>= 0.8.7)
         
     | 
| 
       119 
     | 
    
         
            -
                  thor (>= 0. 
     | 
| 
       120 
     | 
    
         
            -
                rake ( 
     | 
| 
      
 136 
     | 
    
         
            +
                  thor (>= 0.20.3, < 2.0)
         
     | 
| 
      
 137 
     | 
    
         
            +
                rake (13.0.1)
         
     | 
| 
       121 
138 
     | 
    
         
             
                redis (4.1.2)
         
     | 
| 
       122 
     | 
    
         
            -
                request_store (1. 
     | 
| 
      
 139 
     | 
    
         
            +
                request_store (1.5.0)
         
     | 
| 
       123 
140 
     | 
    
         
             
                  rack (>= 1.4)
         
     | 
| 
       124 
141 
     | 
    
         
             
                rspec (3.8.0)
         
     | 
| 
       125 
142 
     | 
    
         
             
                  rspec-core (~> 3.8.0)
         
     | 
| 
         @@ -147,20 +164,21 @@ GEM 
     | 
|
| 
       147 
164 
     | 
    
         
             
                  rack (>= 1.5.0)
         
     | 
| 
       148 
165 
     | 
    
         
             
                  rack-protection (>= 1.5.0)
         
     | 
| 
       149 
166 
     | 
    
         
             
                  redis (>= 3.3.5, < 5)
         
     | 
| 
       150 
     | 
    
         
            -
                sprockets ( 
     | 
| 
      
 167 
     | 
    
         
            +
                sprockets (4.0.2)
         
     | 
| 
       151 
168 
     | 
    
         
             
                  concurrent-ruby (~> 1.0)
         
     | 
| 
       152 
169 
     | 
    
         
             
                  rack (> 1, < 3)
         
     | 
| 
       153 
     | 
    
         
            -
                sprockets-rails (3.2. 
     | 
| 
      
 170 
     | 
    
         
            +
                sprockets-rails (3.2.2)
         
     | 
| 
       154 
171 
     | 
    
         
             
                  actionpack (>= 4.0)
         
     | 
| 
       155 
172 
     | 
    
         
             
                  activesupport (>= 4.0)
         
     | 
| 
       156 
173 
     | 
    
         
             
                  sprockets (>= 3.0.0)
         
     | 
| 
       157 
174 
     | 
    
         
             
                thor (0.20.3)
         
     | 
| 
       158 
175 
     | 
    
         
             
                thread_safe (0.3.6)
         
     | 
| 
       159 
     | 
    
         
            -
                tzinfo (1.2. 
     | 
| 
      
 176 
     | 
    
         
            +
                tzinfo (1.2.7)
         
     | 
| 
       160 
177 
     | 
    
         
             
                  thread_safe (~> 0.1)
         
     | 
| 
       161 
     | 
    
         
            -
                websocket-driver (0.7. 
     | 
| 
      
 178 
     | 
    
         
            +
                websocket-driver (0.7.3)
         
     | 
| 
       162 
179 
     | 
    
         
             
                  websocket-extensions (>= 0.1.0)
         
     | 
| 
       163 
     | 
    
         
            -
                websocket-extensions (0.1. 
     | 
| 
      
 180 
     | 
    
         
            +
                websocket-extensions (0.1.5)
         
     | 
| 
      
 181 
     | 
    
         
            +
                zeitwerk (2.4.0)
         
     | 
| 
       164 
182 
     | 
    
         | 
| 
       165 
183 
     | 
    
         
             
            PLATFORMS
         
     | 
| 
       166 
184 
     | 
    
         
             
              ruby
         
     | 
| 
         @@ -178,4 +196,4 @@ DEPENDENCIES 
     | 
|
| 
       178 
196 
     | 
    
         
             
              thor
         
     | 
| 
       179 
197 
     | 
    
         | 
| 
       180 
198 
     | 
    
         
             
            BUNDLED WITH
         
     | 
| 
       181 
     | 
    
         
            -
               1. 
     | 
| 
      
 199 
     | 
    
         
            +
               2.1.4
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -16,7 +16,7 @@ gem 'activerecord-multi-tenant' 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            ## Supported Rails versions
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            All Ruby on Rails versions starting with 4. 
     | 
| 
      
 19 
     | 
    
         
            +
            All Ruby on Rails versions starting with 4.2 or newer (up to 6.0) are supported.
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
            This gem only supports ActiveRecord (the Rails default ORM), and not alternative ORMs like Sequel.
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
         @@ -16,7 +16,7 @@ Gem::Specification.new do |s| 
     | 
|
| 
       16 
16 
     | 
    
         
             
              s.license       = 'MIT'
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
              s.add_runtime_dependency('request_store', '>= 1.0.5')
         
     | 
| 
       19 
     | 
    
         
            -
              s.add_dependency('rails','>= 4. 
     | 
| 
      
 19 
     | 
    
         
            +
              s.add_dependency('rails','>= 4.2')
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
              s.add_development_dependency 'rspec', '>= 3.0'
         
     | 
| 
       22 
22 
     | 
    
         
             
              s.add_development_dependency 'rspec-rails'
         
     | 
| 
         @@ -3,6 +3,14 @@ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            source "https://rubygems.org"
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            gem "appraisal"
         
     | 
| 
       6 
     | 
    
         
            -
            gem "activerecord", "5.2.0"
         
     | 
| 
      
 6 
     | 
    
         
            +
            gem "activerecord", "~> 5.2.0"
         
     | 
| 
      
 7 
     | 
    
         
            +
            gem "i18n", "~> 0.9.5"
         
     | 
| 
      
 8 
     | 
    
         
            +
            gem "nokogiri", "~> 1.7.1"
         
     | 
| 
      
 9 
     | 
    
         
            +
            gem "nio4r", "~> 2.3.1"
         
     | 
| 
      
 10 
     | 
    
         
            +
            gem "sprockets", "~> 3.7.1"
         
     | 
| 
      
 11 
     | 
    
         
            +
            gem "byebug", "~> 11.0"
         
     | 
| 
      
 12 
     | 
    
         
            +
            gem "rake", "12.0.0"
         
     | 
| 
      
 13 
     | 
    
         
            +
            gem "redis", "3.3.3"
         
     | 
| 
      
 14 
     | 
    
         
            +
            gem "pry-byebug", "3.9.0"
         
     | 
| 
       7 
15 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            gemspec : 
     | 
| 
      
 16 
     | 
    
         
            +
            gemspec path: "../"
         
     | 
| 
         @@ -1,50 +1,50 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            PATH
         
     | 
| 
       2 
2 
     | 
    
         
             
              remote: ..
         
     | 
| 
       3 
3 
     | 
    
         
             
              specs:
         
     | 
| 
       4 
     | 
    
         
            -
                activerecord-multi-tenant (1. 
     | 
| 
       5 
     | 
    
         
            -
                  rails (>= 4. 
     | 
| 
      
 4 
     | 
    
         
            +
                activerecord-multi-tenant (1.1.1)
         
     | 
| 
      
 5 
     | 
    
         
            +
                  rails (>= 4.2)
         
     | 
| 
       6 
6 
     | 
    
         
             
                  request_store (>= 1.0.5)
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            GEM
         
     | 
| 
       9 
9 
     | 
    
         
             
              remote: https://rubygems.org/
         
     | 
| 
       10 
10 
     | 
    
         
             
              specs:
         
     | 
| 
       11 
     | 
    
         
            -
                actioncable (5.2. 
     | 
| 
       12 
     | 
    
         
            -
                  actionpack (= 5.2. 
     | 
| 
      
 11 
     | 
    
         
            +
                actioncable (5.2.3)
         
     | 
| 
      
 12 
     | 
    
         
            +
                  actionpack (= 5.2.3)
         
     | 
| 
       13 
13 
     | 
    
         
             
                  nio4r (~> 2.0)
         
     | 
| 
       14 
14 
     | 
    
         
             
                  websocket-driver (>= 0.6.1)
         
     | 
| 
       15 
     | 
    
         
            -
                actionmailer (5.2. 
     | 
| 
       16 
     | 
    
         
            -
                  actionpack (= 5.2. 
     | 
| 
       17 
     | 
    
         
            -
                  actionview (= 5.2. 
     | 
| 
       18 
     | 
    
         
            -
                  activejob (= 5.2. 
     | 
| 
      
 15 
     | 
    
         
            +
                actionmailer (5.2.3)
         
     | 
| 
      
 16 
     | 
    
         
            +
                  actionpack (= 5.2.3)
         
     | 
| 
      
 17 
     | 
    
         
            +
                  actionview (= 5.2.3)
         
     | 
| 
      
 18 
     | 
    
         
            +
                  activejob (= 5.2.3)
         
     | 
| 
       19 
19 
     | 
    
         
             
                  mail (~> 2.5, >= 2.5.4)
         
     | 
| 
       20 
20 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       21 
     | 
    
         
            -
                actionpack (5.2. 
     | 
| 
       22 
     | 
    
         
            -
                  actionview (= 5.2. 
     | 
| 
       23 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 21 
     | 
    
         
            +
                actionpack (5.2.3)
         
     | 
| 
      
 22 
     | 
    
         
            +
                  actionview (= 5.2.3)
         
     | 
| 
      
 23 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       24 
24 
     | 
    
         
             
                  rack (~> 2.0)
         
     | 
| 
       25 
25 
     | 
    
         
             
                  rack-test (>= 0.6.3)
         
     | 
| 
       26 
26 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       27 
27 
     | 
    
         
             
                  rails-html-sanitizer (~> 1.0, >= 1.0.2)
         
     | 
| 
       28 
     | 
    
         
            -
                actionview (5.2. 
     | 
| 
       29 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 28 
     | 
    
         
            +
                actionview (5.2.3)
         
     | 
| 
      
 29 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       30 
30 
     | 
    
         
             
                  builder (~> 3.1)
         
     | 
| 
       31 
31 
     | 
    
         
             
                  erubi (~> 1.4)
         
     | 
| 
       32 
32 
     | 
    
         
             
                  rails-dom-testing (~> 2.0)
         
     | 
| 
       33 
33 
     | 
    
         
             
                  rails-html-sanitizer (~> 1.0, >= 1.0.3)
         
     | 
| 
       34 
     | 
    
         
            -
                activejob (5.2. 
     | 
| 
       35 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 34 
     | 
    
         
            +
                activejob (5.2.3)
         
     | 
| 
      
 35 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       36 
36 
     | 
    
         
             
                  globalid (>= 0.3.6)
         
     | 
| 
       37 
     | 
    
         
            -
                activemodel (5.2. 
     | 
| 
       38 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
       39 
     | 
    
         
            -
                activerecord (5.2. 
     | 
| 
       40 
     | 
    
         
            -
                  activemodel (= 5.2. 
     | 
| 
       41 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 37 
     | 
    
         
            +
                activemodel (5.2.3)
         
     | 
| 
      
 38 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
      
 39 
     | 
    
         
            +
                activerecord (5.2.3)
         
     | 
| 
      
 40 
     | 
    
         
            +
                  activemodel (= 5.2.3)
         
     | 
| 
      
 41 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       42 
42 
     | 
    
         
             
                  arel (>= 9.0)
         
     | 
| 
       43 
     | 
    
         
            -
                activestorage (5.2. 
     | 
| 
       44 
     | 
    
         
            -
                  actionpack (= 5.2. 
     | 
| 
       45 
     | 
    
         
            -
                  activerecord (= 5.2. 
     | 
| 
      
 43 
     | 
    
         
            +
                activestorage (5.2.3)
         
     | 
| 
      
 44 
     | 
    
         
            +
                  actionpack (= 5.2.3)
         
     | 
| 
      
 45 
     | 
    
         
            +
                  activerecord (= 5.2.3)
         
     | 
| 
       46 
46 
     | 
    
         
             
                  marcel (~> 0.3.1)
         
     | 
| 
       47 
     | 
    
         
            -
                activesupport (5.2. 
     | 
| 
      
 47 
     | 
    
         
            +
                activesupport (5.2.3)
         
     | 
| 
       48 
48 
     | 
    
         
             
                  concurrent-ruby (~> 1.0, >= 1.0.2)
         
     | 
| 
       49 
49 
     | 
    
         
             
                  i18n (>= 0.7, < 2)
         
     | 
| 
       50 
50 
     | 
    
         
             
                  minitest (~> 5.1)
         
     | 
| 
         @@ -54,129 +54,135 @@ GEM 
     | 
|
| 
       54 
54 
     | 
    
         
             
                  rake
         
     | 
| 
       55 
55 
     | 
    
         
             
                  thor (>= 0.14.0)
         
     | 
| 
       56 
56 
     | 
    
         
             
                arel (9.0.0)
         
     | 
| 
       57 
     | 
    
         
            -
                builder (3.2. 
     | 
| 
       58 
     | 
    
         
            -
                byebug ( 
     | 
| 
      
 57 
     | 
    
         
            +
                builder (3.2.4)
         
     | 
| 
      
 58 
     | 
    
         
            +
                byebug (11.1.3)
         
     | 
| 
       59 
59 
     | 
    
         
             
                coderay (1.1.2)
         
     | 
| 
       60 
     | 
    
         
            -
                concurrent-ruby (1. 
     | 
| 
      
 60 
     | 
    
         
            +
                concurrent-ruby (1.1.6)
         
     | 
| 
       61 
61 
     | 
    
         
             
                connection_pool (2.2.2)
         
     | 
| 
       62 
     | 
    
         
            -
                crass (1.0. 
     | 
| 
      
 62 
     | 
    
         
            +
                crass (1.0.6)
         
     | 
| 
       63 
63 
     | 
    
         
             
                diff-lcs (1.3)
         
     | 
| 
       64 
     | 
    
         
            -
                erubi (1. 
     | 
| 
      
 64 
     | 
    
         
            +
                erubi (1.9.0)
         
     | 
| 
       65 
65 
     | 
    
         
             
                globalid (0.4.2)
         
     | 
| 
       66 
66 
     | 
    
         
             
                  activesupport (>= 4.2.0)
         
     | 
| 
       67 
     | 
    
         
            -
                i18n ( 
     | 
| 
      
 67 
     | 
    
         
            +
                i18n (0.9.5)
         
     | 
| 
       68 
68 
     | 
    
         
             
                  concurrent-ruby (~> 1.0)
         
     | 
| 
       69 
     | 
    
         
            -
                loofah (2. 
     | 
| 
      
 69 
     | 
    
         
            +
                loofah (2.5.0)
         
     | 
| 
       70 
70 
     | 
    
         
             
                  crass (~> 1.0.2)
         
     | 
| 
       71 
71 
     | 
    
         
             
                  nokogiri (>= 1.5.9)
         
     | 
| 
       72 
72 
     | 
    
         
             
                mail (2.7.1)
         
     | 
| 
       73 
73 
     | 
    
         
             
                  mini_mime (>= 0.1.1)
         
     | 
| 
       74 
74 
     | 
    
         
             
                marcel (0.3.3)
         
     | 
| 
       75 
75 
     | 
    
         
             
                  mimemagic (~> 0.3.2)
         
     | 
| 
       76 
     | 
    
         
            -
                method_source (0. 
     | 
| 
       77 
     | 
    
         
            -
                mimemagic (0.3. 
     | 
| 
       78 
     | 
    
         
            -
                mini_mime (1.0. 
     | 
| 
       79 
     | 
    
         
            -
                mini_portile2 (2. 
     | 
| 
       80 
     | 
    
         
            -
                minitest (5. 
     | 
| 
      
 76 
     | 
    
         
            +
                method_source (1.0.0)
         
     | 
| 
      
 77 
     | 
    
         
            +
                mimemagic (0.3.5)
         
     | 
| 
      
 78 
     | 
    
         
            +
                mini_mime (1.0.2)
         
     | 
| 
      
 79 
     | 
    
         
            +
                mini_portile2 (2.1.0)
         
     | 
| 
      
 80 
     | 
    
         
            +
                minitest (5.14.1)
         
     | 
| 
       81 
81 
     | 
    
         
             
                nio4r (2.3.1)
         
     | 
| 
       82 
     | 
    
         
            -
                nokogiri (1. 
     | 
| 
       83 
     | 
    
         
            -
                  mini_portile2 (~> 2. 
     | 
| 
       84 
     | 
    
         
            -
                pg (1. 
     | 
| 
       85 
     | 
    
         
            -
                pry (0. 
     | 
| 
       86 
     | 
    
         
            -
                  coderay (~> 1.1 
     | 
| 
       87 
     | 
    
         
            -
                  method_source (~>  
     | 
| 
       88 
     | 
    
         
            -
                pry-byebug (3. 
     | 
| 
       89 
     | 
    
         
            -
                  byebug (~>  
     | 
| 
       90 
     | 
    
         
            -
                  pry (~> 0. 
     | 
| 
       91 
     | 
    
         
            -
                rack (2. 
     | 
| 
       92 
     | 
    
         
            -
                rack-protection (2.0. 
     | 
| 
      
 82 
     | 
    
         
            +
                nokogiri (1.7.2)
         
     | 
| 
      
 83 
     | 
    
         
            +
                  mini_portile2 (~> 2.1.0)
         
     | 
| 
      
 84 
     | 
    
         
            +
                pg (1.2.3)
         
     | 
| 
      
 85 
     | 
    
         
            +
                pry (0.13.1)
         
     | 
| 
      
 86 
     | 
    
         
            +
                  coderay (~> 1.1)
         
     | 
| 
      
 87 
     | 
    
         
            +
                  method_source (~> 1.0)
         
     | 
| 
      
 88 
     | 
    
         
            +
                pry-byebug (3.9.0)
         
     | 
| 
      
 89 
     | 
    
         
            +
                  byebug (~> 11.0)
         
     | 
| 
      
 90 
     | 
    
         
            +
                  pry (~> 0.13.0)
         
     | 
| 
      
 91 
     | 
    
         
            +
                rack (2.2.2)
         
     | 
| 
      
 92 
     | 
    
         
            +
                rack-protection (2.0.8.1)
         
     | 
| 
       93 
93 
     | 
    
         
             
                  rack
         
     | 
| 
       94 
     | 
    
         
            -
                rack-test (1. 
     | 
| 
      
 94 
     | 
    
         
            +
                rack-test (1.1.0)
         
     | 
| 
       95 
95 
     | 
    
         
             
                  rack (>= 1.0, < 3)
         
     | 
| 
       96 
     | 
    
         
            -
                rails (5.2. 
     | 
| 
       97 
     | 
    
         
            -
                  actioncable (= 5.2. 
     | 
| 
       98 
     | 
    
         
            -
                  actionmailer (= 5.2. 
     | 
| 
       99 
     | 
    
         
            -
                  actionpack (= 5.2. 
     | 
| 
       100 
     | 
    
         
            -
                  actionview (= 5.2. 
     | 
| 
       101 
     | 
    
         
            -
                  activejob (= 5.2. 
     | 
| 
       102 
     | 
    
         
            -
                  activemodel (= 5.2. 
     | 
| 
       103 
     | 
    
         
            -
                  activerecord (= 5.2. 
     | 
| 
       104 
     | 
    
         
            -
                  activestorage (= 5.2. 
     | 
| 
       105 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 96 
     | 
    
         
            +
                rails (5.2.3)
         
     | 
| 
      
 97 
     | 
    
         
            +
                  actioncable (= 5.2.3)
         
     | 
| 
      
 98 
     | 
    
         
            +
                  actionmailer (= 5.2.3)
         
     | 
| 
      
 99 
     | 
    
         
            +
                  actionpack (= 5.2.3)
         
     | 
| 
      
 100 
     | 
    
         
            +
                  actionview (= 5.2.3)
         
     | 
| 
      
 101 
     | 
    
         
            +
                  activejob (= 5.2.3)
         
     | 
| 
      
 102 
     | 
    
         
            +
                  activemodel (= 5.2.3)
         
     | 
| 
      
 103 
     | 
    
         
            +
                  activerecord (= 5.2.3)
         
     | 
| 
      
 104 
     | 
    
         
            +
                  activestorage (= 5.2.3)
         
     | 
| 
      
 105 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       106 
106 
     | 
    
         
             
                  bundler (>= 1.3.0)
         
     | 
| 
       107 
     | 
    
         
            -
                  railties (= 5.2. 
     | 
| 
      
 107 
     | 
    
         
            +
                  railties (= 5.2.3)
         
     | 
| 
       108 
108 
     | 
    
         
             
                  sprockets-rails (>= 2.0.0)
         
     | 
| 
       109 
109 
     | 
    
         
             
                rails-dom-testing (2.0.3)
         
     | 
| 
       110 
110 
     | 
    
         
             
                  activesupport (>= 4.2.0)
         
     | 
| 
       111 
111 
     | 
    
         
             
                  nokogiri (>= 1.6)
         
     | 
| 
       112 
     | 
    
         
            -
                rails-html-sanitizer (1.0 
     | 
| 
       113 
     | 
    
         
            -
                  loofah (~> 2. 
     | 
| 
       114 
     | 
    
         
            -
                railties (5.2. 
     | 
| 
       115 
     | 
    
         
            -
                  actionpack (= 5.2. 
     | 
| 
       116 
     | 
    
         
            -
                  activesupport (= 5.2. 
     | 
| 
      
 112 
     | 
    
         
            +
                rails-html-sanitizer (1.3.0)
         
     | 
| 
      
 113 
     | 
    
         
            +
                  loofah (~> 2.3)
         
     | 
| 
      
 114 
     | 
    
         
            +
                railties (5.2.3)
         
     | 
| 
      
 115 
     | 
    
         
            +
                  actionpack (= 5.2.3)
         
     | 
| 
      
 116 
     | 
    
         
            +
                  activesupport (= 5.2.3)
         
     | 
| 
       117 
117 
     | 
    
         
             
                  method_source
         
     | 
| 
       118 
118 
     | 
    
         
             
                  rake (>= 0.8.7)
         
     | 
| 
       119 
     | 
    
         
            -
                  thor (>= 0. 
     | 
| 
       120 
     | 
    
         
            -
                rake (12. 
     | 
| 
       121 
     | 
    
         
            -
                redis ( 
     | 
| 
       122 
     | 
    
         
            -
                request_store (1. 
     | 
| 
      
 119 
     | 
    
         
            +
                  thor (>= 0.19.0, < 2.0)
         
     | 
| 
      
 120 
     | 
    
         
            +
                rake (12.0.0)
         
     | 
| 
      
 121 
     | 
    
         
            +
                redis (3.3.3)
         
     | 
| 
      
 122 
     | 
    
         
            +
                request_store (1.5.0)
         
     | 
| 
       123 
123 
     | 
    
         
             
                  rack (>= 1.4)
         
     | 
| 
       124 
     | 
    
         
            -
                rspec (3. 
     | 
| 
       125 
     | 
    
         
            -
                  rspec-core (~> 3. 
     | 
| 
       126 
     | 
    
         
            -
                  rspec-expectations (~> 3. 
     | 
| 
       127 
     | 
    
         
            -
                  rspec-mocks (~> 3. 
     | 
| 
       128 
     | 
    
         
            -
                rspec-core (3. 
     | 
| 
       129 
     | 
    
         
            -
                  rspec-support (~> 3. 
     | 
| 
       130 
     | 
    
         
            -
                rspec-expectations (3. 
     | 
| 
      
 124 
     | 
    
         
            +
                rspec (3.9.0)
         
     | 
| 
      
 125 
     | 
    
         
            +
                  rspec-core (~> 3.9.0)
         
     | 
| 
      
 126 
     | 
    
         
            +
                  rspec-expectations (~> 3.9.0)
         
     | 
| 
      
 127 
     | 
    
         
            +
                  rspec-mocks (~> 3.9.0)
         
     | 
| 
      
 128 
     | 
    
         
            +
                rspec-core (3.9.2)
         
     | 
| 
      
 129 
     | 
    
         
            +
                  rspec-support (~> 3.9.3)
         
     | 
| 
      
 130 
     | 
    
         
            +
                rspec-expectations (3.9.2)
         
     | 
| 
       131 
131 
     | 
    
         
             
                  diff-lcs (>= 1.2.0, < 2.0)
         
     | 
| 
       132 
     | 
    
         
            -
                  rspec-support (~> 3. 
     | 
| 
       133 
     | 
    
         
            -
                rspec-mocks (3. 
     | 
| 
      
 132 
     | 
    
         
            +
                  rspec-support (~> 3.9.0)
         
     | 
| 
      
 133 
     | 
    
         
            +
                rspec-mocks (3.9.1)
         
     | 
| 
       134 
134 
     | 
    
         
             
                  diff-lcs (>= 1.2.0, < 2.0)
         
     | 
| 
       135 
     | 
    
         
            -
                  rspec-support (~> 3. 
     | 
| 
       136 
     | 
    
         
            -
                rspec-rails ( 
     | 
| 
       137 
     | 
    
         
            -
                  actionpack (>=  
     | 
| 
       138 
     | 
    
         
            -
                  activesupport (>=  
     | 
| 
       139 
     | 
    
         
            -
                  railties (>=  
     | 
| 
       140 
     | 
    
         
            -
                  rspec-core (~> 3. 
     | 
| 
       141 
     | 
    
         
            -
                  rspec-expectations (~> 3. 
     | 
| 
       142 
     | 
    
         
            -
                  rspec-mocks (~> 3. 
     | 
| 
       143 
     | 
    
         
            -
                  rspec-support (~> 3. 
     | 
| 
       144 
     | 
    
         
            -
                rspec-support (3. 
     | 
| 
       145 
     | 
    
         
            -
                sidekiq (5. 
     | 
| 
      
 135 
     | 
    
         
            +
                  rspec-support (~> 3.9.0)
         
     | 
| 
      
 136 
     | 
    
         
            +
                rspec-rails (4.0.1)
         
     | 
| 
      
 137 
     | 
    
         
            +
                  actionpack (>= 4.2)
         
     | 
| 
      
 138 
     | 
    
         
            +
                  activesupport (>= 4.2)
         
     | 
| 
      
 139 
     | 
    
         
            +
                  railties (>= 4.2)
         
     | 
| 
      
 140 
     | 
    
         
            +
                  rspec-core (~> 3.9)
         
     | 
| 
      
 141 
     | 
    
         
            +
                  rspec-expectations (~> 3.9)
         
     | 
| 
      
 142 
     | 
    
         
            +
                  rspec-mocks (~> 3.9)
         
     | 
| 
      
 143 
     | 
    
         
            +
                  rspec-support (~> 3.9)
         
     | 
| 
      
 144 
     | 
    
         
            +
                rspec-support (3.9.3)
         
     | 
| 
      
 145 
     | 
    
         
            +
                sidekiq (5.0.4)
         
     | 
| 
       146 
146 
     | 
    
         
             
                  concurrent-ruby (~> 1.0)
         
     | 
| 
       147 
147 
     | 
    
         
             
                  connection_pool (~> 2.2, >= 2.2.0)
         
     | 
| 
       148 
148 
     | 
    
         
             
                  rack-protection (>= 1.5.0)
         
     | 
| 
       149 
     | 
    
         
            -
                  redis ( 
     | 
| 
      
 149 
     | 
    
         
            +
                  redis (~> 3.3, >= 3.3.3)
         
     | 
| 
       150 
150 
     | 
    
         
             
                sprockets (3.7.2)
         
     | 
| 
       151 
151 
     | 
    
         
             
                  concurrent-ruby (~> 1.0)
         
     | 
| 
       152 
152 
     | 
    
         
             
                  rack (> 1, < 3)
         
     | 
| 
       153 
     | 
    
         
            -
                sprockets-rails (3.2. 
     | 
| 
      
 153 
     | 
    
         
            +
                sprockets-rails (3.2.2)
         
     | 
| 
       154 
154 
     | 
    
         
             
                  actionpack (>= 4.0)
         
     | 
| 
       155 
155 
     | 
    
         
             
                  activesupport (>= 4.0)
         
     | 
| 
       156 
156 
     | 
    
         
             
                  sprockets (>= 3.0.0)
         
     | 
| 
       157 
     | 
    
         
            -
                thor (0. 
     | 
| 
      
 157 
     | 
    
         
            +
                thor (1.0.1)
         
     | 
| 
       158 
158 
     | 
    
         
             
                thread_safe (0.3.6)
         
     | 
| 
       159 
     | 
    
         
            -
                tzinfo (1.2. 
     | 
| 
      
 159 
     | 
    
         
            +
                tzinfo (1.2.7)
         
     | 
| 
       160 
160 
     | 
    
         
             
                  thread_safe (~> 0.1)
         
     | 
| 
       161 
     | 
    
         
            -
                websocket-driver (0.7. 
     | 
| 
      
 161 
     | 
    
         
            +
                websocket-driver (0.7.3)
         
     | 
| 
       162 
162 
     | 
    
         
             
                  websocket-extensions (>= 0.1.0)
         
     | 
| 
       163 
     | 
    
         
            -
                websocket-extensions (0.1. 
     | 
| 
      
 163 
     | 
    
         
            +
                websocket-extensions (0.1.5)
         
     | 
| 
       164 
164 
     | 
    
         | 
| 
       165 
165 
     | 
    
         
             
            PLATFORMS
         
     | 
| 
       166 
166 
     | 
    
         
             
              ruby
         
     | 
| 
       167 
167 
     | 
    
         | 
| 
       168 
168 
     | 
    
         
             
            DEPENDENCIES
         
     | 
| 
       169 
     | 
    
         
            -
              activerecord ( 
     | 
| 
      
 169 
     | 
    
         
            +
              activerecord (~> 5.2.0)
         
     | 
| 
       170 
170 
     | 
    
         
             
              activerecord-multi-tenant!
         
     | 
| 
       171 
171 
     | 
    
         
             
              appraisal
         
     | 
| 
      
 172 
     | 
    
         
            +
              byebug (~> 11.0)
         
     | 
| 
      
 173 
     | 
    
         
            +
              i18n (~> 0.9.5)
         
     | 
| 
      
 174 
     | 
    
         
            +
              nio4r (~> 2.3.1)
         
     | 
| 
      
 175 
     | 
    
         
            +
              nokogiri (~> 1.7.1)
         
     | 
| 
       172 
176 
     | 
    
         
             
              pg
         
     | 
| 
       173 
177 
     | 
    
         
             
              pry
         
     | 
| 
       174 
     | 
    
         
            -
              pry-byebug
         
     | 
| 
       175 
     | 
    
         
            -
              rake
         
     | 
| 
      
 178 
     | 
    
         
            +
              pry-byebug (= 3.9.0)
         
     | 
| 
      
 179 
     | 
    
         
            +
              rake (= 12.0.0)
         
     | 
| 
      
 180 
     | 
    
         
            +
              redis (= 3.3.3)
         
     | 
| 
       176 
181 
     | 
    
         
             
              rspec (>= 3.0)
         
     | 
| 
       177 
182 
     | 
    
         
             
              rspec-rails
         
     | 
| 
       178 
183 
     | 
    
         
             
              sidekiq
         
     | 
| 
      
 184 
     | 
    
         
            +
              sprockets (~> 3.7.1)
         
     | 
| 
       179 
185 
     | 
    
         
             
              thor
         
     | 
| 
       180 
186 
     | 
    
         | 
| 
       181 
187 
     | 
    
         
             
            BUNDLED WITH
         
     | 
| 
       182 
     | 
    
         
            -
               1. 
     | 
| 
      
 188 
     | 
    
         
            +
               2.1.4
         
     |