ndr_ui 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/ndr_ui/bootstrap_helper.rb +7 -2
- data/lib/ndr_ui/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ad2bfe709b399763594ad100fa808e6b1e090b0ac17cdba198c1cf0e300a08f
|
4
|
+
data.tar.gz: 5ab32bd76e1cac160cffd0cbf6115df98654938561511fee209745892bb274d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182ac786eea0e15af3b4536c742c5f3a50fc0c7e2f8a89ae989c4744d39e8f86eba75c689512e3dd2db0376441c5da9cc36ad98204750fa3f9fceee98c845624
|
7
|
+
data.tar.gz: 9a33cd1c26e349fed5b8b9aaf30e6f14e1fbc090215c66306593e34ce4b84a7e4031dc6755bca731fdf94842965eaffa47dc5ce58b16647b2cf21d2cee758d72
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module NdrUi
|
2
2
|
# Provides helper methods for the Twitter Bootstrap framework
|
3
|
-
module BootstrapHelper
|
3
|
+
module BootstrapHelper # rubocop:disable Metrics/ModuleLength
|
4
4
|
include ::NdrUi::Bootstrap::BreadcrumbsHelper
|
5
5
|
include ::NdrUi::Bootstrap::DropdownHelper
|
6
6
|
include ::NdrUi::Bootstrap::ModalHelper
|
@@ -594,7 +594,12 @@ module NdrUi
|
|
594
594
|
return true unless respond_to?(:can?)
|
595
595
|
|
596
596
|
unless subject.is_a?(ActiveRecord::Base)
|
597
|
-
|
597
|
+
deprecator = if Rails.application.respond_to?(:deprecators)
|
598
|
+
Rails.application.deprecators[:active_support]
|
599
|
+
else
|
600
|
+
ActiveSupport::Deprecation # Rails <= 7.0
|
601
|
+
end
|
602
|
+
deprecator.warn(<<~MSG)
|
598
603
|
Attempting to authorise a non-resource object causes authorisation to be skipped.
|
599
604
|
In future, this behaviour may change; please use a resource where possible.
|
600
605
|
MSG
|
data/lib/ndr_ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ndr_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NDR Development Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '6.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '6.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bootstrap-sass
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -90,16 +90,16 @@ dependencies:
|
|
90
90
|
name: sqlite3
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: '
|
95
|
+
version: '0'
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
102
|
+
version: '0'
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: mocha
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -414,7 +414,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
414
414
|
- !ruby/object:Gem::Version
|
415
415
|
version: '0'
|
416
416
|
requirements: []
|
417
|
-
rubygems_version: 3.
|
417
|
+
rubygems_version: 3.3.27
|
418
418
|
signing_key:
|
419
419
|
specification_version: 4
|
420
420
|
summary: NDR UI Rails Engine
|