model_probe 1.1.2 → 1.1.3

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: d81da57c3ba709dca1c2124a737ee522fb716b841c6b6130373a0957b213c9c9
4
- data.tar.gz: 94ba17be4b42230b0f26259727a52bcc6e3e8e63fb63368b06e5fdee2f9c686e
3
+ metadata.gz: 56cddb7204e3df26ff40ebeb5f61b5f037fc761e4e67803140aab5dd1488c77e
4
+ data.tar.gz: fb47d425e8e4b733fe284c3602af200346c50aef4c4b5949facfe3cede3c55b2
5
5
  SHA512:
6
- metadata.gz: 979e2db8c649fb738d775cf9737df8152caabf71c9efb3600f8aaaa95af99844c56c08853255a55e15369a1cc70975f1db3d6cca74ac5ee5e63aaa1e524b8159
7
- data.tar.gz: c67863aeb1ab0e3457a84298142a64f6098889431ac450053d361ea2d5b24bed92ff14b1a602042108ce4d8427ed43197e42f5b7f8ac9d3754a5878574be0663
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.6.3)
11
+ json (2.7.1)
12
12
  language_server-protocol (3.17.0.3)
13
- lint_roller (1.0.0)
13
+ lint_roller (1.1.0)
14
14
  magic_frozen_string_literal (1.2.0)
15
- parallel (1.23.0)
16
- parser (3.2.2.1)
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.0)
20
- rexml (3.2.5)
21
- rubocop (1.52.0)
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.0.0)
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.28.0, < 2.0)
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.29.0)
34
+ rubocop-ast (1.30.0)
32
35
  parser (>= 3.2.1.0)
33
- rubocop-performance (1.18.0)
34
- rubocop (>= 1.7.0, < 2.0)
35
- rubocop-ast (>= 0.4.0)
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.29.0)
40
+ standard (1.33.0)
38
41
  language_server-protocol (~> 3.17.0.2)
39
42
  lint_roller (~> 1.0)
40
- rubocop (~> 1.52.0)
43
+ rubocop (~> 1.59.0)
41
44
  standard-custom (~> 1.0.0)
42
- standard-performance (~> 1.1.0)
43
- standard-custom (1.0.1)
45
+ standard-performance (~> 1.3)
46
+ standard-custom (1.0.2)
44
47
  lint_roller (~> 1.0)
45
- standard-performance (1.1.0)
46
- lint_roller (~> 1.0)
47
- rubocop-performance (~> 1.18.0)
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.4.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.3.5
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
- name_pad = indexes.map { |c| c.name.length }.max + 1
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ModelProbe
4
- VERSION = "1.1.2"
4
+ VERSION = "1.1.3"
5
5
  end
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 0.0 /current.age/
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/nate.hopkins/work/hopsoft/model_probe/ //
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.2"$/;" C module:ModelProbe
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.2
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-06-07 00:00:00.000000000 Z
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.1.6
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: []