bp3-action_dispatch 0.1.5 → 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 +2 -2
- data/CHANGELOG.md +13 -0
- data/CLAUDE.md +60 -0
- data/Gemfile.lock +71 -59
- data/bp3-action_dispatch.gemspec +3 -3
- 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,18 @@
|
|
|
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
|
+
|
|
12
|
+
## [0.1.6] - 2026-01-12
|
|
13
|
+
|
|
14
|
+
- Update gems
|
|
15
|
+
|
|
3
16
|
## [0.1.5] - 2025-09-19
|
|
4
17
|
|
|
5
18
|
- Update ruby version to 3.4.6
|
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,17 +1,17 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bp3-action_dispatch (0.
|
|
5
|
-
actionpack (
|
|
6
|
-
activesupport (
|
|
4
|
+
bp3-action_dispatch (0.2.0)
|
|
5
|
+
actionpack (~> 8.1)
|
|
6
|
+
activesupport (~> 8.1)
|
|
7
7
|
i18n (>= 1.8.11)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
actionpack (8.
|
|
13
|
-
actionview (= 8.
|
|
14
|
-
activesupport (= 8.
|
|
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,106 +19,118 @@ GEM
|
|
|
19
19
|
rails-dom-testing (~> 2.2)
|
|
20
20
|
rails-html-sanitizer (~> 1.6)
|
|
21
21
|
useragent (~> 0.16)
|
|
22
|
-
actionview (8.
|
|
23
|
-
activesupport (= 8.
|
|
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.
|
|
28
|
+
activesupport (8.1.4)
|
|
29
29
|
base64
|
|
30
|
-
benchmark (>= 0.3)
|
|
31
30
|
bigdecimal
|
|
32
31
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
33
32
|
connection_pool (>= 2.2.5)
|
|
34
33
|
drb
|
|
35
34
|
i18n (>= 1.6, < 2)
|
|
35
|
+
json
|
|
36
36
|
logger (>= 1.4.2)
|
|
37
37
|
minitest (>= 5.1)
|
|
38
38
|
securerandom (>= 0.3)
|
|
39
39
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
40
40
|
uri (>= 0.13.1)
|
|
41
|
-
ast (2.4.
|
|
42
|
-
base64 (0.
|
|
43
|
-
|
|
44
|
-
bigdecimal (3.1.9)
|
|
41
|
+
ast (2.4.3)
|
|
42
|
+
base64 (0.3.0)
|
|
43
|
+
bigdecimal (4.1.3)
|
|
45
44
|
builder (3.3.0)
|
|
46
|
-
byebug (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
byebug (13.0.0)
|
|
46
|
+
reline (>= 0.6.0)
|
|
47
|
+
concurrent-ruby (1.3.8)
|
|
48
|
+
connection_pool (3.0.2)
|
|
49
|
+
crass (1.0.8)
|
|
50
|
+
diff-lcs (1.6.2)
|
|
51
|
+
drb (2.2.3)
|
|
52
52
|
erubi (1.13.1)
|
|
53
|
-
i18n (1.
|
|
53
|
+
i18n (1.15.2)
|
|
54
54
|
concurrent-ruby (~> 1.0)
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
io-console (0.9.4)
|
|
56
|
+
json (3.1.0)
|
|
57
|
+
language_server-protocol (3.17.0.6)
|
|
58
|
+
lint_roller (1.1.0)
|
|
59
|
+
logger (1.7.0)
|
|
60
|
+
loofah (2.25.2)
|
|
59
61
|
crass (~> 1.0.2)
|
|
60
62
|
nokogiri (>= 1.12.0)
|
|
61
|
-
minitest (
|
|
62
|
-
|
|
63
|
+
minitest (6.0.6)
|
|
64
|
+
drb (~> 2.0)
|
|
65
|
+
prism (~> 1.5)
|
|
66
|
+
nokogiri (1.19.4-x86_64-darwin)
|
|
63
67
|
racc (~> 1.4)
|
|
64
|
-
parallel (
|
|
65
|
-
parser (3.3.
|
|
68
|
+
parallel (2.3.0)
|
|
69
|
+
parser (3.3.13.0)
|
|
66
70
|
ast (~> 2.4.1)
|
|
67
71
|
racc
|
|
72
|
+
prism (1.9.0)
|
|
68
73
|
racc (1.8.1)
|
|
69
|
-
rack (3.
|
|
70
|
-
rack-session (2.1.
|
|
74
|
+
rack (3.2.7)
|
|
75
|
+
rack-session (2.1.2)
|
|
71
76
|
base64 (>= 0.1.0)
|
|
72
77
|
rack (>= 3.0.0)
|
|
73
|
-
rack-test (2.
|
|
78
|
+
rack-test (2.3.0)
|
|
74
79
|
rack (>= 1.3)
|
|
75
|
-
rails-dom-testing (2.
|
|
80
|
+
rails-dom-testing (2.3.0)
|
|
76
81
|
activesupport (>= 5.0.0)
|
|
77
82
|
minitest
|
|
78
83
|
nokogiri (>= 1.6)
|
|
79
|
-
rails-html-sanitizer (1.
|
|
80
|
-
loofah (~> 2.
|
|
84
|
+
rails-html-sanitizer (1.7.1)
|
|
85
|
+
loofah (~> 2.25, >= 2.25.2)
|
|
81
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)
|
|
82
87
|
rainbow (3.1.1)
|
|
83
|
-
rake (13.2
|
|
84
|
-
regexp_parser (2.
|
|
85
|
-
|
|
88
|
+
rake (13.4.2)
|
|
89
|
+
regexp_parser (2.13.1)
|
|
90
|
+
reline (0.7.0)
|
|
91
|
+
io-console (~> 0.5)
|
|
92
|
+
rspec (3.13.2)
|
|
86
93
|
rspec-core (~> 3.13.0)
|
|
87
94
|
rspec-expectations (~> 3.13.0)
|
|
88
95
|
rspec-mocks (~> 3.13.0)
|
|
89
|
-
rspec-core (3.13.
|
|
96
|
+
rspec-core (3.13.6)
|
|
90
97
|
rspec-support (~> 3.13.0)
|
|
91
|
-
rspec-expectations (3.13.
|
|
98
|
+
rspec-expectations (3.13.5)
|
|
92
99
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
93
100
|
rspec-support (~> 3.13.0)
|
|
94
|
-
rspec-mocks (3.13.
|
|
101
|
+
rspec-mocks (3.13.8)
|
|
95
102
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
96
103
|
rspec-support (~> 3.13.0)
|
|
97
|
-
rspec-support (3.13.
|
|
98
|
-
rubocop (1.
|
|
99
|
-
json (
|
|
100
|
-
language_server-protocol (
|
|
101
|
-
|
|
104
|
+
rspec-support (3.13.7)
|
|
105
|
+
rubocop (1.92.1)
|
|
106
|
+
json (>= 2.3)
|
|
107
|
+
language_server-protocol (~> 3.17.0.2)
|
|
108
|
+
lint_roller (~> 1.1.0)
|
|
109
|
+
parallel (>= 1.10)
|
|
102
110
|
parser (>= 3.3.0.2)
|
|
103
111
|
rainbow (>= 2.2.2, < 4.0)
|
|
104
|
-
regexp_parser (>= 2.
|
|
105
|
-
rubocop-ast (>= 1.
|
|
112
|
+
regexp_parser (>= 2.11.3, < 3.0)
|
|
113
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
106
114
|
ruby-progressbar (~> 1.7)
|
|
107
115
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
108
|
-
rubocop-ast (1.
|
|
109
|
-
parser (>= 3.3.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
rubocop (
|
|
116
|
+
rubocop-ast (1.50.0)
|
|
117
|
+
parser (>= 3.3.7.2)
|
|
118
|
+
prism (~> 1.7)
|
|
119
|
+
rubocop-rake (0.7.1)
|
|
120
|
+
lint_roller (~> 1.1)
|
|
121
|
+
rubocop (>= 1.72.1)
|
|
122
|
+
rubocop-rspec (3.10.2)
|
|
123
|
+
lint_roller (~> 1.1)
|
|
124
|
+
regexp_parser (>= 2.0)
|
|
125
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
114
126
|
ruby-progressbar (1.13.0)
|
|
115
127
|
securerandom (0.4.1)
|
|
116
128
|
tzinfo (2.0.6)
|
|
117
129
|
concurrent-ruby (~> 1.0)
|
|
118
|
-
unicode-display_width (3.
|
|
119
|
-
unicode-emoji (~> 4.
|
|
120
|
-
unicode-emoji (4.0
|
|
121
|
-
uri (1.
|
|
130
|
+
unicode-display_width (3.3.0)
|
|
131
|
+
unicode-emoji (~> 4.3)
|
|
132
|
+
unicode-emoji (4.3.0)
|
|
133
|
+
uri (1.1.2)
|
|
122
134
|
useragent (0.16.11)
|
|
123
135
|
|
|
124
136
|
PLATFORMS
|
|
@@ -137,4 +149,4 @@ DEPENDENCIES
|
|
|
137
149
|
rubocop-rspec (>= 2.25)
|
|
138
150
|
|
|
139
151
|
BUNDLED WITH
|
|
140
|
-
|
|
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
|
|
|
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
32
32
|
spec.require_paths = ['lib']
|
|
33
33
|
|
|
34
|
-
spec.add_dependency 'actionpack', '
|
|
35
|
-
spec.add_dependency 'activesupport', '
|
|
34
|
+
spec.add_dependency 'actionpack', '~> 8.1'
|
|
35
|
+
spec.add_dependency 'activesupport', '~> 8.1'
|
|
36
36
|
spec.add_dependency 'i18n', '>= 1.8.11'
|
|
37
37
|
|
|
38
38
|
spec.add_development_dependency 'byebug'
|
|
@@ -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
|