rails_multisite 5.0.1 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_multisite/connection_management.rb +3 -2
- data/lib/rails_multisite/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cde5e579ae43ee6ff9f495767c472c237a26a2b0da20959e292faf1bdfe886af
|
4
|
+
data.tar.gz: 114f6cf10ac31ec2f96bd79453e004b3f1e1330bdb987eeb8f21f8c1e383028c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a7cf36e24b7fea80b92f2661f51e470d667172041b5de4b8b487fb8b4ec033f212518dc9c8e1dde6d310e6f46783ad63a8a96d50ba2e44ef083d67d93e17710
|
7
|
+
data.tar.gz: 238c5e549160353c81f058703cb33785de575397732f432c397edc4070e1d35eb6fdcdef169b3a02d1c7493a3fec140241eaa92c28ec714b3e1762b717476c87
|
@@ -297,9 +297,10 @@ module RailsMultisite
|
|
297
297
|
request = Rack::Request.new(env)
|
298
298
|
|
299
299
|
host =
|
300
|
-
if request["__ws"] &&
|
300
|
+
if request.params["__ws"] &&
|
301
|
+
self.class.asset_hostnames&.include?(request.host)
|
301
302
|
request.cookies.clear
|
302
|
-
request["__ws"]
|
303
|
+
request.params["__ws"]
|
303
304
|
else
|
304
305
|
request.host
|
305
306
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_multisite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -70,14 +70,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
71
71
|
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: 3.
|
73
|
+
version: '3.1'
|
74
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
76
|
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.5.
|
80
|
+
rubygems_version: 3.5.11
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Multi tenancy support for Rails
|