panda_pal 5.13.2.beta1 → 5.13.2.beta2
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/README.md +0 -0
- data/config/initializers/apartment.rb +1 -2
- data/lib/panda_pal/helpers/controller_helper.rb +0 -0
- data/lib/panda_pal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45284315302591401a70e8adf1551ded6495a1e49773bc96ea8f19f133ed9e5e
|
4
|
+
data.tar.gz: 43361f20d9a746ae3853eb40b65c390ce14b28f8281ff0626f12e91b21c82eb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c636a2f451c9353af8222a7f4bf10b5b571a0d13a731d1ff2cb6df1590b1864ad981d347cc83297759287ab8ba78c76e414364f6aa7a66dcb7e9366b811c3323
|
7
|
+
data.tar.gz: 468698cde7cd14d102c8bf7aeb33d5f1ad994796bcfe708d361e21a32194c28fd1e327eeef851d984ac436929b38c045f462dc00e69be0f16c240b32596dc980
|
data/README.md
CHANGED
File without changes
|
@@ -14,7 +14,7 @@ module Apartment
|
|
14
14
|
$shard_configurations ||= begin
|
15
15
|
shard_to_env = {}
|
16
16
|
|
17
|
-
base_config =
|
17
|
+
base_config = ActiveRecord::Base.configurations.find_db_config(Rails.env).configuration_hash
|
18
18
|
|
19
19
|
ENV.keys.each do |k|
|
20
20
|
m = /^(#{SHARD_PREFIXES.join("|")})_(\w+)_URL$/.match(k)
|
@@ -224,7 +224,6 @@ Rails.application.config.middleware.use Apartment::Elevators::Generic, lambda {
|
|
224
224
|
PandaPal::Organization.find_by(name: match[1]).try(:tenant_name)
|
225
225
|
elsif request.path.start_with?('/rails/active_storage/blobs/')
|
226
226
|
PandaPal::Organization.find_by(id: request.params['organization_id']).try(:tenant_name)
|
227
|
-
# TODO Always check params[organization_id]?
|
228
227
|
end
|
229
228
|
}
|
230
229
|
|
File without changes
|
data/lib/panda_pal/version.rb
CHANGED