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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbf2504599c0b90e574a2a340f3d35928b45680f7dc28d76eccb5385ac571efa
4
- data.tar.gz: 3d131097dbcdd8f79baa2884cc95f53a84b7b37a332568d6dd5a07ca9f7390ae
3
+ metadata.gz: 0ad2bfe709b399763594ad100fa808e6b1e090b0ac17cdba198c1cf0e300a08f
4
+ data.tar.gz: 5ab32bd76e1cac160cffd0cbf6115df98654938561511fee209745892bb274d2
5
5
  SHA512:
6
- metadata.gz: e5d7bc942041f606ef2324a5f7b4b8b3f5c42ff6243058be634f9d92a0bad6cdd0b17ccba8de3f5c7cdc882d8a9193e5656d8a564b6f7553714ed185da98f887
7
- data.tar.gz: 580ecaff17c660c7acb21563218314c60b640ea82fa6a87b53625bb8c38160a1cfec2de7da95fa42f78544e5fe0fb633da1e8c9a8bd132a0a089cfb04a4673ae
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
- ActiveSupport::Deprecation.warn(<<~MSG)
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  # This stores the current version of the NdrUi gem. Use semantic versioning http://semver.org
4
4
  module NdrUi
5
- VERSION = '4.1.0'
5
+ VERSION = '4.1.1'
6
6
  end
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.0
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-05-20 00:00:00.000000000 Z
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.1'
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.1'
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: '1.7'
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: '1.7'
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.2.33
417
+ rubygems_version: 3.3.27
418
418
  signing_key:
419
419
  specification_version: 4
420
420
  summary: NDR UI Rails Engine