solidstats 2.0.0 → 3.0.0

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.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -63
  3. data/README.md +27 -0
  4. data/Rakefile +3 -3
  5. data/app/assets/javascripts/solidstats/dashboard.js +0 -46
  6. data/app/assets/stylesheets/solidstats/dashboard.css +48 -0
  7. data/app/controllers/solidstats/dashboard_controller.rb +73 -61
  8. data/app/controllers/solidstats/logs_controller.rb +72 -0
  9. data/app/controllers/solidstats/performance_controller.rb +25 -0
  10. data/app/controllers/solidstats/productivity_controller.rb +39 -0
  11. data/app/controllers/solidstats/quality_controller.rb +152 -0
  12. data/app/controllers/solidstats/securities_controller.rb +30 -0
  13. data/app/helpers/solidstats/application_helper.rb +124 -11
  14. data/app/helpers/solidstats/performance_helper.rb +87 -0
  15. data/app/helpers/solidstats/productivity_helper.rb +38 -0
  16. data/app/services/solidstats/bundler_audit_service.rb +206 -0
  17. data/app/services/solidstats/coverage_compass_service.rb +335 -0
  18. data/app/services/solidstats/load_lens_service.rb +474 -0
  19. data/app/services/solidstats/log_size_monitor_service.rb +197 -66
  20. data/app/services/solidstats/my_todo_service.rb +242 -0
  21. data/app/services/solidstats/style_patrol_service.rb +319 -0
  22. data/app/views/layouts/solidstats/application.html.erb +8 -2
  23. data/app/views/layouts/solidstats/dashboard.html.erb +84 -0
  24. data/app/views/solidstats/dashboard/dashboard.html.erb +39 -0
  25. data/app/views/solidstats/logs/logs_size.html.erb +409 -0
  26. data/app/views/solidstats/performance/load_lens.html.erb +158 -0
  27. data/app/views/solidstats/productivity/_todo_list.html.erb +49 -0
  28. data/app/views/solidstats/productivity/my_todos.html.erb +84 -0
  29. data/app/views/solidstats/quality/coverage_compass.html.erb +420 -0
  30. data/app/views/solidstats/quality/style_patrol.html.erb +463 -0
  31. data/app/views/solidstats/securities/bundler_audit.html.erb +345 -0
  32. data/app/views/solidstats/shared/_dashboard_card.html.erb +160 -0
  33. data/app/views/solidstats/shared/_quick_actions.html.erb +26 -0
  34. data/config/routes.rb +31 -6
  35. data/lib/generators/solidstats/clean/clean_generator.rb +24 -0
  36. data/lib/generators/solidstats/clean/templates/README +8 -0
  37. data/lib/generators/solidstats/install/install_generator.rb +51 -10
  38. data/lib/generators/solidstats/install/templates/README +7 -0
  39. data/lib/solidstats/engine.rb +6 -71
  40. data/lib/solidstats/version.rb +1 -1
  41. data/lib/solidstats.rb +19 -303
  42. data/lib/tasks/solidstats.rake +67 -0
  43. data/lib/tasks/solidstats_performance.rake +61 -0
  44. data/lib/tasks/solidstats_tasks.rake +16 -4
  45. metadata +33 -95
  46. data/app/assets/javascripts/solidstats/gem_metadata.js +0 -554
  47. data/app/assets/stylesheets/solidstats/components/action_button.css +0 -99
  48. data/app/assets/stylesheets/solidstats/components/dashboard.css +0 -151
  49. data/app/assets/stylesheets/solidstats/components/dashboard_header.css +0 -93
  50. data/app/assets/stylesheets/solidstats/components/dashboard_layout.css +0 -97
  51. data/app/assets/stylesheets/solidstats/components/gem_metadata.css +0 -1403
  52. data/app/assets/stylesheets/solidstats/components/navigation.css +0 -80
  53. data/app/assets/stylesheets/solidstats/components/quick_navigation.css +0 -54
  54. data/app/assets/stylesheets/solidstats/components/security.css +0 -332
  55. data/app/assets/stylesheets/solidstats/components/status_badge.css +0 -58
  56. data/app/assets/stylesheets/solidstats/components/summary_card.css +0 -66
  57. data/app/assets/stylesheets/solidstats/components/tab_navigation.css +0 -95
  58. data/app/components/solidstats/base_component.rb +0 -88
  59. data/app/components/solidstats/code_quality/code_quality_section_component.html.erb +0 -0
  60. data/app/components/solidstats/code_quality/code_quality_section_component.rb +0 -0
  61. data/app/components/solidstats/code_quality/section_component.html.erb +0 -45
  62. data/app/components/solidstats/code_quality/section_component.rb +0 -34
  63. data/app/components/solidstats/dashboard_header_component.html.erb +0 -39
  64. data/app/components/solidstats/dashboard_header_component.rb +0 -33
  65. data/app/components/solidstats/previews/action_button_component_preview/button_vs_link.html.erb +0 -6
  66. data/app/components/solidstats/previews/action_button_component_preview/sizes.html.erb +0 -6
  67. data/app/components/solidstats/previews/action_button_component_preview/variants.html.erb +0 -6
  68. data/app/components/solidstats/previews/action_button_component_preview/with_icons.html.erb +0 -6
  69. data/app/components/solidstats/previews/action_button_component_preview.rb +0 -64
  70. data/app/components/solidstats/previews/navigation_component_preview.rb +0 -74
  71. data/app/components/solidstats/previews/stats_overview_component_preview.rb +0 -100
  72. data/app/components/solidstats/previews/status_badge_component_preview/sizes.html.erb +0 -6
  73. data/app/components/solidstats/previews/status_badge_component_preview/statuses.html.erb +0 -6
  74. data/app/components/solidstats/previews/status_badge_component_preview/with_icons.html.erb +0 -6
  75. data/app/components/solidstats/previews/status_badge_component_preview.rb +0 -49
  76. data/app/components/solidstats/previews/summary_card_component_preview/clickable.html.erb +0 -9
  77. data/app/components/solidstats/previews/summary_card_component_preview/dashboard_layout.html.erb +0 -9
  78. data/app/components/solidstats/previews/summary_card_component_preview/statuses.html.erb +0 -6
  79. data/app/components/solidstats/previews/summary_card_component_preview/value_formats.html.erb +0 -6
  80. data/app/components/solidstats/previews/summary_card_component_preview.rb +0 -67
  81. data/app/components/solidstats/quick_navigation_component.html.erb +0 -8
  82. data/app/components/solidstats/quick_navigation_component.rb +0 -21
  83. data/app/components/solidstats/security/gem_impact_analysis_component.html.erb +0 -44
  84. data/app/components/solidstats/security/gem_impact_analysis_component.rb +0 -45
  85. data/app/components/solidstats/security/overview_component.html.erb +0 -21
  86. data/app/components/solidstats/security/overview_component.rb +0 -104
  87. data/app/components/solidstats/security/section_component.html.erb +0 -26
  88. data/app/components/solidstats/security/section_component.rb +0 -52
  89. data/app/components/solidstats/security/timeline_component.html.erb +0 -39
  90. data/app/components/solidstats/security/timeline_component.rb +0 -43
  91. data/app/components/solidstats/tasks_section_component.html.erb +0 -17
  92. data/app/components/solidstats/tasks_section_component.rb +0 -22
  93. data/app/components/solidstats/ui/action_button_component.html.erb +0 -6
  94. data/app/components/solidstats/ui/action_button_component.rb +0 -71
  95. data/app/components/solidstats/ui/dashboard_layout_component.html.erb +0 -19
  96. data/app/components/solidstats/ui/dashboard_layout_component.rb +0 -85
  97. data/app/components/solidstats/ui/navigation_component.html.erb +0 -34
  98. data/app/components/solidstats/ui/navigation_component.rb +0 -72
  99. data/app/components/solidstats/ui/stats_overview_component.html.erb +0 -14
  100. data/app/components/solidstats/ui/stats_overview_component.rb +0 -78
  101. data/app/components/solidstats/ui/status_badge_component.html.erb +0 -6
  102. data/app/components/solidstats/ui/status_badge_component.rb +0 -42
  103. data/app/components/solidstats/ui/summary_card_component.html.erb +0 -12
  104. data/app/components/solidstats/ui/summary_card_component.rb +0 -63
  105. data/app/components/solidstats/ui/tab_navigation_component.html.erb +0 -22
  106. data/app/components/solidstats/ui/tab_navigation_component.rb +0 -79
  107. data/app/services/solidstats/audit_service.rb +0 -56
  108. data/app/services/solidstats/data_collector_service.rb +0 -83
  109. data/app/services/solidstats/gem_metadata/fetcher_service.rb +0 -136
  110. data/app/services/solidstats/todo_service.rb +0 -114
  111. data/app/views/solidstats/dashboard/_log_monitor.html.erb +0 -759
  112. data/app/views/solidstats/dashboard/_todos.html.erb +0 -151
  113. data/app/views/solidstats/dashboard/audit/_additional_styles.css +0 -22
  114. data/app/views/solidstats/dashboard/audit/_audit_badge.html.erb +0 -5
  115. data/app/views/solidstats/dashboard/audit/_audit_details.html.erb +0 -495
  116. data/app/views/solidstats/dashboard/audit/_audit_summary.html.erb +0 -26
  117. data/app/views/solidstats/dashboard/audit/_no_vulnerabilities.html.erb +0 -3
  118. data/app/views/solidstats/dashboard/audit/_security_audit.html.erb +0 -14
  119. data/app/views/solidstats/dashboard/audit/_vulnerabilities_table.html.erb +0 -1120
  120. data/app/views/solidstats/dashboard/audit/_vulnerability_details.html.erb +0 -63
  121. data/app/views/solidstats/dashboard/index.html.erb +0 -81
  122. data/app/views/solidstats/gem_metadata/_panel.html.erb +0 -419
  123. data/lib/generators/solidstats/feature/feature_generator.rb +0 -170
  124. data/lib/generators/solidstats/feature/templates/component.html.erb +0 -84
  125. data/lib/generators/solidstats/feature/templates/component.rb.erb +0 -103
  126. data/lib/generators/solidstats/feature/templates/component.scss +0 -243
  127. data/lib/generators/solidstats/feature/templates/component_test.rb.erb +0 -183
  128. data/lib/generators/solidstats/feature/templates/controller.rb.erb +0 -44
  129. data/lib/generators/solidstats/feature/templates/controller_test.rb.erb +0 -111
  130. data/lib/generators/solidstats/feature/templates/detail_view.html.erb +0 -755
  131. data/lib/generators/solidstats/feature/templates/preview.rb.erb +0 -107
  132. data/lib/generators/solidstats/feature/templates/service.rb.erb +0 -132
  133. data/lib/generators/solidstats/feature/templates/service_test.rb.erb +0 -109
  134. data/lib/generators/solidstats/install_generator.rb +0 -109
  135. data/lib/tasks/solidstats_install.rake +0 -133
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidstats
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MezbahAlam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-25 00:00:00.000000000 Z
11
+ date: 2025-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -39,19 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: view_component
42
+ name: standard
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '3.8'
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '3.8'
54
+ version: '0'
55
55
  description: 'View local project health: security dashboard with vulnerability analysis,
56
56
  gem impact assessment, code quality metrics, and project task tracking.'
57
57
  email:
@@ -66,115 +66,53 @@ files:
66
66
  - Rakefile
67
67
  - app/assets/javascripts/solidstats/application.js
68
68
  - app/assets/javascripts/solidstats/dashboard.js
69
- - app/assets/javascripts/solidstats/gem_metadata.js
70
69
  - app/assets/stylesheets/solidstats/application.css
71
- - app/assets/stylesheets/solidstats/components/action_button.css
72
- - app/assets/stylesheets/solidstats/components/dashboard.css
73
- - app/assets/stylesheets/solidstats/components/dashboard_header.css
74
- - app/assets/stylesheets/solidstats/components/dashboard_layout.css
75
- - app/assets/stylesheets/solidstats/components/gem_metadata.css
76
- - app/assets/stylesheets/solidstats/components/navigation.css
77
- - app/assets/stylesheets/solidstats/components/quick_navigation.css
78
- - app/assets/stylesheets/solidstats/components/security.css
79
- - app/assets/stylesheets/solidstats/components/status_badge.css
80
- - app/assets/stylesheets/solidstats/components/summary_card.css
81
- - app/assets/stylesheets/solidstats/components/tab_navigation.css
82
- - app/components/solidstats/base_component.rb
83
- - app/components/solidstats/code_quality/code_quality_section_component.html.erb
84
- - app/components/solidstats/code_quality/code_quality_section_component.rb
85
- - app/components/solidstats/code_quality/section_component.html.erb
86
- - app/components/solidstats/code_quality/section_component.rb
87
- - app/components/solidstats/dashboard_header_component.html.erb
88
- - app/components/solidstats/dashboard_header_component.rb
89
- - app/components/solidstats/previews/action_button_component_preview.rb
90
- - app/components/solidstats/previews/action_button_component_preview/button_vs_link.html.erb
91
- - app/components/solidstats/previews/action_button_component_preview/sizes.html.erb
92
- - app/components/solidstats/previews/action_button_component_preview/variants.html.erb
93
- - app/components/solidstats/previews/action_button_component_preview/with_icons.html.erb
94
- - app/components/solidstats/previews/navigation_component_preview.rb
95
- - app/components/solidstats/previews/stats_overview_component_preview.rb
96
- - app/components/solidstats/previews/status_badge_component_preview.rb
97
- - app/components/solidstats/previews/status_badge_component_preview/sizes.html.erb
98
- - app/components/solidstats/previews/status_badge_component_preview/statuses.html.erb
99
- - app/components/solidstats/previews/status_badge_component_preview/with_icons.html.erb
100
- - app/components/solidstats/previews/summary_card_component_preview.rb
101
- - app/components/solidstats/previews/summary_card_component_preview/clickable.html.erb
102
- - app/components/solidstats/previews/summary_card_component_preview/dashboard_layout.html.erb
103
- - app/components/solidstats/previews/summary_card_component_preview/statuses.html.erb
104
- - app/components/solidstats/previews/summary_card_component_preview/value_formats.html.erb
105
- - app/components/solidstats/quick_navigation_component.html.erb
106
- - app/components/solidstats/quick_navigation_component.rb
107
- - app/components/solidstats/security/gem_impact_analysis_component.html.erb
108
- - app/components/solidstats/security/gem_impact_analysis_component.rb
109
- - app/components/solidstats/security/overview_component.html.erb
110
- - app/components/solidstats/security/overview_component.rb
111
- - app/components/solidstats/security/section_component.html.erb
112
- - app/components/solidstats/security/section_component.rb
113
- - app/components/solidstats/security/timeline_component.html.erb
114
- - app/components/solidstats/security/timeline_component.rb
115
- - app/components/solidstats/tasks_section_component.html.erb
116
- - app/components/solidstats/tasks_section_component.rb
117
- - app/components/solidstats/ui/action_button_component.html.erb
118
- - app/components/solidstats/ui/action_button_component.rb
119
- - app/components/solidstats/ui/dashboard_layout_component.html.erb
120
- - app/components/solidstats/ui/dashboard_layout_component.rb
121
- - app/components/solidstats/ui/navigation_component.html.erb
122
- - app/components/solidstats/ui/navigation_component.rb
123
- - app/components/solidstats/ui/stats_overview_component.html.erb
124
- - app/components/solidstats/ui/stats_overview_component.rb
125
- - app/components/solidstats/ui/status_badge_component.html.erb
126
- - app/components/solidstats/ui/status_badge_component.rb
127
- - app/components/solidstats/ui/summary_card_component.html.erb
128
- - app/components/solidstats/ui/summary_card_component.rb
129
- - app/components/solidstats/ui/tab_navigation_component.html.erb
130
- - app/components/solidstats/ui/tab_navigation_component.rb
70
+ - app/assets/stylesheets/solidstats/dashboard.css
131
71
  - app/controllers/solidstats/application_controller.rb
132
72
  - app/controllers/solidstats/dashboard_controller.rb
133
73
  - app/controllers/solidstats/gem_metadata_controller.rb
74
+ - app/controllers/solidstats/logs_controller.rb
75
+ - app/controllers/solidstats/performance_controller.rb
76
+ - app/controllers/solidstats/productivity_controller.rb
77
+ - app/controllers/solidstats/quality_controller.rb
78
+ - app/controllers/solidstats/securities_controller.rb
134
79
  - app/helpers/solidstats/application_helper.rb
80
+ - app/helpers/solidstats/performance_helper.rb
81
+ - app/helpers/solidstats/productivity_helper.rb
135
82
  - app/jobs/solidstats/application_job.rb
136
83
  - app/mailers/solidstats/application_mailer.rb
137
84
  - app/models/solidstats/application_record.rb
138
- - app/services/solidstats/audit_service.rb
139
- - app/services/solidstats/data_collector_service.rb
140
- - app/services/solidstats/gem_metadata/fetcher_service.rb
85
+ - app/services/solidstats/bundler_audit_service.rb
86
+ - app/services/solidstats/coverage_compass_service.rb
87
+ - app/services/solidstats/load_lens_service.rb
141
88
  - app/services/solidstats/log_size_monitor_service.rb
142
- - app/services/solidstats/todo_service.rb
89
+ - app/services/solidstats/my_todo_service.rb
90
+ - app/services/solidstats/style_patrol_service.rb
143
91
  - app/views/layouts/solidstats/application.html.erb
144
- - app/views/solidstats/dashboard/_log_monitor.html.erb
145
- - app/views/solidstats/dashboard/_todos.html.erb
146
- - app/views/solidstats/dashboard/audit/_additional_styles.css
147
- - app/views/solidstats/dashboard/audit/_audit_badge.html.erb
148
- - app/views/solidstats/dashboard/audit/_audit_details.html.erb
149
- - app/views/solidstats/dashboard/audit/_audit_summary.html.erb
150
- - app/views/solidstats/dashboard/audit/_no_vulnerabilities.html.erb
151
- - app/views/solidstats/dashboard/audit/_security_audit.html.erb
152
- - app/views/solidstats/dashboard/audit/_vulnerabilities_table.html.erb
153
- - app/views/solidstats/dashboard/audit/_vulnerability_details.html.erb
154
- - app/views/solidstats/dashboard/index.html.erb
155
- - app/views/solidstats/gem_metadata/_panel.html.erb
92
+ - app/views/layouts/solidstats/dashboard.html.erb
93
+ - app/views/solidstats/dashboard/dashboard.html.erb
94
+ - app/views/solidstats/logs/logs_size.html.erb
95
+ - app/views/solidstats/performance/load_lens.html.erb
96
+ - app/views/solidstats/productivity/_todo_list.html.erb
97
+ - app/views/solidstats/productivity/my_todos.html.erb
98
+ - app/views/solidstats/quality/coverage_compass.html.erb
99
+ - app/views/solidstats/quality/style_patrol.html.erb
100
+ - app/views/solidstats/securities/bundler_audit.html.erb
101
+ - app/views/solidstats/shared/_dashboard_card.html.erb
102
+ - app/views/solidstats/shared/_quick_actions.html.erb
156
103
  - config/routes.rb
157
- - lib/generators/solidstats/feature/feature_generator.rb
158
- - lib/generators/solidstats/feature/templates/component.html.erb
159
- - lib/generators/solidstats/feature/templates/component.rb.erb
160
- - lib/generators/solidstats/feature/templates/component.scss
161
- - lib/generators/solidstats/feature/templates/component_test.rb.erb
162
- - lib/generators/solidstats/feature/templates/controller.rb.erb
163
- - lib/generators/solidstats/feature/templates/controller_test.rb.erb
164
- - lib/generators/solidstats/feature/templates/detail_view.html.erb
165
- - lib/generators/solidstats/feature/templates/preview.rb.erb
166
- - lib/generators/solidstats/feature/templates/service.rb.erb
167
- - lib/generators/solidstats/feature/templates/service_test.rb.erb
104
+ - lib/generators/solidstats/clean/clean_generator.rb
105
+ - lib/generators/solidstats/clean/templates/README
168
106
  - lib/generators/solidstats/install/install_generator.rb
169
107
  - lib/generators/solidstats/install/templates/README
170
- - lib/generators/solidstats/install_generator.rb
171
108
  - lib/generators/solidstats/templates/initializer.rb
172
109
  - lib/solidstats.rb
173
110
  - lib/solidstats/asset_compatibility.rb
174
111
  - lib/solidstats/asset_manifest.rb
175
112
  - lib/solidstats/engine.rb
176
113
  - lib/solidstats/version.rb
177
- - lib/tasks/solidstats_install.rake
114
+ - lib/tasks/solidstats.rake
115
+ - lib/tasks/solidstats_performance.rake
178
116
  - lib/tasks/solidstats_release.rake
179
117
  - lib/tasks/solidstats_tasks.rake
180
118
  homepage: https://solidstats.infolily.com