database_consistency 3.0.1 → 3.0.2
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 +4 -4
- data/lib/database_consistency/files_helper.rb +3 -2
- data/lib/database_consistency/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8f837e1b5dec95bfd802c388c77ad279277c50862d9b8d5ea230c655f2ddad0a
|
|
4
|
+
data.tar.gz: 86524123737c51e76311d330149f7a4985cb1fbf177e528c289177f749dbf334
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef3ee3c55c9fbd3ae445b0b5aef247f1ca25ebc683d1e8d2bd8ffcdb2fb09d1cf9ccb89d5611bd414f53d1f7f3102f92c9732559381a0d8a0166661cad4b7349
|
|
7
|
+
data.tar.gz: 0155cdcc840cacd1292656249c1ea4942a01aee93b5490dad2e092d4d76edae37abd09ae704350ade681264d6b9a3e6d8cebf0db333c9de8651f5d11600c499f
|
|
@@ -23,14 +23,15 @@ module DatabaseConsistency
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def source_file_path(mod)
|
|
26
|
-
|
|
26
|
+
name = mod.name
|
|
27
|
+
return unless name
|
|
27
28
|
|
|
28
29
|
file, = Module.const_source_location(name)
|
|
29
30
|
return unless file && File.exist?(file)
|
|
30
31
|
return if excluded_source_file?(file)
|
|
31
32
|
|
|
32
33
|
file
|
|
33
|
-
rescue
|
|
34
|
+
rescue StandardError, ScriptError
|
|
34
35
|
nil
|
|
35
36
|
end
|
|
36
37
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: database_consistency
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Evgeniy Demin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|