dbviewer 0.4.4 → 0.4.7

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: b726fcc60badaa82692f22151b9656152810ecaa9a5c59e39e0a27e0c595add5
4
- data.tar.gz: a88f8817f599d276ad814bce26fa2314bd79c7c4a5979123aa524457c7c0d534
3
+ metadata.gz: 61c23f612495654e7fba0280fd361cf872d668ea21618c74c95d05f4ea7fdb6a
4
+ data.tar.gz: eeea9728edb2716f44e66eb1851767a7e77cf38c53f3ee4c676fd3d1d9e3608d
5
5
  SHA512:
6
- metadata.gz: c0a0cfc7172bf1ea0e3146bfeb3cb739e247a8412c0fd204828fdb0e2a4f261fdbd75ef070da765c1a6cde0d1ae0bd60b842346c71512a547c9d05dd592930ae
7
- data.tar.gz: 5304c49470fe85760bf0e6aef851cb3c199963be104518c46dad24dac6e22eaae597802786c339b9a779a810a8c849f9c1b558f73672abbb7f432429bbd9c519
6
+ metadata.gz: 6674c2063fb577a3468ded6ffab856bcc8092f5a6fa46a28eb727f3e6a140556401c05777a7bc4ab7dd9e2a78c90b4576800db5a6b724f31d6a1e8f649cc1392
7
+ data.tar.gz: 1714aa447da6c73754b4702e2114e63dca6c1dce5be4be790bd0b7ae89aa7972f9bbbfc54de588da5237f45ca69066f2fde1b50ae15017e0a52842c954ee9372
data/README.md CHANGED
@@ -92,23 +92,10 @@ Rails.application.routes.draw do
92
92
 
93
93
  # Mount the DBViewer engine
94
94
  mount Dbviewer::Engine, at: "/dbviewer"
95
- # The engine can be mounted in any environment when using Basic Authentication
96
95
  end
97
96
  ```
98
97
 
99
- Configure Basic Authentication in an initializer to secure access (strongly recommended):
100
-
101
- ```ruby
102
- # config/initializers/dbviewer.rb
103
- Dbviewer.configure do |config|
104
- config.admin_credentials = {
105
- username: "your_username",
106
- password: "your_secure_password"
107
- }
108
- end
109
- ```
110
-
111
- Then, visit `/dbviewer` in your browser to access the database viewer. You'll be prompted for your username and password.
98
+ Then, visit `/dbviewer` in your browser to access the database viewer.
112
99
 
113
100
  ### Rails API-only Applications
114
101
 
@@ -136,40 +123,15 @@ This is necessary because API-only Rails applications don't include the Flash mi
136
123
  - **ERD View** (`/dbviewer/entity_relationship_diagrams`): Interactive Entity Relationship Diagram of your database
137
124
  - **SQL Query Logs** (`/dbviewer/logs`): View and analyze logged SQL queries with performance metrics
138
125
 
139
- ## 🤝🏻 Extending DBViewer
140
-
141
- ### Adding Custom Functionality
126
+ ## ⚙️ Configuration Options
142
127
 
143
- You can extend the database manager with custom methods:
128
+ You can configure DBViewer by using our generator to create an initializer in your application:
144
129
 
145
- ```ruby
146
- # config/initializers/dbviewer_extensions.rb
147
- Rails.application.config.to_prepare do
148
- Dbviewer::DatabaseManager.class_eval do
149
- def table_statistics(table_name)
150
- # Your custom code to generate table statistics
151
- {
152
- avg_row_size: calculate_avg_row_size(table_name),
153
- last_updated: last_updated_timestamp(table_name)
154
- }
155
- end
156
-
157
- private
158
-
159
- def calculate_avg_row_size(table_name)
160
- # Implementation...
161
- end
162
-
163
- def last_updated_timestamp(table_name)
164
- # Implementation...
165
- end
166
- end
167
- end
130
+ ```bash
131
+ rails generate dbviewer:initializer
168
132
  ```
169
133
 
170
- ## ⚙️ Configuration Options
171
-
172
- You can configure DBViewer by creating an initializer in your application:
134
+ This will create a file at `config/initializers/dbviewer.rb` with the default configuration:
173
135
 
174
136
  ```ruby
175
137
  # config/initializers/dbviewer.rb
@@ -183,16 +145,18 @@ Dbviewer.configure do |config|
183
145
  config.query_timeout = 30 # SQL query timeout in seconds
184
146
 
185
147
  # Query logging options
186
- config.enable_query_logging = true # Enable or disable query logging completely (default: true)
148
+ config.enable_query_logging = false # Enable or disable query logging completely (default: true)
187
149
  config.query_logging_mode = :memory # Storage mode for SQL queries (:memory or :file)
188
150
  config.query_log_path = "log/dbviewer.log" # Path for query log file when in :file mode
189
151
  config.max_memory_queries = 1000 # Maximum number of queries to store in memory
190
152
 
191
153
  # Authentication options
192
- config.admin_credentials = { username: "admin", password: "your_secure_password" } # Basic HTTP auth credentials
154
+ # config.admin_credentials = { username: "admin", password: "your_secure_password" } # Basic HTTP auth credentials
193
155
  end
194
156
  ```
195
157
 
158
+ You can also create this file manually if you prefer.
159
+
196
160
  The configuration is accessed through `Dbviewer.configuration` throughout the codebase. You can also access it via `Dbviewer.config` which is an alias for backward compatibility.
197
161
 
198
162
  ## 🪵 Query Logging
@@ -302,13 +266,13 @@ The simplest way to update is using Bundler:
302
266
 
303
267
  - Update your Gemfile with the desired version:
304
268
 
305
- ```ruby
306
- # For the latest version
307
- gem "dbviewer", group: :development
308
-
309
- # Or specify a version
310
- gem "dbviewer", "~> 0.3.2", group: :development
311
- ```
269
+ ```ruby
270
+ # For the latest version
271
+ gem "dbviewer", group: :development
272
+
273
+ # Or specify a version
274
+ gem "dbviewer", "~> 0.3.2", group: :development
275
+ ```
312
276
 
313
277
  - Run bundle update:
314
278
 
@@ -31,16 +31,22 @@
31
31
  </div>
32
32
  </div>
33
33
  <div class="card-body p-0">
34
- <div id="erd-container" class="w-100 h-100">
35
- <div id="erd-loading" class="d-flex justify-content-center align-items-center h-100">
34
+ <div id="erd-container" class="w-100 h-100" style="min-height: 450px;">
35
+ <div id="erd-loading" class="d-flex justify-content-center align-items-center h-100" style="min-height: 450px;">
36
36
  <div class="text-center">
37
37
  <div class="spinner-border text-primary mb-3" role="status">
38
38
  <span class="visually-hidden">Loading...</span>
39
39
  </div>
40
40
  <p>Generating Entity Relationship Diagram...</p>
41
+ <small class="text-muted">This may take a moment for databases with many tables</small>
41
42
  </div>
42
43
  </div>
43
44
  <!-- The ERD will be rendered here -->
45
+ <div id="erd-error" class="alert alert-danger m-3 d-none">
46
+ <h5>Error generating diagram</h5>
47
+ <p id="erd-error-message">There was an error rendering the entity relationship diagram.</p>
48
+ <pre id="erd-error-details" class="bg-light p-2 small mt-2 d-none"></pre>
49
+ </div>
44
50
  </div>
45
51
  </div>
46
52
  </div>
@@ -55,10 +61,17 @@
55
61
 
56
62
  <script>
57
63
  document.addEventListener('DOMContentLoaded', function() {
58
- // Initialize mermaid
64
+ // Check if mermaid is loaded first
65
+ if (typeof mermaid === 'undefined') {
66
+ console.error('Mermaid library not loaded!');
67
+ showError('Mermaid library not loaded', 'The diagram library could not be loaded. Please check your internet connection and try again.');
68
+ return;
69
+ }
70
+
71
+ // Initialize mermaid with theme detection like mini ERD
59
72
  mermaid.initialize({
60
73
  startOnLoad: true,
61
- theme: 'neutral',
74
+ theme: document.documentElement.getAttribute('data-bs-theme') === 'dark' ? 'dark' : 'default',
62
75
  securityLevel: 'loose',
63
76
  er: {
64
77
  diagramPadding: 20,
@@ -72,6 +85,34 @@
72
85
  }
73
86
  });
74
87
 
88
+ // Function to show error messages
89
+ function showError(title, message, details = '') {
90
+ const errorContainer = document.getElementById('erd-error');
91
+ const errorMessage = document.getElementById('erd-error-message');
92
+ const errorDetails = document.getElementById('erd-error-details');
93
+ const loadingIndicator = document.getElementById('erd-loading');
94
+
95
+ if (loadingIndicator) {
96
+ loadingIndicator.style.display = 'none';
97
+ }
98
+
99
+ if (errorContainer && errorMessage) {
100
+ // Set error message
101
+ errorMessage.textContent = message;
102
+
103
+ // Set error details if provided
104
+ if (details && errorDetails) {
105
+ errorDetails.textContent = details;
106
+ errorDetails.classList.remove('d-none');
107
+ } else if (errorDetails) {
108
+ errorDetails.classList.add('d-none');
109
+ }
110
+
111
+ // Show the error container
112
+ errorContainer.classList.remove('d-none');
113
+ }
114
+ }
115
+
75
116
  // ER Diagram download functionality
76
117
  let diagramReady = false;
77
118
 
@@ -235,6 +276,7 @@
235
276
  console.error('Error rendering updated diagram:', error);
236
277
  document.body.removeChild(tempContainer);
237
278
  isUpdatingDiagram = false;
279
+ showError('Error rendering diagram', 'There was an error updating the diagram with complete data.', error.message);
238
280
  });
239
281
  }
240
282
  }
@@ -291,8 +333,7 @@
291
333
  }).catch(function(error) {
292
334
  console.error('Error rendering diagram:', error);
293
335
  document.body.removeChild(tempInitContainer);
294
- document.getElementById('erd-loading').innerHTML =
295
- '<div class="alert alert-danger">Error generating diagram. Please try again or check console for details.</div>';
336
+ showError('Error generating diagram', 'There was an error generating the entity relationship diagram.', error.message);
296
337
  });
297
338
 
298
339
  // SVG Pan Zoom instance
@@ -504,7 +545,6 @@
504
545
  overflow: auto;
505
546
  height: calc(100vh - 125px);
506
547
  padding: 20px;
507
- /* background-color: #fafafa; */
508
548
  position: relative;
509
549
  }
510
550
 
@@ -514,6 +554,37 @@
514
554
  min-width: 100%;
515
555
  }
516
556
 
557
+ /* Loading state styling */
558
+ #erd-loading {
559
+ background-color: var(--bs-body-bg);
560
+ }
561
+
562
+ #erd-loading .text-center p {
563
+ margin-bottom: 0.5rem;
564
+ font-weight: 500;
565
+ }
566
+
567
+ #erd-loading .text-center small {
568
+ font-size: 0.875rem;
569
+ }
570
+
571
+ /* Error state styling */
572
+ #erd-error {
573
+ max-width: 600px;
574
+ margin: 2rem auto;
575
+ }
576
+
577
+ #erd-error h5 {
578
+ color: var(--bs-danger);
579
+ margin-bottom: 0.75rem;
580
+ }
581
+
582
+ #erd-error-details {
583
+ font-size: 0.8rem;
584
+ max-height: 150px;
585
+ overflow-y: auto;
586
+ }
587
+
517
588
  /* SVG Pan Zoom styles */
518
589
  .svg-pan-zoom_viewport {
519
590
  transition: 0.2s;
@@ -539,10 +610,67 @@
539
610
  font-size: 20px !important;
540
611
  }
541
612
 
613
+ /* Dark mode overrides - comprehensive styling like mini ERD */
614
+ [data-bs-theme="dark"] .entityBox {
615
+ fill: #2D3748;
616
+ stroke: #6ea8fe;
617
+ }
618
+
619
+ [data-bs-theme="dark"] .entityLabel,
620
+ [data-bs-theme="dark"] .mermaid .label {
621
+ color: #f8f9fa;
622
+ }
623
+
624
+ [data-bs-theme="dark"] #erd-error-details {
625
+ background-color: var(--bs-dark) !important;
626
+ color: var(--bs-light);
627
+ border-color: var(--bs-border-color);
628
+ }
629
+
630
+ /* Dark mode: Update mermaid diagram elements */
631
+ [data-bs-theme="dark"] .mermaid .er .entityBox {
632
+ fill: #2D3748 !important;
633
+ stroke: #6ea8fe !important;
634
+ stroke-width: 1.5px !important;
635
+ }
636
+
637
+ [data-bs-theme="dark"] .mermaid .er .entityLabel {
638
+ fill: #f8f9fa !important;
639
+ color: #f8f9fa !important;
640
+ }
641
+
642
+ [data-bs-theme="dark"] .mermaid .er .relationshipLine {
643
+ stroke: #6ea8fe !important;
644
+ stroke-width: 2px !important;
645
+ }
646
+
647
+ [data-bs-theme="dark"] .mermaid .er .relationshipLabel {
648
+ fill: #f8f9fa !important;
649
+ color: #f8f9fa !important;
650
+ }
651
+
652
+ [data-bs-theme="dark"] .mermaid .er .attributeBoxEven,
653
+ [data-bs-theme="dark"] .mermaid .er .attributeBoxOdd {
654
+ fill: #374151 !important;
655
+ }
656
+
657
+ [data-bs-theme="dark"] .mermaid text {
658
+ fill: #f8f9fa !important;
659
+ }
660
+
661
+ /* Loading indicator dark mode */
662
+ [data-bs-theme="dark"] #erd-loading {
663
+ background-color: var(--bs-dark);
664
+ color: var(--bs-light);
665
+ }
666
+
667
+ [data-bs-theme="dark"] #erd-loading .spinner-border {
668
+ color: #6ea8fe;
669
+ }
670
+
542
671
  /* Zoom percentage display styling */
543
672
  #zoomPercentage {
544
673
  font-size: 0.9rem;
545
- /* color: #495057; */
546
674
  font-weight: 500;
547
675
  width: 45px;
548
676
  display: inline-block;
@@ -557,4 +685,17 @@
557
685
  .mermaid .er.relationshipLabel {
558
686
  font-size: 20px !important;
559
687
  }
688
+
689
+ /* Enhanced table highlighting for current table */
690
+ .current-table-highlight rect {
691
+ fill: var(--bs-primary-bg-subtle) !important;
692
+ stroke: var(--bs-primary) !important;
693
+ stroke-width: 2px !important;
694
+ }
695
+
696
+ [data-bs-theme="dark"] .current-table-highlight rect {
697
+ fill: #2c3034 !important;
698
+ stroke: #6ea8fe !important;
699
+ stroke-width: 2px !important;
700
+ }
560
701
  </style>
@@ -836,7 +836,7 @@
836
836
  <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
837
837
  </div>
838
838
  <div class="modal-body p-0"> <!-- Removed padding for full width -->
839
- <div id="mini-erd-container" class="w-100" style="min-height: 450px; height: 100%;"> <!-- Increased height -->
839
+ <div id="mini-erd-container" class="w-100 d-flex justify-content-center align-items-center" style="min-height: 450px; height: 100%;"> <!-- Increased height -->
840
840
  <div id="mini-erd-loading" class="d-flex justify-content-center align-items-center" style="height: 100%; min-height: 450px;">
841
841
  <div class="text-center">
842
842
  <div class="spinner-border text-primary mb-3" role="status">
@@ -977,53 +977,100 @@
977
977
  try {
978
978
  const svgElement = container.querySelector('svg');
979
979
  if (svgElement && typeof svgPanZoom !== 'undefined') {
980
- // Make SVG take the full container width
980
+ // Make SVG take the full container width and ensure it has valid dimensions
981
981
  svgElement.setAttribute('width', '100%');
982
982
  svgElement.setAttribute('height', '100%');
983
983
 
984
- // Initialize SVG Pan-Zoom
985
- const panZoomInstance = svgPanZoom(svgElement, {
986
- zoomEnabled: true,
987
- controlIconsEnabled: true,
988
- fit: true,
989
- center: true,
990
- minZoom: 0.5,
991
- maxZoom: 2.5
992
- });
993
-
994
- // Store the panZoom instance for resize handling
995
- container.panZoomInstance = panZoomInstance;
996
-
997
- // Setup resize observer to maintain full size
998
- const resizeObserver = new ResizeObserver(() => {
999
- if (container.panZoomInstance) {
1000
- // Reset zoom and center when container is resized
1001
- container.panZoomInstance.resize();
1002
- container.panZoomInstance.fit();
1003
- container.panZoomInstance.center();
1004
- }
1005
- });
1006
-
1007
- // Observe the container for size changes
1008
- resizeObserver.observe(container);
1009
-
1010
- // Also handle manual resize on modal resize
1011
- miniErdModal.addEventListener('resize.bs.modal', function() {
1012
- if (container.panZoomInstance) {
1013
- setTimeout(() => {
1014
- container.panZoomInstance.resize();
1015
- container.panZoomInstance.fit();
1016
- container.panZoomInstance.center();
1017
- }, 100);
984
+ // Wait for SVG to be fully rendered with proper dimensions
985
+ setTimeout(() => {
986
+ try {
987
+ // Get dimensions to ensure they're valid before initializing pan-zoom
988
+ const clientRect = svgElement.getBoundingClientRect();
989
+
990
+ // Only initialize if we have valid dimensions
991
+ if (clientRect.width > 0 && clientRect.height > 0) {
992
+ // Initialize SVG Pan-Zoom with more robust error handling
993
+ const panZoomInstance = svgPanZoom(svgElement, {
994
+ zoomEnabled: true,
995
+ controlIconsEnabled: true,
996
+ fit: false, // Don't automatically fit on init - can cause the matrix error
997
+ center: false, // Don't automatically center - can cause the matrix error
998
+ minZoom: 0.5,
999
+ maxZoom: 2.5,
1000
+ beforeZoom: function() {
1001
+ // Check if the SVG is valid for zooming
1002
+ return svgElement.getBoundingClientRect().width > 0 &&
1003
+ svgElement.getBoundingClientRect().height > 0;
1004
+ }
1005
+ });
1006
+
1007
+ // Store the panZoom instance for resize handling
1008
+ container.panZoomInstance = panZoomInstance;
1009
+
1010
+ // Manually fit and center after a slight delay
1011
+ setTimeout(() => {
1012
+ try {
1013
+ panZoomInstance.resize();
1014
+ panZoomInstance.fit();
1015
+ panZoomInstance.center();
1016
+ } catch(err) {
1017
+ console.warn("Error during fit/center operation:", err);
1018
+ }
1019
+ }, 300);
1020
+
1021
+ // Setup resize observer to maintain full size
1022
+ const resizeObserver = new ResizeObserver(() => {
1023
+ if (container.panZoomInstance) {
1024
+ try {
1025
+ // Reset zoom and center when container is resized
1026
+ container.panZoomInstance.resize();
1027
+ // Only fit and center if the element is visible with valid dimensions
1028
+ if (svgElement.getBoundingClientRect().width > 0 &&
1029
+ svgElement.getBoundingClientRect().height > 0) {
1030
+ container.panZoomInstance.fit();
1031
+ container.panZoomInstance.center();
1032
+ }
1033
+ } catch(err) {
1034
+ console.warn("Error during resize observer callback:", err);
1035
+ }
1036
+ }
1037
+ });
1038
+
1039
+ // Observe the container for size changes
1040
+ resizeObserver.observe(container);
1041
+
1042
+ // Also handle manual resize on modal resize
1043
+ miniErdModal.addEventListener('resize.bs.modal', function() {
1044
+ if (container.panZoomInstance) {
1045
+ setTimeout(() => {
1046
+ try {
1047
+ container.panZoomInstance.resize();
1048
+ // Only fit and center if the element is visible with valid dimensions
1049
+ if (svgElement.getBoundingClientRect().width > 0 &&
1050
+ svgElement.getBoundingClientRect().height > 0) {
1051
+ container.panZoomInstance.fit();
1052
+ container.panZoomInstance.center();
1053
+ }
1054
+ } catch(err) {
1055
+ console.warn("Error during modal resize handler:", err);
1056
+ }
1057
+ }, 300);
1058
+ }
1059
+ });
1060
+ } else {
1061
+ console.warn("Cannot initialize SVG-Pan-Zoom: SVG has invalid dimensions", clientRect);
1062
+ }
1063
+ } catch(err) {
1064
+ console.warn("Error initializing SVG-Pan-Zoom:", err);
1018
1065
  }
1019
- });
1066
+ }, 500); // Increased delay to ensure SVG is fully rendered with proper dimensions
1020
1067
  }
1021
1068
  } catch (e) {
1022
1069
  console.warn('Failed to initialize svg-pan-zoom:', e);
1023
1070
  // Not critical, continue without pan-zoom
1024
1071
  }
1025
1072
 
1026
- // Add highlighting for the current table
1073
+ // Add highlighting for the current table after a delay to ensure SVG is fully processed
1027
1074
  setTimeout(function() {
1028
1075
  try {
1029
1076
  const cleanTableName = '<%= @table_name %>'.replace(/[^\w]/g, '_');
@@ -1100,10 +1147,22 @@
1100
1147
  const container = document.getElementById('mini-erd-container');
1101
1148
  if (container && container.panZoomInstance) {
1102
1149
  setTimeout(() => {
1103
- container.panZoomInstance.resize();
1104
- container.panZoomInstance.fit();
1105
- container.panZoomInstance.center();
1106
- }, 200); // Small delay to ensure modal is fully transitioned
1150
+ try {
1151
+ // Check if the SVG still has valid dimensions before operating on it
1152
+ const svgElement = container.querySelector('svg');
1153
+ if (svgElement &&
1154
+ svgElement.getBoundingClientRect().width > 0 &&
1155
+ svgElement.getBoundingClientRect().height > 0) {
1156
+ container.panZoomInstance.resize();
1157
+ container.panZoomInstance.fit();
1158
+ container.panZoomInstance.center();
1159
+ } else {
1160
+ console.warn("Cannot perform pan-zoom operations: SVG has invalid dimensions");
1161
+ }
1162
+ } catch(err) {
1163
+ console.warn("Error during modal shown handler:", err);
1164
+ }
1165
+ }, 500); // Increased delay to ensure modal is fully transitioned and SVG is rendered
1107
1166
  }
1108
1167
  });
1109
1168
 
@@ -6,6 +6,11 @@ module Dbviewer
6
6
  config.autoload_paths << File.expand_path("../../", __FILE__)
7
7
  config.eager_load_paths << File.expand_path("../../", __FILE__)
8
8
 
9
+ # Register generators
10
+ config.app_generators do |g|
11
+ g.templates.unshift File.expand_path("../../generators/dbviewer/templates", __dir__)
12
+ end
13
+
9
14
  # Initialize the engine safely
10
15
  initializer "dbviewer.setup", after: :load_config_initializers do |app|
11
16
  Dbviewer.init
@@ -1,3 +1,3 @@
1
1
  module Dbviewer
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.7"
3
3
  end
@@ -0,0 +1,12 @@
1
+ module Dbviewer
2
+ module Generators
3
+ class InitializerGenerator < Rails::Generators::Base
4
+ source_root File.expand_path("../templates", __FILE__)
5
+ desc "Creates a DBViewer initializer file at config/initializers/dbviewer.rb"
6
+
7
+ def copy_initializer_file
8
+ copy_file "initializer.rb", "config/initializers/dbviewer.rb"
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,18 @@
1
+ Dbviewer.configure do |config|
2
+ config.per_page_options = [ 10, 20, 50, 100, 250 ]
3
+ config.default_per_page = 20
4
+ config.max_query_length = 10000
5
+ config.cache_expiry = 300
6
+ config.max_records = 10000
7
+ config.enable_data_export = false
8
+ config.query_timeout = 30
9
+
10
+ # Query logging options
11
+ config.enable_query_logging = false
12
+ config.query_logging_mode = :memory
13
+ config.query_log_path = "log/dbviewer.log"
14
+ config.max_memory_queries = 1000
15
+
16
+ # Authentication options
17
+ # config.admin_credentials = { username: "admin", password: "your_secure_password" } # Basic HTTP auth credentials
18
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dbviewer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wailan Tirajoh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-24 00:00:00.000000000 Z
11
+ date: 2025-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -95,6 +95,8 @@ files:
95
95
  - lib/dbviewer/table_query_operations.rb
96
96
  - lib/dbviewer/table_query_params.rb
97
97
  - lib/dbviewer/version.rb
98
+ - lib/generators/dbviewer/initializer_generator.rb
99
+ - lib/generators/dbviewer/templates/initializer.rb
98
100
  - lib/tasks/dbviewer_tasks.rake
99
101
  homepage: https://github.com/wailantirajoh/dbviewer
100
102
  licenses: