bp3-core 0.1.2 → 0.1.5

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: '02341017029035ce15928115c68d1b142a43d46474e8b7ea989c3c67d38ae323'
4
- data.tar.gz: 4e54a3d0c7357386472cf811707c9c990cbbd20541dad265b73d5f24224bfbaa
3
+ metadata.gz: 8689f08e5e4d4d81be12c82c89e11c04482361cbb291e1f246e3feb428e70499
4
+ data.tar.gz: 2567df95f61b1c3328b76808fe6ccf269ba304a89c2da79c84295351e512ef9e
5
5
  SHA512:
6
- metadata.gz: 88c7855cd29ba6a7d33f404d8947d75df4ea27d11bfed33ea34a242e1fe3e31624c2619935d8f5018f2df684c5973f95954e016d125d009915923b87be44247d
7
- data.tar.gz: bf68641f064961b9de03cc3cdf9a70b63d9c2e4a362d4b8b7dec70cee5564ceb550042826c480ed3d4eec68680d8bb95d0731a26f50df61352dce3e202a23606
6
+ metadata.gz: 0f85dd0d3ad073b01fc56ba4ca7d7f4e22cef238e8eac6f6070bd43794de1efa38793d10fb5ca78433e62f5f22e249b18b3ca10b008b2e0a135d8966d99a7a15
7
+ data.tar.gz: a790eb51f45b1c593b2ebc447dc009836870458a2b4a871c14efba3c3513747741da0b22b9a4af1060f5405ab3052e84c77463e5bf8d8b44405d26c297007619
data/.rubocop.yml CHANGED
@@ -1,8 +1,6 @@
1
1
  require:
2
2
  - rubocop-rake
3
3
  - rubocop-rspec
4
- - rubocop-capybara
5
- - rubocop-factory_bot
6
4
 
7
5
  AllCops:
8
6
  TargetRubyVersion: 3.2.2
data/.ruby-version CHANGED
@@ -1,2 +1,2 @@
1
- ruby-3.2.2
1
+ ruby-3.3.5
2
2
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.5] - 2024-11-18
4
+
5
+ - Use ruby 3.3.5 and relax gem constraints
6
+
7
+ ## [0.1.3] - 2024-07-31
8
+
9
+ - Ensure use of common global request state
10
+
3
11
  ## [0.1.2] - 2024-05-30
4
12
 
5
13
  - Explicit require active_support/parameter_filter
data/Gemfile.lock CHANGED
@@ -1,56 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bp3-core (0.1.2)
5
- actionview (>= 7.1.2, < 8)
6
- activesupport (>= 7.1.2, < 8)
4
+ bp3-core (0.1.5)
5
+ actionview (>= 7.1.2)
6
+ activesupport (>= 7.1.2)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actionview (7.1.3)
12
- activesupport (= 7.1.3)
11
+ actionview (8.0.0)
12
+ activesupport (= 8.0.0)
13
13
  builder (~> 3.1)
14
14
  erubi (~> 1.11)
15
15
  rails-dom-testing (~> 2.2)
16
16
  rails-html-sanitizer (~> 1.6)
17
- activesupport (7.1.3)
17
+ activesupport (8.0.0)
18
18
  base64
19
+ benchmark (>= 0.3)
19
20
  bigdecimal
20
- concurrent-ruby (~> 1.0, >= 1.0.2)
21
+ concurrent-ruby (~> 1.0, >= 1.3.1)
21
22
  connection_pool (>= 2.2.5)
22
23
  drb
23
24
  i18n (>= 1.6, < 2)
25
+ logger (>= 1.4.2)
24
26
  minitest (>= 5.1)
25
- mutex_m
26
- tzinfo (~> 2.0)
27
+ securerandom (>= 0.3)
28
+ tzinfo (~> 2.0, >= 2.0.5)
29
+ uri (>= 0.13.1)
27
30
  ast (2.4.2)
28
31
  base64 (0.2.0)
29
- bigdecimal (3.1.6)
30
- builder (3.2.4)
31
- concurrent-ruby (1.2.3)
32
+ benchmark (0.4.0)
33
+ bigdecimal (3.1.8)
34
+ builder (3.3.0)
35
+ concurrent-ruby (1.3.4)
32
36
  connection_pool (2.4.1)
33
37
  crass (1.0.6)
34
- diff-lcs (1.5.0)
35
- drb (2.2.0)
36
- ruby2_keywords
37
- erubi (1.12.0)
38
- i18n (1.14.1)
38
+ diff-lcs (1.5.1)
39
+ drb (2.2.1)
40
+ erubi (1.13.0)
41
+ i18n (1.14.6)
39
42
  concurrent-ruby (~> 1.0)
40
- json (2.7.1)
43
+ json (2.8.2)
41
44
  language_server-protocol (3.17.0.3)
42
- loofah (2.22.0)
45
+ logger (1.6.1)
46
+ loofah (2.23.1)
43
47
  crass (~> 1.0.2)
44
48
  nokogiri (>= 1.12.0)
45
- minitest (5.21.2)
46
- mutex_m (0.2.0)
47
- nokogiri (1.16.5-x86_64-darwin)
49
+ minitest (5.25.1)
50
+ nokogiri (1.16.7-x86_64-darwin)
48
51
  racc (~> 1.4)
49
- parallel (1.24.0)
50
- parser (3.3.0.4)
52
+ parallel (1.26.3)
53
+ parser (3.3.6.0)
51
54
  ast (~> 2.4.1)
52
55
  racc
53
- racc (1.7.3)
56
+ racc (1.8.1)
54
57
  rails-dom-testing (2.2.0)
55
58
  activesupport (>= 5.0.0)
56
59
  minitest
@@ -59,62 +62,56 @@ GEM
59
62
  loofah (~> 2.21)
60
63
  nokogiri (~> 1.14)
61
64
  rainbow (3.1.1)
62
- rake (13.1.0)
63
- regexp_parser (2.9.0)
64
- rexml (3.2.6)
65
- rspec (3.12.0)
66
- rspec-core (~> 3.12.0)
67
- rspec-expectations (~> 3.12.0)
68
- rspec-mocks (~> 3.12.0)
69
- rspec-core (3.12.2)
70
- rspec-support (~> 3.12.0)
71
- rspec-expectations (3.12.3)
65
+ rake (13.2.1)
66
+ regexp_parser (2.9.2)
67
+ rspec (3.13.0)
68
+ rspec-core (~> 3.13.0)
69
+ rspec-expectations (~> 3.13.0)
70
+ rspec-mocks (~> 3.13.0)
71
+ rspec-core (3.13.2)
72
+ rspec-support (~> 3.13.0)
73
+ rspec-expectations (3.13.3)
72
74
  diff-lcs (>= 1.2.0, < 2.0)
73
- rspec-support (~> 3.12.0)
74
- rspec-mocks (3.12.6)
75
+ rspec-support (~> 3.13.0)
76
+ rspec-mocks (3.13.2)
75
77
  diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.12.0)
77
- rspec-support (3.12.1)
78
- rubocop (1.60.1)
78
+ rspec-support (~> 3.13.0)
79
+ rspec-support (3.13.1)
80
+ rubocop (1.68.0)
79
81
  json (~> 2.3)
80
82
  language_server-protocol (>= 3.17.0)
81
83
  parallel (~> 1.10)
82
84
  parser (>= 3.3.0.2)
83
85
  rainbow (>= 2.2.2, < 4.0)
84
- regexp_parser (>= 1.8, < 3.0)
85
- rexml (>= 3.2.5, < 4.0)
86
- rubocop-ast (>= 1.30.0, < 2.0)
86
+ regexp_parser (>= 2.4, < 3.0)
87
+ rubocop-ast (>= 1.32.2, < 2.0)
87
88
  ruby-progressbar (~> 1.7)
88
89
  unicode-display_width (>= 2.4.0, < 3.0)
89
- rubocop-ast (1.30.0)
90
- parser (>= 3.2.1.0)
91
- rubocop-capybara (2.20.0)
92
- rubocop (~> 1.41)
93
- rubocop-factory_bot (2.25.1)
94
- rubocop (~> 1.41)
90
+ rubocop-ast (1.36.1)
91
+ parser (>= 3.3.1.0)
95
92
  rubocop-rake (0.6.0)
96
93
  rubocop (~> 1.0)
97
- rubocop-rspec (2.26.1)
98
- rubocop (~> 1.40)
99
- rubocop-capybara (~> 2.17)
100
- rubocop-factory_bot (~> 2.22)
94
+ rubocop-rspec (3.2.0)
95
+ rubocop (~> 1.61)
101
96
  ruby-progressbar (1.13.0)
102
- ruby2_keywords (0.0.5)
97
+ securerandom (0.3.2)
103
98
  tzinfo (2.0.6)
104
99
  concurrent-ruby (~> 1.0)
105
- unicode-display_width (2.5.0)
100
+ unicode-display_width (2.6.0)
101
+ uri (1.0.2)
106
102
 
107
103
  PLATFORMS
108
104
  x86_64-darwin-21
109
105
  x86_64-darwin-22
106
+ x86_64-darwin-23
110
107
 
111
108
  DEPENDENCIES
112
109
  bp3-core!
113
- rake (~> 13.0)
114
- rspec (~> 3.0)
115
- rubocop (~> 1.21)
116
- rubocop-rake (~> 0.6)
117
- rubocop-rspec (~> 2.25)
110
+ rake (>= 13.0)
111
+ rspec (>= 3.0)
112
+ rubocop (>= 1.21)
113
+ rubocop-rake (>= 0.6)
114
+ rubocop-rspec (>= 2.25)
118
115
 
119
116
  BUNDLED WITH
120
- 2.5.11
117
+ 2.5.17
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Bp3::Core
2
2
 
3
- bp3-core provides core concerns for the persuavis/black_phoebe_3 multi-site multi-tenant rails application.
3
+ bp3-core provides core concerns for BP3, the persuavis/black_phoebe_3 multi-site
4
+ multi-tenant rails application.
4
5
 
5
6
  ## Installation
6
7
 
@@ -38,10 +39,20 @@ In ActiveRecord models (or their base class) that are filtered/sorted with ransa
38
39
  ```ruby
39
40
  include Bp3::Core::Ransackable
40
41
  ```
42
+ Then in your application's `config/initializers/bp3-core`, add:
43
+ ```ruby
44
+ Bp3::Core::Ransackable.attribute_exceptions = %w[config config_id settable settable_id]
45
+ Bp3::Core::Ransackable.association_exceptions = %w[config settable]
46
+ ```
41
47
  In all ActiveRecord models (or their base class) with a request-id attribute :rqid, add:
42
48
  ```ruby
43
49
  include Bp3::Core::Rqid
44
50
  ```
51
+ Then in your application's `config/initializers/bp3-core`, add:
52
+ ```ruby
53
+ Bp3::Core::Rqid.global_request_state_class_name = 'GlobalRequestState'
54
+ Bp3::Core::Rqid.global_request_state_method = :request_id
55
+ ```
45
56
  In all ActiveRecord models (or their base class) with a sequence number attribute :sqnr, add:
46
57
  ```ruby
47
58
  include Bp3::Core::Sqnr
@@ -50,12 +61,13 @@ To use :sqnr for record ordering for a particular model, use the class macro:
50
61
  ```ruby
51
62
  use_sqnr_for_ordering
52
63
  ```
53
- In all ActiveRecord models (or their base class) that use site, tenant and/or workspace attributes that need
54
- to be populated from global state, add:
64
+ In all ActiveRecord models (or their base class) that use site, tenant and/or workspace
65
+ attributes that need to be populated from global state, add:
55
66
  ```ruby
56
67
  include Bp3::Core::Tenantable
57
68
  ```
58
69
  The specific columns expected by `Tenantable` are:
70
+
59
71
  - site: `sites_site_id`
60
72
  - tenant: `tenant_id`
61
73
  - workspace: `workspaces_workspace_id`
@@ -63,20 +75,21 @@ Tenantable will use reflection to determine which one(s) exist, and will create
63
75
 
64
76
  ## Development
65
77
 
66
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
78
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You
79
+ can also run `bin/console` for an interactive prompt that will allow you to experiment.
67
80
 
68
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
81
+ To install this gem onto your local machine, run `rake install`. To release a new version,
82
+ update the version number in `version.rb`, and then run `rake release`, which will create a git
83
+ tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
84
 
70
85
  ## Testing
71
86
  The `Bp3::Core::Test` class is for testing purposes.
72
87
 
88
+ Run `rake` to run rspec tests and rubocop linting.
89
+
73
90
  ## Documentation
74
91
  A `.yardopts` file is provided to support yard documentation.
75
92
 
76
- ## Contributing
77
-
78
- Bug reports and pull requests are welcome on GitHub at https://github.com/persuavis/bp3-core.
79
-
80
93
  ## License
81
94
 
82
95
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -1,12 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'bundler/setup'
3
4
  require 'bundler/gem_tasks'
4
5
  require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
6
  require 'rubocop/rake_task'
9
7
 
8
+ Dir.glob('lib/tasks/**/*.rake').each { |file| load file }
9
+
10
+ RSpec::Core::RakeTask.new(:spec)
10
11
  RuboCop::RakeTask.new
11
12
 
12
13
  task default: %i[spec rubocop]
data/bp3-core.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['Wim den Braven']
9
9
  spec.email = ['wimdenbraven@persuavis.com']
10
10
 
11
- spec.summary = 'bp3-core provides core concerns for black_phoebe_3.'
11
+ spec.summary = 'bp3-core provides core concerns for BP3 (persuavis/black_phoebe_3).'
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'
@@ -31,14 +31,14 @@ 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 'actionview', ['>= 7.1.2', '< 8']
35
- spec.add_dependency 'activesupport', ['>= 7.1.2', '< 8']
34
+ spec.add_dependency 'actionview', '>= 7.1.2'
35
+ spec.add_dependency 'activesupport', '>= 7.1.2'
36
36
 
37
- spec.add_development_dependency 'rake', '~> 13.0'
38
- spec.add_development_dependency 'rspec', '~> 3.0'
39
- spec.add_development_dependency 'rubocop', '~> 1.21'
40
- spec.add_development_dependency 'rubocop-rake', '~> 0.6'
41
- spec.add_development_dependency 'rubocop-rspec', '~> 2.25'
37
+ spec.add_development_dependency 'rake', '>= 13.0'
38
+ spec.add_development_dependency 'rspec', '>= 3.0'
39
+ spec.add_development_dependency 'rubocop', '>= 1.21'
40
+ spec.add_development_dependency 'rubocop-rake', '>= 0.6'
41
+ spec.add_development_dependency 'rubocop-rspec', '>= 2.25'
42
42
 
43
43
  # For more information and examples about making a new gem, check out our
44
44
  # guide at: https://bundler.io/guides/creating_gem.html
@@ -2,6 +2,7 @@
2
2
 
3
3
  module Bp3
4
4
  module Core
5
+ # rubocop:disable Metrics/ModuleLength
5
6
  module Actions
6
7
  extend ActiveSupport::Concern
7
8
 
@@ -36,16 +37,16 @@ module Bp3
36
37
  private
37
38
 
38
39
  def set_global_request_state
39
- GlobalRequestState.inbound_request = @global_request
40
- GlobalRequestState.current_user = current_user
41
- GlobalRequestState.current_admin = current_admin
42
- GlobalRequestState.current_root = current_root
43
- GlobalRequestState.locale = I18n.locale
44
- GlobalRequestState.view_context = view_context
40
+ grsc.inbound_request = @global_request
41
+ grsc.current_user = current_user
42
+ grsc.current_admin = current_admin
43
+ grsc.current_root = current_root
44
+ grsc.locale = I18n.locale
45
+ grsc.view_context = view_context
45
46
  end
46
47
 
47
48
  def set_rqid
48
- GlobalRequestState.request_id = global_rqid
49
+ grsc.request_id = global_rqid
49
50
  end
50
51
 
51
52
  def global_rqid
@@ -84,7 +85,7 @@ module Bp3
84
85
 
85
86
  def check_site
86
87
  current_site || create_site
87
- GlobalRequestState.current_site = current_site
88
+ grsc.current_site = current_site
88
89
  end
89
90
 
90
91
  def current_site
@@ -100,7 +101,7 @@ module Bp3
100
101
  # TODO: cache the workspace/regex list
101
102
  def check_workspace
102
103
  current_workspace || create_workspace
103
- GlobalRequestState.current_workspace = current_workspace
104
+ grsc.current_workspace = current_workspace
104
105
  end
105
106
 
106
107
  # TODO: move (some of) this into Workspace
@@ -127,7 +128,7 @@ module Bp3
127
128
 
128
129
  def check_tenant
129
130
  current_tenant || create_tenant
130
- GlobalRequestState.current_tenant = current_tenant
131
+ grsc.current_tenant = current_tenant
131
132
  end
132
133
 
133
134
  def current_tenant
@@ -161,7 +162,7 @@ module Bp3
161
162
  end
162
163
 
163
164
  def info_for_paper_trail
164
- state = GlobalRequestState.new
165
+ state = grsc.new
165
166
  {
166
167
  rqid: global_rqid,
167
168
  sites_site_id: state.current_site&.id,
@@ -187,7 +188,7 @@ module Bp3
187
188
  end
188
189
 
189
190
  def either_site
190
- GlobalRequestState.either_site
191
+ grsc.either_site
191
192
  end
192
193
 
193
194
  def check_site_mode
@@ -203,6 +204,11 @@ module Bp3
203
204
  break
204
205
  end
205
206
  end
207
+
208
+ def grsc
209
+ @grsc ||= Bp3::Core::Rqid.global_request_state_class
210
+ end
206
211
  end
212
+ # rubocop:enable Metrics/ModuleLength
207
213
  end
208
214
  end
@@ -64,11 +64,11 @@ module Bp3
64
64
  return if cookie_value.blank? && do_not_track
65
65
 
66
66
  sites_site_id, tenant_id, identification = cookie_value&.split('/')
67
- if sites_site_id && sites_site_id != GRS.current_site.id
68
- Rails.logger.warn { "check_visitor_cookie: site mismatch! (#{sites_site_id} and #{GRS.current_site.id}" }
67
+ if sites_site_id && sites_site_id != grsc.current_site.id
68
+ Rails.logger.warn { "check_visitor_cookie: site mismatch! (#{sites_site_id} and #{grsc.current_site.id}" }
69
69
  end
70
- if tenant_id && tenant_id != GRS.current_tenant.id
71
- Rails.logger.warn { "check_visitor_cookie: tenant mismatch! (#{tenant_id} and #{GRS.current_tenant.id}" }
70
+ if tenant_id && tenant_id != grsc.current_tenant.id
71
+ Rails.logger.warn { "check_visitor_cookie: tenant mismatch! (#{tenant_id} and #{grsc.current_tenant.id}" }
72
72
  end
73
73
  visitor = Users::Visitor.find_by(sites_site_id:, tenant_id:, identification:)
74
74
  if visitor.nil?
@@ -80,7 +80,7 @@ module Bp3
80
80
  expires: 365.days.from_now
81
81
  }
82
82
  end
83
- @current_visitor = GlobalRequestState.current_visitor = visitor
83
+ @current_visitor = grsc.current_visitor = visitor
84
84
  Rails.logger.debug do
85
85
  "check_visitor_cookie: cookie[#{visitor_cookie_name}]=#{cookies.signed[visitor_cookie_name]}"
86
86
  end
@@ -93,8 +93,8 @@ module Bp3
93
93
  return if cookie_value.blank? && do_not_track
94
94
 
95
95
  identification = cookie_value
96
- sites_site_id = GRS.current_site_id
97
- tenant_id = GRS.current_tenant_id
96
+ sites_site_id = grsc.current_site_id
97
+ tenant_id = grsc.current_tenant_id
98
98
  visitor = Users::Visitor.find_by(sites_site_id:, tenant_id:, identification:)
99
99
  if visitor.nil?
100
100
  visitor = create_visitor
@@ -105,7 +105,7 @@ module Bp3
105
105
  expires: 365.days.from_now
106
106
  }
107
107
  end
108
- @current_visitor = GlobalRequestState.current_visitor = visitor
108
+ @current_visitor = grsc.current_visitor = visitor
109
109
  Rails.logger.debug do
110
110
  "check_visitor_cookie: cookie[#{new_visitor_cookie_name}]=#{cookies.signed[new_visitor_cookie_name]}"
111
111
  end
@@ -121,18 +121,18 @@ module Bp3
121
121
  end
122
122
 
123
123
  def create_visitor
124
- Users::Visitor.create!(sites_site: GRS.current_site,
125
- tenant: GRS.current_tenant,
126
- workspaces_workspace: GRS.current_workspace,
124
+ Users::Visitor.create!(sites_site: grsc.current_site,
125
+ tenant: grsc.current_tenant,
126
+ workspaces_workspace: grsc.current_workspace,
127
127
  identification: SecureRandom.uuid)
128
128
  end
129
129
 
130
130
  def cookie_site_id
131
- GRS.current_site.id[0..7]
131
+ grsc.current_site.id[0..7]
132
132
  end
133
133
 
134
134
  def cookie_tenant_id
135
- GRS.current_tenant.id[0..7]
135
+ grsc.current_tenant.id[0..7]
136
136
  end
137
137
  end
138
138
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bp3
4
4
  module Core
5
- VERSION = '0.1.2'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bp3-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
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-05-30 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 7.1.2
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '8'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 7.1.2
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '8'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: activesupport
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -37,9 +31,6 @@ dependencies:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
33
  version: 7.1.2
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '8'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
@@ -47,77 +38,74 @@ dependencies:
47
38
  - - ">="
48
39
  - !ruby/object:Gem::Version
49
40
  version: 7.1.2
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '8'
53
41
  - !ruby/object:Gem::Dependency
54
42
  name: rake
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
- - - "~>"
45
+ - - ">="
58
46
  - !ruby/object:Gem::Version
59
47
  version: '13.0'
60
48
  type: :development
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
51
  requirements:
64
- - - "~>"
52
+ - - ">="
65
53
  - !ruby/object:Gem::Version
66
54
  version: '13.0'
67
55
  - !ruby/object:Gem::Dependency
68
56
  name: rspec
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
- - - "~>"
59
+ - - ">="
72
60
  - !ruby/object:Gem::Version
73
61
  version: '3.0'
74
62
  type: :development
75
63
  prerelease: false
76
64
  version_requirements: !ruby/object:Gem::Requirement
77
65
  requirements:
78
- - - "~>"
66
+ - - ">="
79
67
  - !ruby/object:Gem::Version
80
68
  version: '3.0'
81
69
  - !ruby/object:Gem::Dependency
82
70
  name: rubocop
83
71
  requirement: !ruby/object:Gem::Requirement
84
72
  requirements:
85
- - - "~>"
73
+ - - ">="
86
74
  - !ruby/object:Gem::Version
87
75
  version: '1.21'
88
76
  type: :development
89
77
  prerelease: false
90
78
  version_requirements: !ruby/object:Gem::Requirement
91
79
  requirements:
92
- - - "~>"
80
+ - - ">="
93
81
  - !ruby/object:Gem::Version
94
82
  version: '1.21'
95
83
  - !ruby/object:Gem::Dependency
96
84
  name: rubocop-rake
97
85
  requirement: !ruby/object:Gem::Requirement
98
86
  requirements:
99
- - - "~>"
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0.6'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
93
  requirements:
106
- - - "~>"
94
+ - - ">="
107
95
  - !ruby/object:Gem::Version
108
96
  version: '0.6'
109
97
  - !ruby/object:Gem::Dependency
110
98
  name: rubocop-rspec
111
99
  requirement: !ruby/object:Gem::Requirement
112
100
  requirements:
113
- - - "~>"
101
+ - - ">="
114
102
  - !ruby/object:Gem::Version
115
103
  version: '2.25'
116
104
  type: :development
117
105
  prerelease: false
118
106
  version_requirements: !ruby/object:Gem::Requirement
119
107
  requirements:
120
- - - "~>"
108
+ - - ">="
121
109
  - !ruby/object:Gem::Version
122
110
  version: '2.25'
123
111
  description:
@@ -176,8 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
164
  - !ruby/object:Gem::Version
177
165
  version: '0'
178
166
  requirements: []
179
- rubygems_version: 3.5.11
167
+ rubygems_version: 3.5.23
180
168
  signing_key:
181
169
  specification_version: 4
182
- summary: bp3-core provides core concerns for black_phoebe_3.
170
+ summary: bp3-core provides core concerns for BP3 (persuavis/black_phoebe_3).
183
171
  test_files: []