bp3-core 0.5.0 → 0.7.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 +11 -1
- data/Gemfile.lock +35 -28
- data/bp3-core.gemspec +1 -1
- data/lib/bp3/core/rqid.rb +1 -1
- data/lib/bp3/core/system_logs.rb +2 -2
- data/lib/bp3/core/tenantable.rb +50 -0
- data/lib/bp3/core/version.rb +1 -1
- metadata +175 -157
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b23257b58b9302540dfb2e23176bda96f7a7129bfb58b27ed15c7d0d686bda00
|
|
4
|
+
data.tar.gz: e2aeed8779055cdbc8628a5fd5a9ddd21d13378e6a0b6a5711d2a8cf1e1d757a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f5ed8ded34381142ed75021d27f846ed3d102b9c5cd7f1cb784732eab53d6062ec5d6a752ca1c396a6c0e93cf2eb2e15efefe125235cef7bb83cb2965109b56
|
|
7
|
+
data.tar.gz: 2458e2c43d74b91bdc31f793a27b026ed07bff3c9f2e17625c2ce95ce43446adaaec77914996f3db5e39de656efb51f83e3d2783667a45d51fcf168cd22a7fb9
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## [0.7.0] - 2026-11-20
|
|
4
|
+
|
|
5
|
+
- Require Ruby 4.0.10 and update Bundler to 4.1.0
|
|
6
|
+
- Remove constantize memoization
|
|
7
|
+
|
|
8
|
+
## [0.6.0] - 2026-11-14
|
|
9
|
+
|
|
10
|
+
### Breaking (in a good way)
|
|
11
|
+
|
|
12
|
+
- Validate that belongs_to records match site
|
|
13
|
+
- Update gems
|
|
4
14
|
|
|
5
15
|
## [0.5.0] - 2026-11-02
|
|
6
16
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bp3-core (0.
|
|
4
|
+
bp3-core (0.7.0)
|
|
5
5
|
actionview (~> 8.1)
|
|
6
6
|
activesupport (~> 8.1)
|
|
7
7
|
bp3-request_state (~> 0.1)
|
|
@@ -9,9 +9,9 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
actionpack (8.1.4)
|
|
13
|
-
actionview (= 8.1.4)
|
|
14
|
-
activesupport (= 8.1.4)
|
|
12
|
+
actionpack (8.1.4.1)
|
|
13
|
+
actionview (= 8.1.4.1)
|
|
14
|
+
activesupport (= 8.1.4.1)
|
|
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.4)
|
|
23
|
-
activesupport (= 8.1.4)
|
|
22
|
+
actionview (8.1.4.1)
|
|
23
|
+
activesupport (= 8.1.4.1)
|
|
24
24
|
builder (~> 3.1)
|
|
25
25
|
erubi (~> 1.11)
|
|
26
26
|
rails-dom-testing (~> 2.2)
|
|
27
|
-
rails-html-sanitizer (~> 1.6)
|
|
28
|
-
activesupport (8.1.4)
|
|
27
|
+
rails-html-sanitizer (~> 1.6, >= 1.7.2)
|
|
28
|
+
activesupport (8.1.4.1)
|
|
29
29
|
base64
|
|
30
30
|
bigdecimal
|
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -48,7 +48,7 @@ GEM
|
|
|
48
48
|
request_store (>= 1.5.1)
|
|
49
49
|
builder (3.3.0)
|
|
50
50
|
concurrent-ruby (1.3.8)
|
|
51
|
-
connection_pool (3.0.
|
|
51
|
+
connection_pool (3.0.3)
|
|
52
52
|
crass (1.0.8)
|
|
53
53
|
diff-lcs (1.6.2)
|
|
54
54
|
drb (2.2.3)
|
|
@@ -59,22 +59,27 @@ GEM
|
|
|
59
59
|
language_server-protocol (3.17.0.6)
|
|
60
60
|
lint_roller (1.1.0)
|
|
61
61
|
logger (1.7.0)
|
|
62
|
-
loofah (2.25.
|
|
62
|
+
loofah (2.25.3)
|
|
63
63
|
crass (~> 1.0.2)
|
|
64
|
-
nokogiri (>= 1.
|
|
65
|
-
|
|
64
|
+
nokogiri (>= 1.19.5)
|
|
65
|
+
mini_portile2 (2.8.9)
|
|
66
|
+
minitest (6.1.0)
|
|
66
67
|
drb (~> 2.0)
|
|
67
|
-
prism (
|
|
68
|
-
nokogiri (1.19.
|
|
68
|
+
prism (>= 1.5, < 3)
|
|
69
|
+
nokogiri (1.19.7)
|
|
70
|
+
mini_portile2 (~> 2.8.2)
|
|
71
|
+
racc (~> 1.4)
|
|
72
|
+
nokogiri (1.19.7-x86_64-darwin)
|
|
69
73
|
racc (~> 1.4)
|
|
70
74
|
ostruct (0.6.3)
|
|
71
75
|
parallel (2.3.0)
|
|
72
|
-
parser (3.3.
|
|
76
|
+
parser (3.3.14.0)
|
|
73
77
|
ast (~> 2.4.1)
|
|
74
78
|
racc
|
|
75
|
-
prism (1.
|
|
79
|
+
prism (2.1.0)
|
|
80
|
+
prism (2.1.0-x86_64-darwin)
|
|
76
81
|
racc (1.8.1)
|
|
77
|
-
rack (3.2.
|
|
82
|
+
rack (3.2.8)
|
|
78
83
|
rack-session (2.1.2)
|
|
79
84
|
base64 (>= 0.1.0)
|
|
80
85
|
rack (>= 3.0.0)
|
|
@@ -84,28 +89,28 @@ GEM
|
|
|
84
89
|
activesupport (>= 5.0.0)
|
|
85
90
|
minitest
|
|
86
91
|
nokogiri (>= 1.6)
|
|
87
|
-
rails-html-sanitizer (1.7.
|
|
88
|
-
loofah (~> 2.25, >= 2.25.
|
|
92
|
+
rails-html-sanitizer (1.7.2)
|
|
93
|
+
loofah (~> 2.25, >= 2.25.3)
|
|
89
94
|
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)
|
|
90
95
|
rainbow (3.1.1)
|
|
91
96
|
rake (13.4.2)
|
|
92
|
-
regexp_parser (2.13.
|
|
97
|
+
regexp_parser (2.13.4)
|
|
93
98
|
request_store (1.7.0)
|
|
94
99
|
rack (>= 1.4)
|
|
95
100
|
rspec (3.13.2)
|
|
96
101
|
rspec-core (~> 3.13.0)
|
|
97
102
|
rspec-expectations (~> 3.13.0)
|
|
98
103
|
rspec-mocks (~> 3.13.0)
|
|
99
|
-
rspec-core (3.13.
|
|
104
|
+
rspec-core (3.13.7)
|
|
100
105
|
rspec-support (~> 3.13.0)
|
|
101
|
-
rspec-expectations (3.13.
|
|
106
|
+
rspec-expectations (3.13.6)
|
|
102
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
103
108
|
rspec-support (~> 3.13.0)
|
|
104
|
-
rspec-mocks (3.13.
|
|
109
|
+
rspec-mocks (3.13.9)
|
|
105
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
106
111
|
rspec-support (~> 3.13.0)
|
|
107
|
-
rspec-support (3.13.
|
|
108
|
-
rubocop (1.92.
|
|
112
|
+
rspec-support (3.13.8)
|
|
113
|
+
rubocop (1.92.3)
|
|
109
114
|
json (>= 2.3)
|
|
110
115
|
language_server-protocol (~> 3.17.0.2)
|
|
111
116
|
lint_roller (~> 1.1.0)
|
|
@@ -116,9 +121,11 @@ GEM
|
|
|
116
121
|
rubocop-ast (>= 1.49.0, < 2.0)
|
|
117
122
|
ruby-progressbar (~> 1.7)
|
|
118
123
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
119
|
-
rubocop-ast (1.
|
|
124
|
+
rubocop-ast (1.53.0)
|
|
125
|
+
ast (~> 2.4)
|
|
120
126
|
parser (>= 3.3.7.2)
|
|
121
|
-
prism (
|
|
127
|
+
prism (>= 1.7)
|
|
128
|
+
racc
|
|
122
129
|
rubocop-rake (0.7.1)
|
|
123
130
|
lint_roller (~> 1.1)
|
|
124
131
|
rubocop (>= 1.72.1)
|
|
@@ -151,4 +158,4 @@ DEPENDENCIES
|
|
|
151
158
|
rubocop-rspec (>= 2.25)
|
|
152
159
|
|
|
153
160
|
BUNDLED WITH
|
|
154
|
-
|
|
161
|
+
4.1.0
|
data/bp3-core.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
|
|
data/lib/bp3/core/rqid.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Bp3
|
|
|
8
8
|
mattr_accessor :global_request_state_class_name, :global_request_state_method
|
|
9
9
|
|
|
10
10
|
def self.global_request_state_class
|
|
11
|
-
|
|
11
|
+
global_request_state_class_name.constantize
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
included do
|
data/lib/bp3/core/system_logs.rb
CHANGED
|
@@ -13,11 +13,11 @@ module Bp3
|
|
|
13
13
|
mattr_accessor :system_exception_name, :system_log_name
|
|
14
14
|
|
|
15
15
|
def self.system_exception_class
|
|
16
|
-
|
|
16
|
+
system_exception_name.constantize
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def self.system_log_class
|
|
20
|
-
|
|
20
|
+
system_log_name.constantize
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
# Class methods for use in contexts without instance methods
|
data/lib/bp3/core/tenantable.rb
CHANGED
|
@@ -5,6 +5,9 @@ module Bp3
|
|
|
5
5
|
module Tenantable
|
|
6
6
|
extend ActiveSupport::Concern
|
|
7
7
|
|
|
8
|
+
# The belongs_to associations with a site check of their own
|
|
9
|
+
SITE_CHECKED_ASSOCIATIONS = %i[sites_site tenant workspaces_workspace].freeze
|
|
10
|
+
|
|
8
11
|
# The application's request state, the Bp3::RequestState::Base subclass Bp3::Core::Rqid is
|
|
9
12
|
# configured with
|
|
10
13
|
def self.global_request_state
|
|
@@ -70,6 +73,51 @@ module Bp3
|
|
|
70
73
|
errors.add(:workspaces_workspace, :must_match_site)
|
|
71
74
|
end
|
|
72
75
|
|
|
76
|
+
# Every record the row belongs to that has a site must have the row's site. A root's default scope
|
|
77
|
+
# reaches every site, so an id from another site is found and would otherwise be stored. Checked
|
|
78
|
+
# when the foreign key, or a polymorphic type, is set or changed, so an unchanged row costs nothing.
|
|
79
|
+
def belongs_to_records_match_site
|
|
80
|
+
site_id = sites_site_id || sites_site&.id
|
|
81
|
+
return if site_id.nil?
|
|
82
|
+
|
|
83
|
+
self.class.reflect_on_all_associations(:belongs_to).each do |reflection|
|
|
84
|
+
next if SITE_CHECKED_ASSOCIATIONS.include?(reflection.name) || !belonged_record_changed?(reflection)
|
|
85
|
+
|
|
86
|
+
belonged_site_id = belonged_record_site_id(reflection)
|
|
87
|
+
next if belonged_site_id.nil? || belonged_site_id == site_id
|
|
88
|
+
|
|
89
|
+
errors.add(reflection.name, :must_match_site)
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
def belonged_record_changed?(reflection)
|
|
94
|
+
attribute_changed?(reflection.foreign_key.to_s) ||
|
|
95
|
+
(reflection.polymorphic? && attribute_changed?(reflection.foreign_type.to_s)) ||
|
|
96
|
+
association(reflection.name).target&.new_record?
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# The site of the record the association points to, nil when that record has no site
|
|
100
|
+
def belonged_record_site_id(reflection)
|
|
101
|
+
loaded = association(reflection.name)
|
|
102
|
+
if loaded.loaded? && !loaded.stale_target? && loaded.target
|
|
103
|
+
return loaded.target.respond_to?(:sites_site_id) ? loaded.target.sites_site_id : nil
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
klass = belonged_record_class(reflection)
|
|
107
|
+
id = self[reflection.foreign_key]
|
|
108
|
+
return if klass.nil? || id.nil? || !klass.column_names.include?('sites_site_id')
|
|
109
|
+
|
|
110
|
+
klass.unscoped.where(klass.primary_key => id).pick(:sites_site_id)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
def belonged_record_class(reflection)
|
|
114
|
+
klass = reflection.polymorphic? ? self[reflection.foreign_type]&.safe_constantize : reflection.klass
|
|
115
|
+
klass if klass.is_a?(Class) && klass < ActiveRecord::Base
|
|
116
|
+
rescue NameError
|
|
117
|
+
nil
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# rubocop:disable-next Metrics/BlockLength
|
|
73
121
|
class_methods do
|
|
74
122
|
def configure_tenancy(tenancy_configuration = {})
|
|
75
123
|
@tenancy_configuration = default_configuration.merge(tenancy_configuration)
|
|
@@ -93,6 +141,8 @@ module Bp3
|
|
|
93
141
|
|
|
94
142
|
before_validation :set_sites_site_id
|
|
95
143
|
|
|
144
|
+
validate :belongs_to_records_match_site
|
|
145
|
+
|
|
96
146
|
default_scope lambda {
|
|
97
147
|
site = Bp3::Core::Tenantable.global_request_state.either_site
|
|
98
148
|
site = nil if Bp3::Core::Tenantable.reaches_every_site?
|
data/lib/bp3/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,183 +1,201 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bp3-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.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
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: actionview
|
|
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: bp3-request_state
|
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ~>
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: "0.1"
|
|
52
|
+
type: :runtime
|
|
53
|
+
prerelease: false
|
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ~>
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: "0.1"
|
|
60
|
+
- !ruby/object:Gem::Dependency
|
|
61
|
+
name: rake
|
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ">="
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "13.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: "13.0"
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: rspec
|
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "3.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: "3.0"
|
|
92
|
+
- !ruby/object:Gem::Dependency
|
|
93
|
+
name: rubocop
|
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "1.21"
|
|
100
|
+
type: :development
|
|
101
|
+
prerelease: false
|
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "1.21"
|
|
108
|
+
- !ruby/object:Gem::Dependency
|
|
109
|
+
name: rubocop-rake
|
|
110
|
+
requirement: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ">="
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "0.6"
|
|
116
|
+
type: :development
|
|
117
|
+
prerelease: false
|
|
118
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "0.6"
|
|
124
|
+
- !ruby/object:Gem::Dependency
|
|
125
|
+
name: rubocop-rspec
|
|
126
|
+
requirement: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: "2.25"
|
|
132
|
+
type: :development
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ">="
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: "2.25"
|
|
124
140
|
email:
|
|
125
|
-
- wimdenbraven@persuavis.com
|
|
141
|
+
- wimdenbraven@persuavis.com
|
|
126
142
|
executables: []
|
|
127
143
|
extensions: []
|
|
128
144
|
extra_rdoc_files: []
|
|
129
145
|
files:
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
- CHANGELOG.md
|
|
134
|
-
- CLAUDE.md
|
|
135
|
-
- Gemfile
|
|
136
|
-
- Gemfile.lock
|
|
137
|
-
- LICENSE.txt
|
|
138
|
-
- README.md
|
|
139
|
-
- Rakefile
|
|
140
|
-
- bp3-core.gemspec
|
|
141
|
-
- lib/bp3-core.rb
|
|
142
|
-
- lib/bp3/core.rb
|
|
143
|
-
- lib/bp3/core/actions.rb
|
|
144
|
-
- lib/bp3/core/cookies.rb
|
|
145
|
-
- lib/bp3/core/displayable.rb
|
|
146
|
-
- lib/bp3/core/feature_flags.rb
|
|
147
|
-
- lib/bp3/core/ransackable.rb
|
|
148
|
-
- lib/bp3/core/ransackable/explore.rb
|
|
149
|
-
- lib/bp3/core/rqid.rb
|
|
150
|
-
- lib/bp3/core/settings.rb
|
|
151
|
-
- lib/bp3/core/sqnr.rb
|
|
152
|
-
- lib/bp3/core/system_logs.rb
|
|
153
|
-
- lib/bp3/core/tenantable.rb
|
|
154
|
-
- lib/bp3/core/test.rb
|
|
155
|
-
- lib/bp3/core/version.rb
|
|
156
|
-
- sig/bp3/core.rbs
|
|
157
|
-
homepage: https://www.black-phoebe.com
|
|
146
|
+
- .rspec
|
|
147
|
+
- .rubocop.yml
|
|
148
|
+
- .yardopts
|
|
149
|
+
- CHANGELOG.md
|
|
150
|
+
- CLAUDE.md
|
|
151
|
+
- Gemfile
|
|
152
|
+
- Gemfile.lock
|
|
153
|
+
- LICENSE.txt
|
|
154
|
+
- README.md
|
|
155
|
+
- Rakefile
|
|
156
|
+
- bp3-core.gemspec
|
|
157
|
+
- lib/bp3-core.rb
|
|
158
|
+
- lib/bp3/core.rb
|
|
159
|
+
- lib/bp3/core/actions.rb
|
|
160
|
+
- lib/bp3/core/cookies.rb
|
|
161
|
+
- lib/bp3/core/displayable.rb
|
|
162
|
+
- lib/bp3/core/feature_flags.rb
|
|
163
|
+
- lib/bp3/core/ransackable.rb
|
|
164
|
+
- lib/bp3/core/ransackable/explore.rb
|
|
165
|
+
- lib/bp3/core/rqid.rb
|
|
166
|
+
- lib/bp3/core/settings.rb
|
|
167
|
+
- lib/bp3/core/sqnr.rb
|
|
168
|
+
- lib/bp3/core/system_logs.rb
|
|
169
|
+
- lib/bp3/core/tenantable.rb
|
|
170
|
+
- lib/bp3/core/test.rb
|
|
171
|
+
- lib/bp3/core/version.rb
|
|
172
|
+
- sig/bp3/core.rbs
|
|
173
|
+
homepage: "https://www.black-phoebe.com"
|
|
158
174
|
licenses:
|
|
159
|
-
- MIT
|
|
175
|
+
- MIT
|
|
160
176
|
metadata:
|
|
161
|
-
allowed_push_host: https://rubygems.org
|
|
162
|
-
homepage_uri: https://www.black-phoebe.com
|
|
163
|
-
source_code_uri: https://github.com/persuavis/bp3-core
|
|
164
|
-
changelog_uri: https://github.com/persuavis/bp3-core/blob/main/CHANGELOG.md
|
|
165
|
-
rubygems_mfa_required:
|
|
177
|
+
allowed_push_host: "https://rubygems.org"
|
|
178
|
+
homepage_uri: "https://www.black-phoebe.com"
|
|
179
|
+
source_code_uri: "https://github.com/persuavis/bp3-core"
|
|
180
|
+
changelog_uri: "https://github.com/persuavis/bp3-core/blob/main/CHANGELOG.md"
|
|
181
|
+
rubygems_mfa_required: "true"
|
|
166
182
|
rdoc_options: []
|
|
167
183
|
require_paths:
|
|
168
|
-
- lib
|
|
184
|
+
- lib
|
|
169
185
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
186
|
requirements:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
187
|
+
-
|
|
188
|
+
- ">="
|
|
189
|
+
- !ruby/object:Gem::Version
|
|
190
|
+
version: 4.0.10
|
|
174
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
192
|
requirements:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
193
|
+
-
|
|
194
|
+
- ">="
|
|
195
|
+
- !ruby/object:Gem::Version
|
|
196
|
+
version: "0"
|
|
179
197
|
requirements: []
|
|
180
|
-
rubygems_version: 4.0
|
|
198
|
+
rubygems_version: 4.1.0
|
|
181
199
|
specification_version: 4
|
|
182
200
|
summary: bp3-core provides core concerns for BP3 (persuavis/black_phoebe_3).
|
|
183
201
|
test_files: []
|