ucb_rails_user 7.0.1 → 7.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 257e831bdad1d8d187610c1caed878cbddfb30239ad2ed44d8a6252a7e12951a
4
- data.tar.gz: d38a31a914830a99d25d3a779845cdcdc4e32e490fcf984676143d85ee63602d
3
+ metadata.gz: 214bfdc0d03d7a4fc29ff8e16d4dddfbacfb4009629fe5968bc48df7c4b85b66
4
+ data.tar.gz: c2d654ef0be90038b373b9b9b2bd378e2992a390790df3322baefa4ccff344c6
5
5
  SHA512:
6
- metadata.gz: 8888d695cd175919db1080cbae50e64bc0aa4ac6c98fac6814f8bf0a090b9caeebbbbd0c8500ab81db7a7f00165a468aaabfd906210cc8c0665ac2e06b65d3c6
7
- data.tar.gz: 3e05c1ccc08f947c9670ceb5a2b1d9eeb48b0d58b13ae5fcb1cd4433a6a9fe16eea337b62da48222bcbaa6ca2fe4a19ff04b895ab7a56cde6f704f4a3610c56f
6
+ metadata.gz: 1affbccf9a20375932587817c08cadf528f75af64bbf2efef1c667afb0733c77e0dda6fea846bd2906b2e32d330cdcb50cb0b0de773251be7c7084114c57b388
7
+ data.tar.gz: d370ebe70c836f0efd2630f590fbaf1199d62f120e092c1aff5d4ab113b8a2e41d8983604f0757c4ca90f9646a3e9353af0829706c119caa70a7eadd2a284dba
@@ -1,3 +1,5 @@
1
+ return if !UcbRailsUser.use_bootstrap_config
2
+
1
3
  # Use this setup block to configure all options available in SimpleForm.
2
4
  SimpleForm.setup do |config|
3
5
  config.error_notification_class = 'alert alert-danger'
@@ -1,3 +1,3 @@
1
1
  module UcbRailsUser
2
- VERSION = '7.0.1'
2
+ VERSION = '7.1.0'
3
3
  end
@@ -10,6 +10,7 @@ require "active_attr"
10
10
  module UcbRailsUser
11
11
 
12
12
  mattr_accessor :user_class
13
+ mattr_accessor :use_bootstrap_config
13
14
 
14
15
  def self.logger
15
16
  Rails.logger
@@ -19,4 +20,8 @@ module UcbRailsUser
19
20
  @@user_class&.constantize || ::User
20
21
  end
21
22
 
23
+ def self.use_bootstrap_config
24
+ @@use_bootstrap_config.nil? ? true : @@use_bootstrap_config
25
+ end
26
+
22
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucb_rails_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Downey
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2025-07-01 00:00:00.000000000 Z
15
+ date: 2025-09-08 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails