neetob 0.5.46 → 0.5.47

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: b96b24c4c6101eec81f2390f266ee269ea8fa31581cd830a6ef6087c7be852f5
4
- data.tar.gz: 790553aea9d8e7dd0f7c37815fdd847e5ddd35581639788be94e7a6f593bc007
3
+ metadata.gz: c57cc625830ea87a236f08fdafd8925db131d61b842ea3107b786be5e3540cd0
4
+ data.tar.gz: a4cb268b3239c73496df758911f68704a0d47888eadbb210432c9ae85ba1ee60
5
5
  SHA512:
6
- metadata.gz: d41afd5369205730bbfb3a738ac7cc95a5e875488c7ee3cd1e955079150d9e121635bdff806c2e76e5861ceee317eed850a22b73e4b1272d81a4909d3d62c110
7
- data.tar.gz: 8ff4af5e2d187e47b3f2637f053fda660965542b409a022048404b3701e5cab2494867c17688327f9d2d31a3f1be69aaee5e1287c7ae6cff90eaf2232445747d
6
+ metadata.gz: 3ff78005c7b744609ab9a18528090387d3262778b5dd4dad09d16f97c7825e36cb6a936eebf31937a3b5390dde9a1872e7d6cfc3dcbb848906b67a8a37be723e
7
+ data.tar.gz: bc18a5cf33f84938e13997219a54d70054db8099a30fb566cfcbae93c89e34a533f4f51e7d80703016e73013b2b502f6e3910f971bd9346d439568c08653e8cc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.46)
4
+ neetob (0.5.47)
5
5
  actionview
6
6
  activesupport
7
7
  brakeman (~> 5.0)
@@ -5,6 +5,9 @@ module Neetob
5
5
  module MonthlyAudit
6
6
  module Databases
7
7
  class UuidPrimaryKey < CLI::Base
8
+ APP_SPECIFIC_TABLES_TO_IGNORE = {
9
+ "neeto-auth-web" => ["global_roles"]
10
+ }
8
11
  def initialize
9
12
  super()
10
13
  end
@@ -32,6 +35,8 @@ module Neetob
32
35
  table.include?("solid_queue") ||
33
36
  table.include?("active_storage")
34
37
  }
38
+ app_specific_tables_to_ignore = APP_SPECIFIC_TABLES_TO_IGNORE[repo] || []
39
+ tables_without_uuid.reject! { |table| app_specific_tables_to_ignore.include?(table) }
35
40
  all_tables_have_uuid_primary_keys = tables_without_uuid.empty? ? "Yes" : "No"
36
41
  audit_passed = all_tables_have_uuid_primary_keys == "Yes" ? "Yes" : "No"
37
42
  comments = tables_without_uuid.empty? ? nil : "Tables without UUID primary keys: #{tables_without_uuid.join(', ')}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.46"
4
+ VERSION = "0.5.47"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.46
4
+ version: 0.5.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-03-07 00:00:00.000000000 Z
11
+ date: 2025-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor