bp3-action_dispatch 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/bp3/action_dispatch/request_site.rb +3 -1
- data/lib/bp3/action_dispatch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: baf8bd779b6a801d1dfecffde05c736c7287e7bf9c31f15681122850e87b60c6
|
4
|
+
data.tar.gz: 573171b3f8f1252cef1f0e500d1372ad4a7a94e8f97fdb4413a4401b6027f3dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 793b8fcf240eb186ea89aa27427ce29ba8d063c8aade74319dd62446971723ffbe78166d30be11c5de6d776951e56ca76b09648910219bc82262f3fc4fea57a2
|
7
|
+
data.tar.gz: 3f3ae1847810ab77af4d6ade416d93112f35b1d248595675c608e67e27f58da9f528d433ad88333d75650f51258a18603f29f1ee7f31f7b7b7da52ff3d616699
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# RequestSite is included in ActionDispatch::Request
|
4
|
+
# it depends on RequestHost
|
3
5
|
module Bp3
|
4
6
|
module ActionDispatch
|
5
7
|
module RequestSite
|
6
8
|
def request_site
|
7
|
-
@request_site ||=
|
9
|
+
@request_site ||= Sites::Site.find_host(normalized_host)
|
8
10
|
end
|
9
11
|
end
|
10
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bp3-action_dispatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wim den Braven
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|