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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16137586242aa6d79a027d6e293dced3807ea3b61a0ff896c06164a3b600ebf3
4
- data.tar.gz: 73c64585a2280fa2d0a143a7f6811f7707f1c2524468fcfc799f16aaaebbbc3a
3
+ metadata.gz: b825eb46e0228251730ce4c339e76eac14c67e3001d1554495bf7f72ec0f5d0c
4
+ data.tar.gz: a9f797bd628944c509ea230003a927e5bf3ba434a08a50bdd6a35a34d719d72e
5
5
  SHA512:
6
- metadata.gz: ef0a8443c9405d83ff2ec0b84738ebfef221c85c09ffb2bc73311910872052df587e53e5ebd0739481175e56d2bade7d41f74747d3aef34d0fad1774f469d7a3
7
- data.tar.gz: de5406352a6ce4d0bbc73ad5f2c38831d5083bbb01d2648cf49967a82059cf0c28906a7fb406db205b5c2126a91ea05327f7611cf8e90ec816f2418cd8f00e0f
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
- ## [Unreleased]
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] && defined?(Legion::Logging)
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
@@ -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] && defined?(Legion::Logging)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.8.4'
5
+ VERSION = '1.8.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legion-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity