model_probe 1.1.2 → 1.1.3
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/Gemfile.lock +27 -23
- data/lib/model_probe/probes/indexes.rb +3 -1
- data/lib/model_probe/version.rb +1 -1
- data/tags +4 -3
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56cddb7204e3df26ff40ebeb5f61b5f037fc761e4e67803140aab5dd1488c77e
|
|
4
|
+
data.tar.gz: fb47d425e8e4b733fe284c3602af200346c50aef4c4b5949facfe3cede3c55b2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a967765dbefd85259e48fc956bf45f3d432681c5a7302e0fff64c9607412b23a9e84547aa504995d9d1377a617d977036fa5d8a5481c385ebe64b53ea112344
|
|
7
|
+
data.tar.gz: f429ce111d17aa0f4f34c07a994a31d2588ec47ccf0b5858d4f32c50933aa1a47588b3fc706a9f73eb0ba754c0b4ea00e454e1ef1f9705cf6eae6e1529612c1f
|
data/Gemfile.lock
CHANGED
|
@@ -8,50 +8,54 @@ GEM
|
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
ast (2.4.2)
|
|
11
|
-
json (2.
|
|
11
|
+
json (2.7.1)
|
|
12
12
|
language_server-protocol (3.17.0.3)
|
|
13
|
-
lint_roller (1.
|
|
13
|
+
lint_roller (1.1.0)
|
|
14
14
|
magic_frozen_string_literal (1.2.0)
|
|
15
|
-
parallel (1.
|
|
16
|
-
parser (3.2.2.
|
|
15
|
+
parallel (1.24.0)
|
|
16
|
+
parser (3.2.2.4)
|
|
17
17
|
ast (~> 2.4.1)
|
|
18
|
+
racc
|
|
19
|
+
racc (1.7.3)
|
|
18
20
|
rainbow (3.1.1)
|
|
19
|
-
regexp_parser (2.8.
|
|
20
|
-
rexml (3.2.
|
|
21
|
-
rubocop (1.
|
|
21
|
+
regexp_parser (2.8.3)
|
|
22
|
+
rexml (3.2.6)
|
|
23
|
+
rubocop (1.59.0)
|
|
22
24
|
json (~> 2.3)
|
|
25
|
+
language_server-protocol (>= 3.17.0)
|
|
23
26
|
parallel (~> 1.10)
|
|
24
|
-
parser (>= 3.2.
|
|
27
|
+
parser (>= 3.2.2.4)
|
|
25
28
|
rainbow (>= 2.2.2, < 4.0)
|
|
26
29
|
regexp_parser (>= 1.8, < 3.0)
|
|
27
30
|
rexml (>= 3.2.5, < 4.0)
|
|
28
|
-
rubocop-ast (>= 1.
|
|
31
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
29
32
|
ruby-progressbar (~> 1.7)
|
|
30
33
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
31
|
-
rubocop-ast (1.
|
|
34
|
+
rubocop-ast (1.30.0)
|
|
32
35
|
parser (>= 3.2.1.0)
|
|
33
|
-
rubocop-performance (1.
|
|
34
|
-
rubocop (>= 1.
|
|
35
|
-
rubocop-ast (>=
|
|
36
|
+
rubocop-performance (1.20.1)
|
|
37
|
+
rubocop (>= 1.48.1, < 2.0)
|
|
38
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
36
39
|
ruby-progressbar (1.13.0)
|
|
37
|
-
standard (1.
|
|
40
|
+
standard (1.33.0)
|
|
38
41
|
language_server-protocol (~> 3.17.0.2)
|
|
39
42
|
lint_roller (~> 1.0)
|
|
40
|
-
rubocop (~> 1.
|
|
43
|
+
rubocop (~> 1.59.0)
|
|
41
44
|
standard-custom (~> 1.0.0)
|
|
42
|
-
standard-performance (~> 1.
|
|
43
|
-
standard-custom (1.0.
|
|
45
|
+
standard-performance (~> 1.3)
|
|
46
|
+
standard-custom (1.0.2)
|
|
44
47
|
lint_roller (~> 1.0)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
rubocop (~> 1.50)
|
|
49
|
+
standard-performance (1.3.0)
|
|
50
|
+
lint_roller (~> 1.1)
|
|
51
|
+
rubocop-performance (~> 1.20.1)
|
|
48
52
|
standardrb (1.0.1)
|
|
49
53
|
standard
|
|
50
|
-
unicode-display_width (2.
|
|
54
|
+
unicode-display_width (2.5.0)
|
|
51
55
|
|
|
52
56
|
PLATFORMS
|
|
53
|
-
arm64-darwin-21
|
|
54
57
|
arm64-darwin-22
|
|
58
|
+
arm64-darwin-23
|
|
55
59
|
|
|
56
60
|
DEPENDENCIES
|
|
57
61
|
magic_frozen_string_literal
|
|
@@ -59,4 +63,4 @@ DEPENDENCIES
|
|
|
59
63
|
standardrb
|
|
60
64
|
|
|
61
65
|
BUNDLED WITH
|
|
62
|
-
2.
|
|
66
|
+
2.4.10
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
module ModelProbe::Probes::Indexes
|
|
4
4
|
def probe_indexes
|
|
5
5
|
indexes = connection.indexes(table_name)
|
|
6
|
-
|
|
6
|
+
names = indexes.map(&:name).reject { |name| name.to_s.strip.empty? }
|
|
7
|
+
return puts Rainbow(" N/A").skyblue.faint if names.none?
|
|
8
|
+
name_pad = names.map(&:size).max + 1
|
|
7
9
|
indexes.sort_by(&:name).each do |index|
|
|
8
10
|
probe_index index, name_pad: name_pad
|
|
9
11
|
end
|
data/lib/model_probe/version.rb
CHANGED
data/tags
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
!_TAG_KIND_DESCRIPTION!Markdown S,subsection /level 2 sections/
|
|
16
16
|
!_TAG_KIND_DESCRIPTION!Markdown T,l4subsection /level 4 sections/
|
|
17
17
|
!_TAG_KIND_DESCRIPTION!Markdown c,chapter /chapters/
|
|
18
|
+
!_TAG_KIND_DESCRIPTION!Markdown h,hashtag /hashtags/
|
|
18
19
|
!_TAG_KIND_DESCRIPTION!Markdown n,footnote /footnotes/
|
|
19
20
|
!_TAG_KIND_DESCRIPTION!Markdown s,section /sections/
|
|
20
21
|
!_TAG_KIND_DESCRIPTION!Markdown t,subsubsection /level 3 sections/
|
|
@@ -42,12 +43,12 @@
|
|
|
42
43
|
!_TAG_OUTPUT_MODE u-ctags /u-ctags or e-ctags/
|
|
43
44
|
!_TAG_OUTPUT_VERSION 0.0 /current.age/
|
|
44
45
|
!_TAG_PARSER_VERSION!GemSpec 0.0 /current.age/
|
|
45
|
-
!_TAG_PARSER_VERSION!Markdown
|
|
46
|
+
!_TAG_PARSER_VERSION!Markdown 1.1 /current.age/
|
|
46
47
|
!_TAG_PARSER_VERSION!Rake 0.0 /current.age/
|
|
47
48
|
!_TAG_PARSER_VERSION!Ruby 0.0 /current.age/
|
|
48
49
|
!_TAG_PARSER_VERSION!Sh 0.0 /current.age/
|
|
49
50
|
!_TAG_PATTERN_LENGTH_LIMIT 96 /0 for no limit/
|
|
50
|
-
!_TAG_PROC_CWD /Users/
|
|
51
|
+
!_TAG_PROC_CWD /Users/nathan/work/hopsoft/model_probe/ //
|
|
51
52
|
!_TAG_PROGRAM_AUTHOR Universal Ctags Team //
|
|
52
53
|
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/
|
|
53
54
|
!_TAG_PROGRAM_URL https://ctags.io/ /official site/
|
|
@@ -75,7 +76,7 @@ Screenshots README.md /^## Screenshots$/;" s chapter:ModelProbe
|
|
|
75
76
|
Subclasses lib/model_probe/probes/subclasses.rb /^module ModelProbe::Probes::Subclasses$/;" m module:ModelProbe.Probes
|
|
76
77
|
Supported Databases README.md /^## Supported Databases$/;" s chapter:ModelProbe
|
|
77
78
|
Table of Contents README.md /^## Table of Contents$/;" s chapter:ModelProbe
|
|
78
|
-
VERSION lib/model_probe/version.rb /^ VERSION = "1.1.
|
|
79
|
+
VERSION lib/model_probe/version.rb /^ VERSION = "1.1.3"$/;" C module:ModelProbe
|
|
79
80
|
Videos README.md /^## Videos$/;" s chapter:ModelProbe
|
|
80
81
|
ddl lib/model_probe/probes/metadata.rb /^ def ddl$/;" f module:Metadata
|
|
81
82
|
eager_load_rails! lib/model_probe/probes/subclasses.rb /^ def eager_load_rails!$/;" f module:Subclasses
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: model_probe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Hopkins
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-12-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rainbow
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description:
|
|
55
|
+
description:
|
|
56
56
|
email:
|
|
57
57
|
- natehop@gmail.com
|
|
58
58
|
executables: []
|
|
@@ -80,7 +80,7 @@ files:
|
|
|
80
80
|
homepage: http://hopsoft.github.com/model_probe/
|
|
81
81
|
licenses: []
|
|
82
82
|
metadata: {}
|
|
83
|
-
post_install_message:
|
|
83
|
+
post_install_message:
|
|
84
84
|
rdoc_options: []
|
|
85
85
|
require_paths:
|
|
86
86
|
- lib
|
|
@@ -95,8 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
requirements: []
|
|
98
|
-
rubygems_version: 3.
|
|
99
|
-
signing_key:
|
|
98
|
+
rubygems_version: 3.2.32
|
|
99
|
+
signing_key:
|
|
100
100
|
specification_version: 4
|
|
101
101
|
summary: ActiveRecord schema visualization and model organization made easy
|
|
102
102
|
test_files: []
|