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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d3353ec5d316b6281d3f36aae115be6b05b45e49b2ff5619e16bfdf81f68e2cd
4
- data.tar.gz: 60f5538f2b3059154609a957f0da4d05155cb7661252c2fe22feabda54160a19
3
+ metadata.gz: 45284315302591401a70e8adf1551ded6495a1e49773bc96ea8f19f133ed9e5e
4
+ data.tar.gz: 43361f20d9a746ae3853eb40b65c390ce14b28f8281ff0626f12e91b21c82eb6
5
5
  SHA512:
6
- metadata.gz: b90632ccc8ddc83f8b151967306e6d079f71735c5838e3a0c74096fbecf9fff42a89aa0eb6dc6fd5ef7bac0297dbbe0c72b37caf29d021179c18c631571f6b11
7
- data.tar.gz: 2325cc99407ad3ead97e00eeb6988c525176222efb4343388506ed1ace6dac1a49d2ddb219ac47946eefc5076b90609c6bdc5ad0d4f694e16ef4939cc112fc50
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 = Apartment.connection_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
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.13.2.beta1"
2
+ VERSION = "5.13.2.beta2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.13.2.beta1
4
+ version: 5.13.2.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev