bp3-action_dispatch 0.1.6 → 0.2.0
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 +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +9 -0
- data/CLAUDE.md +60 -0
- data/Gemfile.lock +48 -42
- data/bp3-action_dispatch.gemspec +1 -1
- data/lib/bp3/action_dispatch/request_host.rb +0 -21
- data/lib/bp3/action_dispatch/version.rb +1 -1
- data/lib/bp3/action_dispatch.rb +1 -1
- metadata +184 -164
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c00194a27b768708fccef2528759bee9e15c00af64d16bbee723a8e1d2ef476
|
|
4
|
+
data.tar.gz: 89db0e2e3329006369a3055c6579935ec42b89ba4559f3729d0ff57c1573f8c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40f2d651a978ae222d4c5d5e732d18883384360741335fbb055d302382740964b64ffae949c9731da7f2b445406f729bcd1c76f97831227d3a3ad040c6473de6
|
|
7
|
+
data.tar.gz: 37a33e9f3c2c2b39b283792c6d3910d8cf39e3691a4c588ee13a340c336926988bccd595cd91599cd354009bed2ef4b1464503a03a446ece6bb042aa2649da15
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.2.0] - 2026-11-20
|
|
4
|
+
|
|
5
|
+
- Require Ruby 4.0.10 and update Bundler to 4.1.0
|
|
6
|
+
- Remove site_class memoization
|
|
7
|
+
- Gitignore .ruby-version
|
|
8
|
+
- Simplify normalized_host to host
|
|
9
|
+
- Update gems
|
|
10
|
+
- Add CLAUDE.md file
|
|
11
|
+
|
|
3
12
|
## [0.1.6] - 2026-01-12
|
|
4
13
|
|
|
5
14
|
- Update gems
|
data/CLAUDE.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
+
|
|
5
|
+
## Project Overview
|
|
6
|
+
|
|
7
|
+
bp3-action_dispatch adapts `ActionDispatch::Request` for BP3 (persuavis/black_phoebe_3), a multi-site
|
|
8
|
+
multi-tenant Rails application. It teaches every request which host it was made to, which site that host
|
|
9
|
+
belongs to, and which locale it asks for. It also holds the application's site class name, which other
|
|
10
|
+
bp3 gems (bp3-noticed, bp3-friendly_id) read through `Bp3::ActionDispatch.site_class`.
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
|
|
14
|
+
The gems run on Ruby 3.4.6 (`.ruby-version`). Prefix commands with `~/.rvm/bin/rvm 3.4.6 do` when the
|
|
15
|
+
shell is not already on it; a missing `rspec` means the wrong Ruby, not a missing bundle.
|
|
16
|
+
|
|
17
|
+
- `bundle exec rake` - specs and RuboCop (the default task)
|
|
18
|
+
- `bundle exec rspec spec/path/to/file_spec.rb[:LINE]` - one file or example
|
|
19
|
+
- `bundle exec rubocop` / `bundle exec rubocop -a`
|
|
20
|
+
- `bin/setup`, `bin/console`, `rake install`
|
|
21
|
+
|
|
22
|
+
## Architecture
|
|
23
|
+
|
|
24
|
+
`lib/bp3/action_dispatch/railtie.rb` reopens `ActionDispatch::Request` in an `after_initialize` block and
|
|
25
|
+
includes three modules. The Railtie is only defined when `Rails.env` is, so the specs load the modules
|
|
26
|
+
without Rails.
|
|
27
|
+
|
|
28
|
+
**RequestHost** (`request_host.rb`)
|
|
29
|
+
- `normalized_host`: the request's `host`, which Rails reads from `X-Forwarded-Host` when it is there.
|
|
30
|
+
- `request_site`: `Sites::Site.find_host(normalized_host)`, memoized. Depends on RequestHost. It names
|
|
31
|
+
`Sites::Site` directly rather than going through `site_class`
|
|
32
|
+
|
|
33
|
+
**RequestLocale** (`request_locale.rb`)
|
|
34
|
+
- `request_locale`, memoized, tries in order: the first path segment, `params[:locale]`, the host's last
|
|
35
|
+
label (TLD), the `Accept-Language` header (by quality), the site's `configs.locale`, `I18n.default_locale`
|
|
36
|
+
- Only locales in `I18n.available_locales` count. `en-us` becomes `:"en-US"`
|
|
37
|
+
- `locale_from` records which source won (`'path'`, `'params'`, `'host'`, `'header'`, `'setting'`, `'default'`)
|
|
38
|
+
|
|
39
|
+
**Configuration** (`lib/bp3/action_dispatch.rb`)
|
|
40
|
+
- `Bp3::ActionDispatch.site_class_name`, set in the application's `config/initializers/bp3-action_dispatch.rb`
|
|
41
|
+
to `'Sites::Site'`; `.site_class` constantizes and caches it
|
|
42
|
+
|
|
43
|
+
## Testing
|
|
44
|
+
|
|
45
|
+
`spec/bp3/action_dispatch/request_locale_spec.rb` includes `RequestLocale` in a plain test class with
|
|
46
|
+
`host`, `original_fullpath`, `params`, `env` and `request_site` accessors; follow that pattern rather than
|
|
47
|
+
building a Rails request.
|
|
48
|
+
|
|
49
|
+
## Code Style
|
|
50
|
+
|
|
51
|
+
- RuboCop (`.rubocop.yml`): target Ruby 3.2.2, NewCops, rubocop-rake and rubocop-rspec; AbcSize 26,
|
|
52
|
+
MethodLength 15, BlockLength 66, ModuleLength 150; `Lint/ConstantDefinitionInBlock` and `Lint/Void`
|
|
53
|
+
are off for `lib/bp3/**/railtie.rb`, where classes are reopened inside a block
|
|
54
|
+
- Every file starts with `# frozen_string_literal: true`
|
|
55
|
+
- American English; no trailing whitespace on any added or modified line
|
|
56
|
+
|
|
57
|
+
## Release
|
|
58
|
+
|
|
59
|
+
Bump `lib/bp3/action_dispatch/version.rb` and add a `CHANGELOG.md` entry. `rake release` tags, pushes and
|
|
60
|
+
publishes to rubygems.org; leave releasing and committing to the user.
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bp3-action_dispatch (0.
|
|
4
|
+
bp3-action_dispatch (0.2.0)
|
|
5
5
|
actionpack (~> 8.1)
|
|
6
6
|
activesupport (~> 8.1)
|
|
7
7
|
i18n (>= 1.8.11)
|
|
@@ -9,9 +9,9 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
actionpack (8.1.
|
|
13
|
-
actionview (= 8.1.
|
|
14
|
-
activesupport (= 8.1.
|
|
12
|
+
actionpack (8.1.4)
|
|
13
|
+
actionview (= 8.1.4)
|
|
14
|
+
activesupport (= 8.1.4)
|
|
15
15
|
nokogiri (>= 1.8.5)
|
|
16
16
|
rack (>= 2.2.4)
|
|
17
17
|
rack-session (>= 1.0.1)
|
|
@@ -19,13 +19,13 @@ GEM
|
|
|
19
19
|
rails-dom-testing (~> 2.2)
|
|
20
20
|
rails-html-sanitizer (~> 1.6)
|
|
21
21
|
useragent (~> 0.16)
|
|
22
|
-
actionview (8.1.
|
|
23
|
-
activesupport (= 8.1.
|
|
22
|
+
actionview (8.1.4)
|
|
23
|
+
activesupport (= 8.1.4)
|
|
24
24
|
builder (~> 3.1)
|
|
25
25
|
erubi (~> 1.11)
|
|
26
26
|
rails-dom-testing (~> 2.2)
|
|
27
27
|
rails-html-sanitizer (~> 1.6)
|
|
28
|
-
activesupport (8.1.
|
|
28
|
+
activesupport (8.1.4)
|
|
29
29
|
base64
|
|
30
30
|
bigdecimal
|
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -40,50 +40,55 @@ GEM
|
|
|
40
40
|
uri (>= 0.13.1)
|
|
41
41
|
ast (2.4.3)
|
|
42
42
|
base64 (0.3.0)
|
|
43
|
-
bigdecimal (4.
|
|
43
|
+
bigdecimal (4.1.3)
|
|
44
44
|
builder (3.3.0)
|
|
45
|
-
byebug (
|
|
46
|
-
|
|
45
|
+
byebug (13.0.0)
|
|
46
|
+
reline (>= 0.6.0)
|
|
47
|
+
concurrent-ruby (1.3.8)
|
|
47
48
|
connection_pool (3.0.2)
|
|
48
|
-
crass (1.0.
|
|
49
|
+
crass (1.0.8)
|
|
49
50
|
diff-lcs (1.6.2)
|
|
50
51
|
drb (2.2.3)
|
|
51
52
|
erubi (1.13.1)
|
|
52
|
-
i18n (1.
|
|
53
|
+
i18n (1.15.2)
|
|
53
54
|
concurrent-ruby (~> 1.0)
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
io-console (0.9.4)
|
|
56
|
+
json (3.1.0)
|
|
57
|
+
language_server-protocol (3.17.0.6)
|
|
56
58
|
lint_roller (1.1.0)
|
|
57
59
|
logger (1.7.0)
|
|
58
|
-
loofah (2.25.
|
|
60
|
+
loofah (2.25.2)
|
|
59
61
|
crass (~> 1.0.2)
|
|
60
62
|
nokogiri (>= 1.12.0)
|
|
61
|
-
minitest (6.0.
|
|
63
|
+
minitest (6.0.6)
|
|
64
|
+
drb (~> 2.0)
|
|
62
65
|
prism (~> 1.5)
|
|
63
|
-
nokogiri (1.19.
|
|
66
|
+
nokogiri (1.19.4-x86_64-darwin)
|
|
64
67
|
racc (~> 1.4)
|
|
65
|
-
parallel (
|
|
66
|
-
parser (3.3.
|
|
68
|
+
parallel (2.3.0)
|
|
69
|
+
parser (3.3.13.0)
|
|
67
70
|
ast (~> 2.4.1)
|
|
68
71
|
racc
|
|
69
|
-
prism (1.
|
|
72
|
+
prism (1.9.0)
|
|
70
73
|
racc (1.8.1)
|
|
71
|
-
rack (3.2.
|
|
72
|
-
rack-session (2.1.
|
|
74
|
+
rack (3.2.7)
|
|
75
|
+
rack-session (2.1.2)
|
|
73
76
|
base64 (>= 0.1.0)
|
|
74
77
|
rack (>= 3.0.0)
|
|
75
|
-
rack-test (2.
|
|
78
|
+
rack-test (2.3.0)
|
|
76
79
|
rack (>= 1.3)
|
|
77
80
|
rails-dom-testing (2.3.0)
|
|
78
81
|
activesupport (>= 5.0.0)
|
|
79
82
|
minitest
|
|
80
83
|
nokogiri (>= 1.6)
|
|
81
|
-
rails-html-sanitizer (1.
|
|
82
|
-
loofah (~> 2.
|
|
84
|
+
rails-html-sanitizer (1.7.1)
|
|
85
|
+
loofah (~> 2.25, >= 2.25.2)
|
|
83
86
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
84
87
|
rainbow (3.1.1)
|
|
85
|
-
rake (13.
|
|
86
|
-
regexp_parser (2.
|
|
88
|
+
rake (13.4.2)
|
|
89
|
+
regexp_parser (2.13.1)
|
|
90
|
+
reline (0.7.0)
|
|
91
|
+
io-console (~> 0.5)
|
|
87
92
|
rspec (3.13.2)
|
|
88
93
|
rspec-core (~> 3.13.0)
|
|
89
94
|
rspec-expectations (~> 3.13.0)
|
|
@@ -93,38 +98,39 @@ GEM
|
|
|
93
98
|
rspec-expectations (3.13.5)
|
|
94
99
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
95
100
|
rspec-support (~> 3.13.0)
|
|
96
|
-
rspec-mocks (3.13.
|
|
101
|
+
rspec-mocks (3.13.8)
|
|
97
102
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
98
103
|
rspec-support (~> 3.13.0)
|
|
99
|
-
rspec-support (3.13.
|
|
100
|
-
rubocop (1.
|
|
101
|
-
json (
|
|
104
|
+
rspec-support (3.13.7)
|
|
105
|
+
rubocop (1.92.1)
|
|
106
|
+
json (>= 2.3)
|
|
102
107
|
language_server-protocol (~> 3.17.0.2)
|
|
103
108
|
lint_roller (~> 1.1.0)
|
|
104
|
-
parallel (
|
|
109
|
+
parallel (>= 1.10)
|
|
105
110
|
parser (>= 3.3.0.2)
|
|
106
111
|
rainbow (>= 2.2.2, < 4.0)
|
|
107
|
-
regexp_parser (>= 2.
|
|
108
|
-
rubocop-ast (>= 1.
|
|
112
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
113
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
109
114
|
ruby-progressbar (~> 1.7)
|
|
110
115
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
111
|
-
rubocop-ast (1.
|
|
116
|
+
rubocop-ast (1.50.0)
|
|
112
117
|
parser (>= 3.3.7.2)
|
|
113
118
|
prism (~> 1.7)
|
|
114
119
|
rubocop-rake (0.7.1)
|
|
115
120
|
lint_roller (~> 1.1)
|
|
116
121
|
rubocop (>= 1.72.1)
|
|
117
|
-
rubocop-rspec (3.
|
|
122
|
+
rubocop-rspec (3.10.2)
|
|
118
123
|
lint_roller (~> 1.1)
|
|
119
|
-
|
|
124
|
+
regexp_parser (>= 2.0)
|
|
125
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
120
126
|
ruby-progressbar (1.13.0)
|
|
121
127
|
securerandom (0.4.1)
|
|
122
128
|
tzinfo (2.0.6)
|
|
123
129
|
concurrent-ruby (~> 1.0)
|
|
124
|
-
unicode-display_width (3.
|
|
125
|
-
unicode-emoji (~> 4.
|
|
126
|
-
unicode-emoji (4.
|
|
127
|
-
uri (1.1.
|
|
130
|
+
unicode-display_width (3.3.0)
|
|
131
|
+
unicode-emoji (~> 4.3)
|
|
132
|
+
unicode-emoji (4.3.0)
|
|
133
|
+
uri (1.1.2)
|
|
128
134
|
useragent (0.16.11)
|
|
129
135
|
|
|
130
136
|
PLATFORMS
|
|
@@ -143,4 +149,4 @@ DEPENDENCIES
|
|
|
143
149
|
rubocop-rspec (>= 2.25)
|
|
144
150
|
|
|
145
151
|
BUNDLED WITH
|
|
146
|
-
|
|
152
|
+
4.1.0
|
data/bp3-action_dispatch.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
# spec.description = "TODO: Write a longer description or delete this line."
|
|
13
13
|
spec.homepage = 'https://www.black-phoebe.com'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
-
spec.required_ruby_version = '>=
|
|
15
|
+
spec.required_ruby_version = '>= 4.0.10'
|
|
16
16
|
|
|
17
17
|
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
|
18
18
|
|
|
@@ -4,29 +4,8 @@ module Bp3
|
|
|
4
4
|
module ActionDispatch
|
|
5
5
|
module RequestHost
|
|
6
6
|
def normalized_host
|
|
7
|
-
return host if valid_host?(host)
|
|
8
|
-
return forwarded_host if valid_host?(forwarded_host)
|
|
9
|
-
|
|
10
7
|
host
|
|
11
8
|
end
|
|
12
|
-
|
|
13
|
-
private
|
|
14
|
-
|
|
15
|
-
def forwarded_host
|
|
16
|
-
@forwarded_host ||= env['X-Forwarded-Host']
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
def valid_host?(host)
|
|
20
|
-
host.present? && !ip_address?(host)
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def ip_address?(host)
|
|
24
|
-
return false if host.blank?
|
|
25
|
-
return true if Resolv::IPv4::Regex.match?(host)
|
|
26
|
-
return true if Resolv::IPv6::Regex.match?(host)
|
|
27
|
-
|
|
28
|
-
false
|
|
29
|
-
end
|
|
30
9
|
end
|
|
31
10
|
end
|
|
32
11
|
end
|
data/lib/bp3/action_dispatch.rb
CHANGED
metadata
CHANGED
|
@@ -1,189 +1,209 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bp3-action_dispatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Wim den Braven
|
|
7
|
+
- Wim den Braven
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- !ruby/object:Gem::
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
- !ruby/object:Gem::
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
- !ruby/object:Gem::Dependency
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: actionpack
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ~>
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "8.1"
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
-
|
|
25
|
+
- ~>
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: "8.1"
|
|
28
|
+
- !ruby/object:Gem::Dependency
|
|
29
|
+
name: activesupport
|
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
|
31
|
+
requirements:
|
|
32
|
+
-
|
|
33
|
+
- ~>
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: "8.1"
|
|
36
|
+
type: :runtime
|
|
37
|
+
prerelease: false
|
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: "8.1"
|
|
44
|
+
- !ruby/object:Gem::Dependency
|
|
45
|
+
name: i18n
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: 1.8.11
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: 1.8.11
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: byebug
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "0"
|
|
68
|
+
type: :development
|
|
69
|
+
prerelease: false
|
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "0"
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: rake
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "13.0"
|
|
84
|
+
type: :development
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ">="
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: "13.0"
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: rspec
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "3.0"
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "3.0"
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: rubocop
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "1.21"
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "1.21"
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: rubocop-rake
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: "0.6"
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: "0.6"
|
|
140
|
+
- !ruby/object:Gem::Dependency
|
|
141
|
+
name: rubocop-rspec
|
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
-
|
|
145
|
+
- ">="
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: "2.25"
|
|
148
|
+
type: :development
|
|
149
|
+
prerelease: false
|
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: "2.25"
|
|
138
156
|
email:
|
|
139
|
-
- wimdenbraven@persuavis.com
|
|
157
|
+
- wimdenbraven@persuavis.com
|
|
140
158
|
executables: []
|
|
141
159
|
extensions: []
|
|
142
160
|
extra_rdoc_files: []
|
|
143
161
|
files:
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
- Gemfile
|
|
150
|
-
- Gemfile.lock
|
|
151
|
-
- LICENSE.txt
|
|
152
|
-
- README.md
|
|
153
|
-
- Rakefile
|
|
154
|
-
- bp3-action_dispatch.gemspec
|
|
155
|
-
- lib/bp3-action_dispatch.rb
|
|
156
|
-
- lib/bp3/action_dispatch.rb
|
|
157
|
-
- lib/bp3/action_dispatch/railtie.rb
|
|
158
|
-
- lib/bp3/action_dispatch/request_host.rb
|
|
159
|
-
- lib/bp3/action_dispatch/request_locale.rb
|
|
160
|
-
- lib/bp3/action_dispatch/request_site.rb
|
|
161
|
-
- lib/bp3/action_dispatch/version.rb
|
|
162
|
-
- sig/bp3/action_dispatch.rbs
|
|
163
|
-
homepage: https://www.black-phoebe.com
|
|
162
|
+
- .rspec
|
|
163
|
+
- .rubocop.yml
|
|
164
|
+
- .yardopts
|
|
165
|
+
- CHANGELOG.md
|
|
166
|
+
- CLAUDE.md
|
|
167
|
+
- Gemfile
|
|
168
|
+
- Gemfile.lock
|
|
169
|
+
- LICENSE.txt
|
|
170
|
+
- README.md
|
|
171
|
+
- Rakefile
|
|
172
|
+
- bp3-action_dispatch.gemspec
|
|
173
|
+
- lib/bp3-action_dispatch.rb
|
|
174
|
+
- lib/bp3/action_dispatch.rb
|
|
175
|
+
- lib/bp3/action_dispatch/railtie.rb
|
|
176
|
+
- lib/bp3/action_dispatch/request_host.rb
|
|
177
|
+
- lib/bp3/action_dispatch/request_locale.rb
|
|
178
|
+
- lib/bp3/action_dispatch/request_site.rb
|
|
179
|
+
- lib/bp3/action_dispatch/version.rb
|
|
180
|
+
- sig/bp3/action_dispatch.rbs
|
|
181
|
+
homepage: "https://www.black-phoebe.com"
|
|
164
182
|
licenses:
|
|
165
|
-
- MIT
|
|
183
|
+
- MIT
|
|
166
184
|
metadata:
|
|
167
|
-
allowed_push_host: https://rubygems.org
|
|
168
|
-
homepage_uri: https://www.black-phoebe.com
|
|
169
|
-
source_code_uri: https://github.com/persuavis/bp3-action_dispatch
|
|
170
|
-
changelog_uri: https://github.com/persuavis/bp3-action_dispatch/blob/main/CHANGELOG.md
|
|
171
|
-
rubygems_mfa_required:
|
|
185
|
+
allowed_push_host: "https://rubygems.org"
|
|
186
|
+
homepage_uri: "https://www.black-phoebe.com"
|
|
187
|
+
source_code_uri: "https://github.com/persuavis/bp3-action_dispatch"
|
|
188
|
+
changelog_uri: "https://github.com/persuavis/bp3-action_dispatch/blob/main/CHANGELOG.md"
|
|
189
|
+
rubygems_mfa_required: "true"
|
|
172
190
|
rdoc_options: []
|
|
173
191
|
require_paths:
|
|
174
|
-
- lib
|
|
192
|
+
- lib
|
|
175
193
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
194
|
requirements:
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
195
|
+
-
|
|
196
|
+
- ">="
|
|
197
|
+
- !ruby/object:Gem::Version
|
|
198
|
+
version: 4.0.10
|
|
180
199
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
200
|
requirements:
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
201
|
+
-
|
|
202
|
+
- ">="
|
|
203
|
+
- !ruby/object:Gem::Version
|
|
204
|
+
version: "0"
|
|
185
205
|
requirements: []
|
|
186
|
-
rubygems_version:
|
|
206
|
+
rubygems_version: 4.1.0
|
|
187
207
|
specification_version: 4
|
|
188
|
-
summary: bp3-action_dispatch adapts ActionDispatch::Request for BP3 (persuavis/black_phoebe_3).
|
|
208
|
+
summary: "bp3-action_dispatch adapts ActionDispatch::Request for BP3 (persuavis/black_phoebe_3)."
|
|
189
209
|
test_files: []
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ruby-3.4.6
|