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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b49ebb943b1cf7656cce41a93e6100b50159a5c7e389ef9629247b385b38c94
4
- data.tar.gz: 93e51dcd1d7e91056e5643dc2b6220397e8c2672ed267aef342ebbb27efe15a1
3
+ metadata.gz: cde5e579ae43ee6ff9f495767c472c237a26a2b0da20959e292faf1bdfe886af
4
+ data.tar.gz: 114f6cf10ac31ec2f96bd79453e004b3f1e1330bdb987eeb8f21f8c1e383028c
5
5
  SHA512:
6
- metadata.gz: 430d520b818f54f3b78eef444bc929542149c17852041ae42bd221d47188dacf927fead066ec49feae6c776d1ad2446c6ec27dae60a7d4e7e2758f407ec64921
7
- data.tar.gz: adac4e78e18303464728db9b26f5124f4ebcf01ebf5081e8aa15d7a8103464b46ab0698facefe0d668e78e34600282cc74e53ba93a0de0ac1909b4db44d9e60d
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 = "5.0.1"
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: 5.0.1
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-12 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
@@ -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.0.0
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.3
80
+ rubygems_version: 3.5.11
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: Multi tenancy support for Rails