activerecord-multi-tenant 1.0.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.travis.yml +8 -14
  4. data/Appraisals +28 -20
  5. data/CHANGELOG.md +29 -0
  6. data/Gemfile.lock +85 -67
  7. data/README.md +1 -1
  8. data/activerecord-multi-tenant.gemspec +1 -1
  9. data/gemfiles/.bundle/config +2 -0
  10. data/gemfiles/active_record_5.2.gemfile +10 -2
  11. data/gemfiles/active_record_5.2.gemfile.lock +104 -98
  12. data/gemfiles/{active_record_5.1.gemfile → active_record_6.0.gemfile} +2 -2
  13. data/gemfiles/active_record_6.0.gemfile.lock +198 -0
  14. data/gemfiles/{rails_4.1.gemfile → active_record_6.1.gemfile} +2 -2
  15. data/gemfiles/active_record_6.1.gemfile.lock +198 -0
  16. data/gemfiles/rails_5.2.gemfile +10 -2
  17. data/gemfiles/rails_5.2.gemfile.lock +109 -103
  18. data/gemfiles/{rails_5.0.gemfile → rails_6.0.gemfile} +2 -2
  19. data/gemfiles/rails_6.0.gemfile.lock +198 -0
  20. data/gemfiles/{rails_5.1.gemfile → rails_6.1.gemfile} +2 -2
  21. data/gemfiles/rails_6.1.gemfile.lock +198 -0
  22. data/lib/activerecord-multi-tenant.rb +1 -0
  23. data/lib/activerecord-multi-tenant/arel_visitors_depth_first.rb +200 -0
  24. data/lib/activerecord-multi-tenant/controller_extensions.rb +2 -6
  25. data/lib/activerecord-multi-tenant/copy_from_client.rb +2 -2
  26. data/lib/activerecord-multi-tenant/migrations.rb +2 -2
  27. data/lib/activerecord-multi-tenant/model_extensions.rb +13 -14
  28. data/lib/activerecord-multi-tenant/multi_tenant.rb +9 -0
  29. data/lib/activerecord-multi-tenant/persistence_extension.rb +13 -0
  30. data/lib/activerecord-multi-tenant/query_rewriter.rb +60 -104
  31. data/lib/activerecord-multi-tenant/sidekiq.rb +2 -1
  32. data/lib/activerecord-multi-tenant/version.rb +1 -1
  33. data/spec/activerecord-multi-tenant/controller_extensions_spec.rb +19 -24
  34. data/spec/activerecord-multi-tenant/model_extensions_spec.rb +54 -104
  35. data/spec/activerecord-multi-tenant/query_rewriter_spec.rb +8 -0
  36. data/spec/activerecord-multi-tenant/record_finding_spec.rb +36 -0
  37. data/spec/activerecord-multi-tenant/record_modifications_spec.rb +60 -3
  38. data/spec/activerecord-multi-tenant/schema_dumper_tester.rb +0 -0
  39. data/spec/activerecord-multi-tenant/sidekiq_spec.rb +4 -4
  40. data/spec/schema.rb +1 -4
  41. data/spec/spec_helper.rb +1 -6
  42. metadata +17 -17
  43. data/gemfiles/active_record_5.1.gemfile.lock +0 -173
  44. data/gemfiles/rails_4.0.gemfile +0 -8
  45. data/gemfiles/rails_4.0.gemfile.lock +0 -141
  46. data/gemfiles/rails_4.1.gemfile.lock +0 -146
  47. data/gemfiles/rails_4.2.gemfile +0 -8
  48. data/gemfiles/rails_4.2.gemfile.lock +0 -169
  49. data/gemfiles/rails_5.0.gemfile.lock +0 -175
  50. data/gemfiles/rails_5.1.gemfile.lock +0 -175
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 528bb716891e71b4d2acde0199b4f92e7c386e3b6ef7236f13571d973cbb235a
4
- data.tar.gz: 9bc59a8cec70d0914aea960d2248c6d3d024569a11d0873fa1920fb3318ea3bb
3
+ metadata.gz: 79f35cfc24d053c192a889fcb387c764cf2580e350aa8c7db5ff4ea84d3c44df
4
+ data.tar.gz: 04bb2200ae11168efe55090482686b00e457f267696d110fec5669ae1e2c70fd
5
5
  SHA512:
6
- metadata.gz: 4e7e8bf18a8d5b0d327caac9c40149fe8dabcd450ecd3737446b96609b37083530ee972d542f31c87935dbae9745bc4ff0349861649a159da2b27ec4facf671c
7
- data.tar.gz: dd9e26bbc1b954c47e2cb5250c87bce73866733214f0a73c876e3237eadf95b9e26052ac69ed457db5f559057a81726d873a9f86490ba0ecaf36a39394e14423
6
+ metadata.gz: 5b807cc7064efd06487fa8995f49cfbfdc7b15e5ccbc1e84510e0c742d6b14f8e7168145e6a520c8ea613735621b799dc6478ed8a749db68c7020ebe936b73b1
7
+ data.tar.gz: 4e8aca6b32a413a54ecc900dc6e36ee57f06faf88504d4c4b210153456b5090aa8a2a660555c1587d1c1a06ae0126db3002e0cba0d0d935f0688f7bc84c9c362
data/.gitignore CHANGED
@@ -1,2 +1,4 @@
1
1
  spec/debug.log
2
2
  pkg/
3
+ *.rb#
4
+ *.*~
@@ -4,19 +4,17 @@ cache: bundler
4
4
  language: ruby
5
5
 
6
6
  rvm:
7
- - 2.2.7
8
- - 2.3.4
9
- - 2.4.1
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/active_record_5.1.gemfile
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-4.0' do
2
- gem 'rails', '4.0.13'
3
- end
4
-
5
- appraise 'rails-4.1' do
6
- gem 'rails', '4.1.16'
7
- end
8
-
9
- appraise 'rails-4.2' do
10
- gem 'rails', '4.2.8'
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-5.0' do
14
- gem 'rails', '5.0.1'
13
+ appraise 'rails-6.0' do
14
+ gem 'rails', '~> 6.0.3'
15
15
  end
16
16
 
17
- appraise 'rails-5.1' do
18
- gem 'rails', '5.1.0'
17
+ appraise 'rails-6.1' do
18
+ gem 'rails', '~> 6.1.0'
19
19
  end
20
20
 
21
- appraise 'rails-5.2' do
22
- gem 'rails', '5.2.0'
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-5.1' do
26
- gem 'activerecord', '5.1.0'
33
+ appraise 'active-record-6.0' do
34
+ gem 'activerecord', '~> 6.0.3'
27
35
  end
28
36
 
29
- appraise 'active-record-5.2' do
30
- gem 'activerecord', '5.2.0'
37
+ appraise 'active-record-6.1' do
38
+ gem 'activerecord', '~> 6.1.0'
31
39
  end
@@ -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
@@ -1,72 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-multi-tenant (1.0.1)
5
- rails (>= 4.0)
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.3)
12
- actionpack (= 5.2.3)
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
- actionmailer (5.2.3)
16
- actionpack (= 5.2.3)
17
- actionview (= 5.2.3)
18
- activejob (= 5.2.3)
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 (5.2.3)
22
- actionview (= 5.2.3)
23
- activesupport (= 5.2.3)
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.2)
28
- actionview (5.2.3)
29
- activesupport (= 5.2.3)
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.0, >= 1.0.3)
34
- activejob (5.2.3)
35
- activesupport (= 5.2.3)
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 (5.2.3)
38
- activesupport (= 5.2.3)
39
- activerecord (5.2.3)
40
- activemodel (= 5.2.3)
41
- activesupport (= 5.2.3)
42
- arel (>= 9.0)
43
- activestorage (5.2.3)
44
- actionpack (= 5.2.3)
45
- activerecord (= 5.2.3)
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 (5.2.3)
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
- arel (9.0.0)
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.5)
73
+ concurrent-ruby (1.1.7)
61
74
  connection_pool (2.2.2)
62
- crass (1.0.4)
75
+ crass (1.0.6)
63
76
  diff-lcs (1.3)
64
- erubi (1.8.0)
77
+ erubi (1.9.0)
65
78
  globalid (0.4.2)
66
79
  activesupport (>= 4.2.0)
67
- i18n (1.6.0)
80
+ i18n (1.8.5)
68
81
  concurrent-ruby (~> 1.0)
69
- loofah (2.2.3)
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.3)
90
+ mimemagic (0.3.5)
78
91
  mini_mime (1.0.2)
79
- mini_portile2 (2.4.0)
80
- minitest (5.11.3)
81
- nio4r (2.4.0)
82
- nokogiri (1.10.4)
83
- mini_portile2 (~> 2.4.0)
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
- rack (2.0.7)
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 (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)
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 (= 5.2.3)
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.4)
113
- loofah (~> 2.2, >= 2.2.2)
114
- railties (5.2.3)
115
- actionpack (= 5.2.3)
116
- activesupport (= 5.2.3)
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.19.0, < 2.0)
120
- rake (12.3.2)
136
+ thor (>= 0.20.3, < 2.0)
137
+ rake (13.0.1)
121
138
  redis (4.1.2)
122
- request_store (1.4.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 (3.7.2)
167
+ sprockets (4.0.2)
151
168
  concurrent-ruby (~> 1.0)
152
169
  rack (> 1, < 3)
153
- sprockets-rails (3.2.1)
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.5)
176
+ tzinfo (1.2.7)
160
177
  thread_safe (~> 0.1)
161
- websocket-driver (0.7.1)
178
+ websocket-driver (0.7.3)
162
179
  websocket-extensions (>= 0.1.0)
163
- websocket-extensions (0.1.4)
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.17.2
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.0 or newer are supported.
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.0')
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'
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -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 :path => "../"
16
+ gemspec path: "../"
@@ -1,50 +1,50 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- activerecord-multi-tenant (1.0.1)
5
- rails (>= 4.0)
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.0)
12
- actionpack (= 5.2.0)
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.0)
16
- actionpack (= 5.2.0)
17
- actionview (= 5.2.0)
18
- activejob (= 5.2.0)
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.0)
22
- actionview (= 5.2.0)
23
- activesupport (= 5.2.0)
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.0)
29
- activesupport (= 5.2.0)
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.0)
35
- activesupport (= 5.2.0)
34
+ activejob (5.2.3)
35
+ activesupport (= 5.2.3)
36
36
  globalid (>= 0.3.6)
37
- activemodel (5.2.0)
38
- activesupport (= 5.2.0)
39
- activerecord (5.2.0)
40
- activemodel (= 5.2.0)
41
- activesupport (= 5.2.0)
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.0)
44
- actionpack (= 5.2.0)
45
- activerecord (= 5.2.0)
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.0)
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.3)
58
- byebug (10.0.2)
57
+ builder (3.2.4)
58
+ byebug (11.1.3)
59
59
  coderay (1.1.2)
60
- concurrent-ruby (1.0.5)
60
+ concurrent-ruby (1.1.6)
61
61
  connection_pool (2.2.2)
62
- crass (1.0.4)
62
+ crass (1.0.6)
63
63
  diff-lcs (1.3)
64
- erubi (1.7.1)
64
+ erubi (1.9.0)
65
65
  globalid (0.4.2)
66
66
  activesupport (>= 4.2.0)
67
- i18n (1.0.1)
67
+ i18n (0.9.5)
68
68
  concurrent-ruby (~> 1.0)
69
- loofah (2.2.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.9.0)
77
- mimemagic (0.3.3)
78
- mini_mime (1.0.1)
79
- mini_portile2 (2.3.0)
80
- minitest (5.11.3)
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.8.2)
83
- mini_portile2 (~> 2.3.0)
84
- pg (1.0.0)
85
- pry (0.11.3)
86
- coderay (~> 1.1.0)
87
- method_source (~> 0.9.0)
88
- pry-byebug (3.6.0)
89
- byebug (~> 10.0)
90
- pry (~> 0.10)
91
- rack (2.0.5)
92
- rack-protection (2.0.3)
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.0.0)
94
+ rack-test (1.1.0)
95
95
  rack (>= 1.0, < 3)
96
- rails (5.2.0)
97
- actioncable (= 5.2.0)
98
- actionmailer (= 5.2.0)
99
- actionpack (= 5.2.0)
100
- actionview (= 5.2.0)
101
- activejob (= 5.2.0)
102
- activemodel (= 5.2.0)
103
- activerecord (= 5.2.0)
104
- activestorage (= 5.2.0)
105
- activesupport (= 5.2.0)
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.0)
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.4)
113
- loofah (~> 2.2, >= 2.2.2)
114
- railties (5.2.0)
115
- actionpack (= 5.2.0)
116
- activesupport (= 5.2.0)
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.18.1, < 2.0)
120
- rake (12.3.1)
121
- redis (4.0.1)
122
- request_store (1.4.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.7.0)
125
- rspec-core (~> 3.7.0)
126
- rspec-expectations (~> 3.7.0)
127
- rspec-mocks (~> 3.7.0)
128
- rspec-core (3.7.1)
129
- rspec-support (~> 3.7.0)
130
- rspec-expectations (3.7.0)
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.7.0)
133
- rspec-mocks (3.7.0)
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.7.0)
136
- rspec-rails (3.7.2)
137
- actionpack (>= 3.0)
138
- activesupport (>= 3.0)
139
- railties (>= 3.0)
140
- rspec-core (~> 3.7.0)
141
- rspec-expectations (~> 3.7.0)
142
- rspec-mocks (~> 3.7.0)
143
- rspec-support (~> 3.7.0)
144
- rspec-support (3.7.1)
145
- sidekiq (5.1.3)
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 (>= 3.3.5, < 5)
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.1)
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.20.0)
157
+ thor (1.0.1)
158
158
  thread_safe (0.3.6)
159
- tzinfo (1.2.5)
159
+ tzinfo (1.2.7)
160
160
  thread_safe (~> 0.1)
161
- websocket-driver (0.7.1)
161
+ websocket-driver (0.7.3)
162
162
  websocket-extensions (>= 0.1.0)
163
- websocket-extensions (0.1.4)
163
+ websocket-extensions (0.1.5)
164
164
 
165
165
  PLATFORMS
166
166
  ruby
167
167
 
168
168
  DEPENDENCIES
169
- activerecord (= 5.2.0)
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.17.2
188
+ 2.1.4