ros-apartment 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +52 -9
- data/.ruby-version +1 -1
- data/Appraisals +110 -30
- data/CODE_OF_CONDUCT.md +71 -0
- data/Gemfile +15 -0
- data/README.md +48 -30
- data/Rakefile +42 -24
- data/lib/apartment/active_record/connection_handling.rb +2 -2
- data/lib/apartment/active_record/postgres/schema_dumper.rb +20 -0
- data/lib/apartment/active_record/postgresql_adapter.rb +19 -4
- data/lib/apartment/adapters/abstract_adapter.rb +1 -1
- data/lib/apartment/adapters/postgresql_adapter.rb +15 -19
- data/lib/apartment/deprecation.rb +2 -5
- data/lib/apartment/migrator.rb +15 -3
- data/lib/apartment/tasks/task_helper.rb +3 -1
- data/lib/apartment/version.rb +1 -1
- data/lib/apartment.rb +8 -2
- data/ros-apartment.gemspec +10 -35
- metadata +35 -247
- data/.rubocop_todo.yml +0 -439
- /data/{CHANGELOG.md → legacy_CHANGELOG.md} +0 -0
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ros-apartment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Brunner
|
8
8
|
- Brad Robertson
|
9
9
|
- Rui Baltazar
|
10
|
-
|
10
|
+
- Mauricio Novelo
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 6.1.0
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '8.1'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,297 +31,88 @@ dependencies:
|
|
31
31
|
version: 6.1.0
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '8.1'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "<"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '2.0'
|
42
|
-
type: :runtime
|
43
|
-
prerelease: false
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "<"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '2.0'
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: public_suffix
|
36
|
+
name: activesupport
|
51
37
|
requirement: !ruby/object:Gem::Requirement
|
52
38
|
requirements:
|
53
39
|
- - ">="
|
54
40
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
41
|
+
version: 6.1.0
|
56
42
|
- - "<"
|
57
43
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
44
|
+
version: '8.1'
|
59
45
|
type: :runtime
|
60
46
|
prerelease: false
|
61
47
|
version_requirements: !ruby/object:Gem::Requirement
|
62
48
|
requirements:
|
63
49
|
- - ">="
|
64
50
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
51
|
+
version: 6.1.0
|
66
52
|
- - "<"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
54
|
+
version: '8.1'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: parallel
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 1.3.6
|
76
59
|
- - "<"
|
77
60
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
61
|
+
version: '2.0'
|
79
62
|
type: :runtime
|
80
63
|
prerelease: false
|
81
64
|
version_requirements: !ruby/object:Gem::Requirement
|
82
65
|
requirements:
|
83
|
-
- - ">="
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 1.3.6
|
86
66
|
- - "<"
|
87
67
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: appraisal
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '2.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '2.2'
|
68
|
+
version: '2.0'
|
103
69
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
70
|
+
name: public_suffix
|
105
71
|
requirement: !ruby/object:Gem::Requirement
|
106
72
|
requirements:
|
107
73
|
- - ">="
|
108
74
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
110
|
-
- - "
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '3.0'
|
113
|
-
type: :development
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '1.3'
|
120
|
-
- - "<"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '3.0'
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: guard-rspec
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '4.2'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '4.2'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: pry
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
75
|
+
version: 2.0.5
|
76
|
+
- - "<="
|
142
77
|
- !ruby/object:Gem::Version
|
143
|
-
version:
|
144
|
-
type: :
|
78
|
+
version: 6.0.1
|
79
|
+
type: :runtime
|
145
80
|
prerelease: false
|
146
81
|
version_requirements: !ruby/object:Gem::Requirement
|
147
82
|
requirements:
|
148
83
|
- - ">="
|
149
84
|
- !ruby/object:Gem::Version
|
150
|
-
version:
|
151
|
-
-
|
152
|
-
name: rake
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '13.0'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '13.0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: rspec
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '3.4'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
85
|
+
version: 2.0.5
|
86
|
+
- - "<="
|
177
87
|
- !ruby/object:Gem::Version
|
178
|
-
version:
|
88
|
+
version: 6.0.1
|
179
89
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
90
|
+
name: rack
|
181
91
|
requirement: !ruby/object:Gem::Requirement
|
182
92
|
requirements:
|
183
93
|
- - ">="
|
184
94
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
186
|
-
type: :development
|
187
|
-
prerelease: false
|
188
|
-
version_requirements: !ruby/object:Gem::Requirement
|
189
|
-
requirements:
|
190
|
-
- - ">="
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
version: '0'
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: rspec-rails
|
195
|
-
requirement: !ruby/object:Gem::Requirement
|
196
|
-
requirements:
|
197
|
-
- - "~>"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '6.1'
|
200
|
-
type: :development
|
201
|
-
prerelease: false
|
202
|
-
version_requirements: !ruby/object:Gem::Requirement
|
203
|
-
requirements:
|
204
|
-
- - "~>"
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
version: '6.1'
|
207
|
-
- !ruby/object:Gem::Dependency
|
208
|
-
name: rubocop
|
209
|
-
requirement: !ruby/object:Gem::Requirement
|
210
|
-
requirements:
|
211
|
-
- - "~>"
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: '1.63'
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
requirements:
|
218
|
-
- - "~>"
|
219
|
-
- !ruby/object:Gem::Version
|
220
|
-
version: '1.63'
|
221
|
-
- !ruby/object:Gem::Dependency
|
222
|
-
name: rubocop-performance
|
223
|
-
requirement: !ruby/object:Gem::Requirement
|
224
|
-
requirements:
|
225
|
-
- - "~>"
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
version: '1.21'
|
228
|
-
type: :development
|
229
|
-
prerelease: false
|
230
|
-
version_requirements: !ruby/object:Gem::Requirement
|
231
|
-
requirements:
|
232
|
-
- - "~>"
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: '1.21'
|
235
|
-
- !ruby/object:Gem::Dependency
|
236
|
-
name: rubocop-rails
|
237
|
-
requirement: !ruby/object:Gem::Requirement
|
238
|
-
requirements:
|
239
|
-
- - "~>"
|
240
|
-
- !ruby/object:Gem::Version
|
241
|
-
version: '2.24'
|
242
|
-
type: :development
|
243
|
-
prerelease: false
|
244
|
-
version_requirements: !ruby/object:Gem::Requirement
|
245
|
-
requirements:
|
246
|
-
- - "~>"
|
247
|
-
- !ruby/object:Gem::Version
|
248
|
-
version: '2.24'
|
249
|
-
- !ruby/object:Gem::Dependency
|
250
|
-
name: rubocop-rspec
|
251
|
-
requirement: !ruby/object:Gem::Requirement
|
252
|
-
requirements:
|
253
|
-
- - "~>"
|
254
|
-
- !ruby/object:Gem::Version
|
255
|
-
version: '2.29'
|
256
|
-
type: :development
|
257
|
-
prerelease: false
|
258
|
-
version_requirements: !ruby/object:Gem::Requirement
|
259
|
-
requirements:
|
260
|
-
- - "~>"
|
261
|
-
- !ruby/object:Gem::Version
|
262
|
-
version: '2.29'
|
263
|
-
- !ruby/object:Gem::Dependency
|
264
|
-
name: mysql2
|
265
|
-
requirement: !ruby/object:Gem::Requirement
|
266
|
-
requirements:
|
267
|
-
- - "~>"
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
version: '0.5'
|
270
|
-
type: :development
|
271
|
-
prerelease: false
|
272
|
-
version_requirements: !ruby/object:Gem::Requirement
|
273
|
-
requirements:
|
274
|
-
- - "~>"
|
275
|
-
- !ruby/object:Gem::Version
|
276
|
-
version: '0.5'
|
277
|
-
- !ruby/object:Gem::Dependency
|
278
|
-
name: pg
|
279
|
-
requirement: !ruby/object:Gem::Requirement
|
280
|
-
requirements:
|
281
|
-
- - "~>"
|
282
|
-
- !ruby/object:Gem::Version
|
283
|
-
version: '1.5'
|
284
|
-
type: :development
|
285
|
-
prerelease: false
|
286
|
-
version_requirements: !ruby/object:Gem::Requirement
|
287
|
-
requirements:
|
288
|
-
- - "~>"
|
289
|
-
- !ruby/object:Gem::Version
|
290
|
-
version: '1.5'
|
291
|
-
- !ruby/object:Gem::Dependency
|
292
|
-
name: sqlite3
|
293
|
-
requirement: !ruby/object:Gem::Requirement
|
294
|
-
requirements:
|
95
|
+
version: 1.3.6
|
295
96
|
- - "<"
|
296
97
|
- !ruby/object:Gem::Version
|
297
|
-
version: '
|
298
|
-
type: :
|
98
|
+
version: '4.0'
|
99
|
+
type: :runtime
|
299
100
|
prerelease: false
|
300
101
|
version_requirements: !ruby/object:Gem::Requirement
|
301
102
|
requirements:
|
302
|
-
- - "
|
303
|
-
- !ruby/object:Gem::Version
|
304
|
-
version: '2.0'
|
305
|
-
- !ruby/object:Gem::Dependency
|
306
|
-
name: trilogy
|
307
|
-
requirement: !ruby/object:Gem::Requirement
|
308
|
-
requirements:
|
309
|
-
- - "<"
|
103
|
+
- - ">="
|
310
104
|
- !ruby/object:Gem::Version
|
311
|
-
version:
|
312
|
-
type: :development
|
313
|
-
prerelease: false
|
314
|
-
version_requirements: !ruby/object:Gem::Requirement
|
315
|
-
requirements:
|
105
|
+
version: 1.3.6
|
316
106
|
- - "<"
|
317
107
|
- !ruby/object:Gem::Version
|
318
|
-
version: '
|
108
|
+
version: '4.0'
|
319
109
|
description: Apartment allows Rack applications to deal with database multitenancy
|
320
110
|
through ActiveRecord
|
321
111
|
email:
|
322
112
|
- ryan@influitive.com
|
323
113
|
- brad@influitive.com
|
324
114
|
- rui.p.baltazar@gmail.com
|
115
|
+
- mauricio@campusesp.com
|
325
116
|
executables: []
|
326
117
|
extensions: []
|
327
118
|
extra_rdoc_files: []
|
@@ -330,17 +121,18 @@ files:
|
|
330
121
|
- ".pryrc"
|
331
122
|
- ".rspec"
|
332
123
|
- ".rubocop.yml"
|
333
|
-
- ".rubocop_todo.yml"
|
334
124
|
- ".ruby-version"
|
335
125
|
- Appraisals
|
336
|
-
-
|
126
|
+
- CODE_OF_CONDUCT.md
|
337
127
|
- Gemfile
|
338
128
|
- Guardfile
|
339
129
|
- README.md
|
340
130
|
- Rakefile
|
131
|
+
- legacy_CHANGELOG.md
|
341
132
|
- lib/apartment.rb
|
342
133
|
- lib/apartment/active_record/connection_handling.rb
|
343
134
|
- lib/apartment/active_record/internal_metadata.rb
|
135
|
+
- lib/apartment/active_record/postgres/schema_dumper.rb
|
344
136
|
- lib/apartment/active_record/postgresql_adapter.rb
|
345
137
|
- lib/apartment/active_record/schema_migration.rb
|
346
138
|
- lib/apartment/adapters/abstract_adapter.rb
|
@@ -379,7 +171,7 @@ licenses:
|
|
379
171
|
- MIT
|
380
172
|
metadata:
|
381
173
|
github_repo: ssh://github.com/rails-on-services/apartment
|
382
|
-
|
174
|
+
rubygems_mfa_required: 'true'
|
383
175
|
rdoc_options: []
|
384
176
|
require_paths:
|
385
177
|
- lib
|
@@ -387,18 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
387
179
|
requirements:
|
388
180
|
- - ">="
|
389
181
|
- !ruby/object:Gem::Version
|
390
|
-
version: '3.
|
391
|
-
- - "<"
|
392
|
-
- !ruby/object:Gem::Version
|
393
|
-
version: '3.4'
|
182
|
+
version: '3.1'
|
394
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
395
184
|
requirements:
|
396
185
|
- - ">="
|
397
186
|
- !ruby/object:Gem::Version
|
398
187
|
version: '0'
|
399
188
|
requirements: []
|
400
|
-
rubygems_version: 3.
|
401
|
-
signing_key:
|
189
|
+
rubygems_version: 3.6.2
|
402
190
|
specification_version: 4
|
403
191
|
summary: A Ruby gem for managing database multitenancy. Apartment Gem drop in replacement
|
404
192
|
test_files: []
|