solid_log-core 0.2.2 → 0.3.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.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/generators/solid_log/install/install_generator.rb +1 -1
- data/lib/puma/plugin/solid_log.rb +4 -4
- data/lib/solid_log/core/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: fdaa6eddf534f079f16ed08414a7edf325a6d2fe1ba78e72641703d65b31e19a
|
|
4
|
+
data.tar.gz: 538b3124a09ae3ac84477ce42e746facdeae83ba275d90f26f05806cdba367e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3149b7db46b6fa5c25e15fa40d4f5eb421b1baa09b33b21aa378b82ea3a60e1201cd8d67b16925fe460e068d6f0b330e6ba32a77dc82e40e1ab5692ff6d549f2
|
|
7
|
+
data.tar.gz: 595c139f179f3fa7990890110dc30343897d21789639487a44b80c3e8e7615dec016d88d41f79ae42ee61b3b1e7041ea2b28ffeee9bb751db7285d13c4a806b1
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Core models, database adapters, parser, DirectLogger, and HTTP client for the So
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
`solid_log-core` provides the shared foundation for `solid_log-service` and `solid_log
|
|
7
|
+
`solid_log-core` provides the shared foundation for `solid_log-service` and `solid_log` gems:
|
|
8
8
|
|
|
9
9
|
- **Models**: `RawEntry`, `Entry`, `Token`, `Field`, `FacetCache`
|
|
10
10
|
- **Database Adapters**: SQLite, PostgreSQL, MySQL adapters with database-specific optimizations
|
|
@@ -38,7 +38,7 @@ gem 'mysql2', '>= 0.5' # For MySQL
|
|
|
38
38
|
|
|
39
39
|
This gem is typically used as a dependency for:
|
|
40
40
|
- **solid_log-service**: Standalone log ingestion service
|
|
41
|
-
- **solid_log
|
|
41
|
+
- **solid_log**: Main gem with core + web interface for viewing logs
|
|
42
42
|
|
|
43
43
|
### DirectLogger (Recommended for Parent App)
|
|
44
44
|
|
|
@@ -90,7 +90,7 @@ module SolidLog
|
|
|
90
90
|
say "6. Create an API token:", :cyan
|
|
91
91
|
say " rails solid_log:create_token[\"Production API\"]"
|
|
92
92
|
say ""
|
|
93
|
-
say "7. Mount the UI (if using solid_log
|
|
93
|
+
say "7. Mount the UI (if using solid_log gem):", :cyan
|
|
94
94
|
say " Add to config/routes.rb:"
|
|
95
95
|
say " mount SolidLog::UI::Engine => '/admin/logs'"
|
|
96
96
|
say ""
|
|
@@ -8,10 +8,10 @@ require "puma/plugin"
|
|
|
8
8
|
# raw log entries and processes them using BatchParsingService.
|
|
9
9
|
#
|
|
10
10
|
# Usage in config/puma.rb:
|
|
11
|
-
# plugin :solid_log if ENV["
|
|
11
|
+
# plugin :solid_log if ENV["SOLID_LOG_IN_PUMA"]
|
|
12
12
|
#
|
|
13
13
|
# Configuration:
|
|
14
|
-
#
|
|
14
|
+
# SOLID_LOG_IN_PUMA=true
|
|
15
15
|
# SOLIDLOG_INLINE_PARSING_ENABLED=true
|
|
16
16
|
# SOLIDLOG_PARSE_INTERVAL=10
|
|
17
17
|
# SOLIDLOG_PARSER_BATCH_SIZE=200
|
|
@@ -105,8 +105,8 @@ Puma::Plugin.create do
|
|
|
105
105
|
# Check if plugin should be enabled
|
|
106
106
|
def enabled?
|
|
107
107
|
# Check ENV flag (explicit opt-in)
|
|
108
|
-
return false if ENV["
|
|
109
|
-
return false unless ENV["
|
|
108
|
+
return false if ENV["SOLID_LOG_IN_PUMA"] == "false"
|
|
109
|
+
return false unless ENV["SOLID_LOG_IN_PUMA"]
|
|
110
110
|
|
|
111
111
|
# Check configuration flag
|
|
112
112
|
return false unless config.inline_parsing_enabled
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solid_log-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Loman
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|