legion-data 1.8.4 → 1.8.5
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/CHANGELOG.md +4 -1
- data/lib/legion/data/connection.rb +1 -1
- data/lib/legion/data/local.rb +1 -1
- data/lib/legion/data/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b825eb46e0228251730ce4c339e76eac14c67e3001d1554495bf7f72ec0f5d0c
|
|
4
|
+
data.tar.gz: a9f797bd628944c509ea230003a927e5bf3ba434a08a50bdd6a35a34d719d72e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d46e826a98465155b373512068ae0edc3caf29dd5a0b39c910aa2fd68e3076f0348bd7611b94f91707d6d8b674b9637d4c4f55739712e82cba2aa485a67a602
|
|
7
|
+
data.tar.gz: c5bbda03afc750f841f22a8eb55a01a4b8a335d8167a81445cadb033e95b40d4409c704c110fefb5a42d752d9abb6d46d5778613b92a9d10a81f25c415b0c569
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# Legion::Data Changelog
|
|
2
2
|
|
|
3
|
-
## [
|
|
3
|
+
## [1.8.5] - 2026-05-09
|
|
4
|
+
|
|
5
|
+
### Removed
|
|
6
|
+
- Unnecessary `defined?(Legion::Logging)` guards from connection and local database setup — legion-logging is a hard gemspec dependency and always available
|
|
4
7
|
|
|
5
8
|
## [1.8.4] - 2026-05-08
|
|
6
9
|
|
|
@@ -396,7 +396,7 @@ module Legion
|
|
|
396
396
|
opts[:logger] = @query_file_logger
|
|
397
397
|
opts[:sql_log_level] = :debug
|
|
398
398
|
opts[:log_connection_info] = data[:log_connection_info] || false
|
|
399
|
-
elsif data[:log]
|
|
399
|
+
elsif data[:log]
|
|
400
400
|
# Standard mode: slow-query warnings through Legion::Logging domain
|
|
401
401
|
opts[:logger] = build_data_logger
|
|
402
402
|
opts[:sql_log_level] = data[:sql_log_level]&.to_sym || :debug
|
data/lib/legion/data/local.rb
CHANGED
|
@@ -38,7 +38,7 @@ module Legion
|
|
|
38
38
|
@query_file_logger = Legion::Data::Connection::QueryFileLogger.new(log_path)
|
|
39
39
|
opts[:logger] = @query_file_logger
|
|
40
40
|
opts[:sql_log_level] = :debug
|
|
41
|
-
elsif data[:log]
|
|
41
|
+
elsif data[:log]
|
|
42
42
|
opts[:logger] = build_local_logger
|
|
43
43
|
opts[:sql_log_level] = resolved_sql_log_level
|
|
44
44
|
opts[:log_warn_duration] = resolved_log_warn_duration
|
data/lib/legion/data/version.rb
CHANGED