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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a18b9a3fc6d70a9f0d2b214d8f627d674eb0cf3336e0c8eb15a3ce87ab958917
4
- data.tar.gz: 9e9b3fc9217af124bafddc4c372a01e8a280ae7431aeafa50a757ab39d6186c8
3
+ metadata.gz: fdaa6eddf534f079f16ed08414a7edf325a6d2fe1ba78e72641703d65b31e19a
4
+ data.tar.gz: 538b3124a09ae3ac84477ce42e746facdeae83ba275d90f26f05806cdba367e9
5
5
  SHA512:
6
- metadata.gz: 3e6d28fb7fea4b17bd84da22c266fd2452de3d569ef9d51a61a103cf01375e255b736b860a49696b4795051f95e3321fdae16762d676ceae7bf1dd501ae5057b
7
- data.tar.gz: 5d1c3797c72cdfeeb96b8063a828f767a753954b15034a10fbf1d37a4954a720833e9bbef3387648819a87f161fbad143f21ef228249bdf7ca972fadfd8f91ae
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-ui` gems:
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-ui**: Web interface for viewing logs
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-ui):", :cyan
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["SOLIDLOG_PUMA_PLUGIN_ENABLED"]
11
+ # plugin :solid_log if ENV["SOLID_LOG_IN_PUMA"]
12
12
  #
13
13
  # Configuration:
14
- # SOLIDLOG_PUMA_PLUGIN_ENABLED=true
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["SOLIDLOG_PUMA_PLUGIN_ENABLED"] == "false"
109
- return false unless ENV["SOLIDLOG_PUMA_PLUGIN_ENABLED"]
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
@@ -1,5 +1,5 @@
1
1
  module SolidLog
2
2
  module Core
3
- VERSION = "0.2.2"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
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.2.2
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-16 00:00:00.000000000 Z
11
+ date: 2026-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord