rails_multisite 6.0.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b431801bd1c139ae4d900b5fa8d510983c971de39e9edb492515e053b81be10
4
- data.tar.gz: 2b05d636722cc7e6f6eb3047c0a6d541aa4c16871146373fb5a7cb30c22e265c
3
+ metadata.gz: cde5e579ae43ee6ff9f495767c472c237a26a2b0da20959e292faf1bdfe886af
4
+ data.tar.gz: 114f6cf10ac31ec2f96bd79453e004b3f1e1330bdb987eeb8f21f8c1e383028c
5
5
  SHA512:
6
- metadata.gz: 3b4eeec701c531314d44f9bf079ecf48c61f18c13df2b48930d2e8e336ba4374898d623d029990beb562c40ebee09f7232c84d8b0e248d06e42d16c50724ef94
7
- data.tar.gz: 51582ccd1645e2d823df4a676fd0c13b5071598606237add463590a332aef4506af979927161dc8bba20c3b27e6e1264bd4a44d815dc2f31f2be2f4ae9d66301
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"] && self.class.asset_hostnames&.include?(request.host)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
3
  module RailsMultisite
4
- VERSION = "6.0.0"
4
+ VERSION = "6.1.0"
5
5
  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: 6.0.0
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-03-13 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  requirements: []
80
- rubygems_version: 3.5.3
80
+ rubygems_version: 3.5.11
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Multi tenancy support for Rails