activerecord-multi-tenant 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.travis.yml +6 -14
  4. data/Appraisals +24 -24
  5. data/CHANGELOG.md +22 -0
  6. data/Gemfile.lock +79 -63
  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 +102 -96
  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_5.2.gemfile +10 -2
  15. data/gemfiles/rails_5.2.gemfile.lock +109 -103
  16. data/gemfiles/{rails_5.0.gemfile → rails_6.0.gemfile} +2 -2
  17. data/gemfiles/rails_6.0.gemfile.lock +198 -0
  18. data/lib/activerecord-multi-tenant.rb +1 -0
  19. data/lib/activerecord-multi-tenant/controller_extensions.rb +2 -6
  20. data/lib/activerecord-multi-tenant/copy_from_client.rb +2 -2
  21. data/lib/activerecord-multi-tenant/migrations.rb +2 -2
  22. data/lib/activerecord-multi-tenant/model_extensions.rb +8 -15
  23. data/lib/activerecord-multi-tenant/multi_tenant.rb +9 -0
  24. data/lib/activerecord-multi-tenant/persistence_extension.rb +13 -0
  25. data/lib/activerecord-multi-tenant/query_rewriter.rb +59 -105
  26. data/lib/activerecord-multi-tenant/sidekiq.rb +2 -1
  27. data/lib/activerecord-multi-tenant/version.rb +1 -1
  28. data/spec/activerecord-multi-tenant/controller_extensions_spec.rb +19 -24
  29. data/spec/activerecord-multi-tenant/model_extensions_spec.rb +54 -104
  30. data/spec/activerecord-multi-tenant/query_rewriter_spec.rb +40 -0
  31. data/spec/activerecord-multi-tenant/record_modifications_spec.rb +60 -3
  32. data/spec/activerecord-multi-tenant/schema_dumper_tester.rb +0 -0
  33. data/spec/activerecord-multi-tenant/sidekiq_spec.rb +4 -4
  34. data/spec/schema.rb +1 -4
  35. data/spec/spec_helper.rb +1 -6
  36. metadata +15 -20
  37. data/gemfiles/active_record_5.1.gemfile.lock +0 -173
  38. data/gemfiles/rails_4.0.gemfile +0 -8
  39. data/gemfiles/rails_4.0.gemfile.lock +0 -141
  40. data/gemfiles/rails_4.1.gemfile +0 -8
  41. data/gemfiles/rails_4.1.gemfile.lock +0 -146
  42. data/gemfiles/rails_4.2.gemfile +0 -8
  43. data/gemfiles/rails_4.2.gemfile.lock +0 -169
  44. data/gemfiles/rails_5.0.gemfile.lock +0 -175
  45. data/gemfiles/rails_5.1.gemfile +0 -8
  46. data/gemfiles/rails_5.1.gemfile.lock +0 -175
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e167475943bea775b41d11e80881d5938607281e76076b5d0d847651a626f9ff
4
- data.tar.gz: 2bbf2defbe8dd5c2b7e05b65f74bc55db00ce39d02dee2ee99f5b23f4cd5eee5
3
+ metadata.gz: 7125d7827e44ce5347a6391c97e740f74f1b20e0295ee1d88d80750c5d04c222
4
+ data.tar.gz: 5acb0ae83aef24141696b1683f759bed2ca7f5d8b6f9354b2ff9104f8c4d2f9c
5
5
  SHA512:
6
- metadata.gz: 867f0dbe076cdf879d6e391bcce94e8bf4dd50a72afbec4a6dd0d386d1d245bf0f8fcd7b68b1e76b6eddd6340720d176a18781bf5afd2e4be58fbd87e02bbd0a
7
- data.tar.gz: cfb1c04cb18a416501752cb308174e2f4a3167d830701f36c9a76065574d308311206aad8c26a43d4bcb9fea8e326d565e850ebcda4931e1da5c2d8289c378b0
6
+ metadata.gz: 761e37256c39851708bf4963a679e7d77f1f4f8c7d3a51d187bc5b6943d311caf75f9dbbd4ad5fd19a410940f245697c823c215edd38735599554b7685a1600d
7
+ data.tar.gz: 7e5063cd44d333a83afe565b713afc0af5d7e6aee2f849bd60afbb903e6aa11c4019e321019bccde91628051a558eca6e763f944b7dab327363949eabf76b27f
data/.gitignore CHANGED
@@ -1,2 +1,4 @@
1
1
  spec/debug.log
2
2
  pkg/
3
+ *.rb#
4
+ *.*~
@@ -4,19 +4,15 @@ 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
19
14
  - gemfiles/active_record_5.2.gemfile
15
+ - gemfiles/active_record_6.0.gemfile
20
16
 
21
17
  env:
22
18
  - PREPARED_STATEMENTS=0
@@ -24,17 +20,13 @@ env:
24
20
 
25
21
  matrix:
26
22
  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
23
 
33
24
  services:
34
25
  - docker
35
26
 
36
27
  before_install:
37
28
  - docker-compose up -d
29
+ - gem install bundler -v 2.1.4
38
30
 
39
31
  script:
40
32
  - bundle exec rake spec
data/Appraisals CHANGED
@@ -1,31 +1,31 @@
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'
11
- end
12
-
13
- appraise 'rails-5.0' do
14
- gem 'rails', '5.0.1'
15
- end
16
-
17
- appraise 'rails-5.1' do
18
- gem 'rails', '5.1.0'
19
- end
20
-
21
1
  appraise 'rails-5.2' do
22
- gem 'rails', '5.2.0'
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'
23
11
  end
24
12
 
25
- appraise 'active-record-5.1' do
26
- gem 'activerecord', '5.1.0'
13
+ appraise 'rails-6.0' do
14
+ gem 'rails', '~> 6.0.3'
27
15
  end
28
16
 
29
17
  appraise 'active-record-5.2' do
30
- gem 'activerecord', '5.2.0'
18
+ gem 'activerecord', '~> 5.2.0'
19
+ gem 'i18n', '~> 0.9.5'
20
+ gem 'nokogiri', '~> 1.7.1'
21
+ gem 'nio4r', '~> 2.3.1'
22
+ gem 'sprockets', '~> 3.7.1'
23
+ gem 'byebug', '~> 11.0'
24
+ gem 'rake', '12.0.0'
25
+ gem 'redis', '3.3.3'
26
+ gem 'pry-byebug', '3.9.0'
27
+ end
28
+
29
+ appraise 'active-record-6.0' do
30
+ gem 'activerecord', '~> 6.0.3'
31
31
  end
@@ -1,6 +1,28 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## 1.0.4 2019-10-30
5
+
6
+ * Fix bug introduced in 1.0.3 for delete when table is reference or not distributed
7
+
8
+
9
+ ## 1.0.3 2019-10-28
10
+
11
+ * Ensure that when using object.delete, we set the tenant
12
+
13
+
14
+ ## 1.0.2 2019-09-20
15
+
16
+ * Compatibility with rails 6
17
+ * Remove support for rails 4.0 and 4.1
18
+ * Fix bug when multiple databases are used
19
+
20
+
21
+ ## 1.0.1 2019-08-27
22
+
23
+ * Ensure current tenant is present before adding tenant id filter in DatabaseStatements
24
+
25
+
4
26
  ## 1.0.0 2019-07-05
5
27
 
6
28
  * Fix `RETURNING id` for distributed tables with no primary key
@@ -1,72 +1,85 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activerecord-multi-tenant (1.0.0)
5
- rails (>= 4.0)
4
+ activerecord-multi-tenant (1.1.0)
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.2)
12
+ actionpack (= 6.0.3.2)
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.2)
16
+ actionpack (= 6.0.3.2)
17
+ activejob (= 6.0.3.2)
18
+ activerecord (= 6.0.3.2)
19
+ activestorage (= 6.0.3.2)
20
+ activesupport (= 6.0.3.2)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.0.3.2)
23
+ actionpack (= 6.0.3.2)
24
+ actionview (= 6.0.3.2)
25
+ activejob (= 6.0.3.2)
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.2)
29
+ actionview (= 6.0.3.2)
30
+ activesupport (= 6.0.3.2)
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.2)
36
+ actionpack (= 6.0.3.2)
37
+ activerecord (= 6.0.3.2)
38
+ activestorage (= 6.0.3.2)
39
+ activesupport (= 6.0.3.2)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.0.3.2)
42
+ activesupport (= 6.0.3.2)
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.2)
48
+ activesupport (= 6.0.3.2)
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.2)
51
+ activesupport (= 6.0.3.2)
52
+ activerecord (6.0.3.2)
53
+ activemodel (= 6.0.3.2)
54
+ activesupport (= 6.0.3.2)
55
+ activestorage (6.0.3.2)
56
+ actionpack (= 6.0.3.2)
57
+ activejob (= 6.0.3.2)
58
+ activerecord (= 6.0.3.2)
46
59
  marcel (~> 0.3.1)
47
- activesupport (5.2.3)
60
+ activesupport (6.0.3.2)
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.6)
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.3)
68
81
  concurrent-ruby (~> 1.0)
69
- loofah (2.2.3)
82
+ loofah (2.6.0)
70
83
  crass (~> 1.0.2)
71
84
  nokogiri (>= 1.5.9)
72
85
  mail (2.7.1)
@@ -74,12 +87,12 @@ 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
92
  mini_portile2 (2.4.0)
80
- minitest (5.11.3)
81
- nio4r (2.4.0)
82
- nokogiri (1.10.3)
93
+ minitest (5.14.1)
94
+ nio4r (2.5.2)
95
+ nokogiri (1.10.9)
83
96
  mini_portile2 (~> 2.4.0)
84
97
  pg (1.1.4)
85
98
  pry (0.12.2)
@@ -88,36 +101,38 @@ GEM
88
101
  pry-byebug (3.7.0)
89
102
  byebug (~> 11.0)
90
103
  pry (~> 0.10)
91
- rack (2.0.7)
104
+ rack (2.2.3)
92
105
  rack-protection (2.0.5)
93
106
  rack
94
107
  rack-test (1.1.0)
95
108
  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)
109
+ rails (6.0.3.2)
110
+ actioncable (= 6.0.3.2)
111
+ actionmailbox (= 6.0.3.2)
112
+ actionmailer (= 6.0.3.2)
113
+ actionpack (= 6.0.3.2)
114
+ actiontext (= 6.0.3.2)
115
+ actionview (= 6.0.3.2)
116
+ activejob (= 6.0.3.2)
117
+ activemodel (= 6.0.3.2)
118
+ activerecord (= 6.0.3.2)
119
+ activestorage (= 6.0.3.2)
120
+ activesupport (= 6.0.3.2)
106
121
  bundler (>= 1.3.0)
107
- railties (= 5.2.3)
122
+ railties (= 6.0.3.2)
108
123
  sprockets-rails (>= 2.0.0)
109
124
  rails-dom-testing (2.0.3)
110
125
  activesupport (>= 4.2.0)
111
126
  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)
127
+ rails-html-sanitizer (1.3.0)
128
+ loofah (~> 2.3)
129
+ railties (6.0.3.2)
130
+ actionpack (= 6.0.3.2)
131
+ activesupport (= 6.0.3.2)
117
132
  method_source
118
133
  rake (>= 0.8.7)
119
- thor (>= 0.19.0, < 2.0)
120
- rake (12.3.2)
134
+ thor (>= 0.20.3, < 2.0)
135
+ rake (13.0.1)
121
136
  redis (4.1.2)
122
137
  request_store (1.4.1)
123
138
  rack (>= 1.4)
@@ -147,7 +162,7 @@ GEM
147
162
  rack (>= 1.5.0)
148
163
  rack-protection (>= 1.5.0)
149
164
  redis (>= 3.3.5, < 5)
150
- sprockets (3.7.2)
165
+ sprockets (4.0.2)
151
166
  concurrent-ruby (~> 1.0)
152
167
  rack (> 1, < 3)
153
168
  sprockets-rails (3.2.1)
@@ -156,11 +171,12 @@ GEM
156
171
  sprockets (>= 3.0.0)
157
172
  thor (0.20.3)
158
173
  thread_safe (0.3.6)
159
- tzinfo (1.2.5)
174
+ tzinfo (1.2.7)
160
175
  thread_safe (~> 0.1)
161
- websocket-driver (0.7.1)
176
+ websocket-driver (0.7.2)
162
177
  websocket-extensions (>= 0.1.0)
163
- websocket-extensions (0.1.4)
178
+ websocket-extensions (0.1.5)
179
+ zeitwerk (2.3.0)
164
180
 
165
181
  PLATFORMS
166
182
  ruby
@@ -178,4 +194,4 @@ DEPENDENCIES
178
194
  thor
179
195
 
180
196
  BUNDLED WITH
181
- 1.17.2
197
+ 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.0)
5
- rails (>= 4.0)
4
+ activerecord-multi-tenant (1.1.0)
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,99 +54,99 @@ 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)
@@ -154,11 +154,11 @@ GEM
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.2)
162
162
  websocket-extensions (>= 0.1.0)
163
163
  websocket-extensions (0.1.4)
164
164
 
@@ -166,17 +166,23 @@ 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