legion-data 1.4.13 → 1.4.14

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: c43d3a8453436e0a8b9293c6cd8f23686f1e73550ed62d27958ecc6a4e55ba02
4
- data.tar.gz: 48da4423bb162af7d1e95ba854bce106131b8b1d6cc2e98f6d9205bfd32eb5e1
3
+ metadata.gz: 847590baf84ea8855aa32b779819bf96d99aa94308214aee82d5b742d04b4381
4
+ data.tar.gz: a3d8f45c65a097fcbba5c45fb46ada782fdbc276637076eecafe29d09ed236c9
5
5
  SHA512:
6
- metadata.gz: 96884671abf0ef7ed9fdef58c85e332a186043d35d9bd29210d158fb92a3f7bc7d2e60e8ec5a759f7d854fe89ef7892773b4c81cb841ad8655a103da3401fed4
7
- data.tar.gz: 875a80126a77632a4af0604bbb447ddf54646ae37e072f3018a789270b8fb258cf214fc02aa3a639c6c31bcba504c7e639ee4141d5906524eaa5561c9b418a2a
6
+ metadata.gz: a30c4d692bae6ff2f7d816b740ba6d05b2d4ca7088b48f23d8706e15968a6a6614cf5baa9dedcdee442a87fed0870709daa63270da755077871ea805bffe24ba
7
+ data.tar.gz: d59ba3244ca4e394cf5d9f3a236597ba95f6a96f846472f95d4e9da45454b873c833039070e397fc43b6b23ef7056f8e391503ec28a1bfc595fa0056cf1be87b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Legion::Data Changelog
2
2
 
3
+ ## [1.4.14] - 2026-03-22
4
+
5
+ ### Changed
6
+ - Boot connection log for non-SQLite adapters now includes username: `adapter://user@host:port/db`
7
+
3
8
  ## [1.4.13] - 2026-03-22
4
9
 
5
10
  ### Added
@@ -38,7 +38,11 @@ module Legion
38
38
  Legion::Logging.info "Connected to SQLite at #{sqlite_path}"
39
39
  else
40
40
  creds = Legion::Data::Settings.creds(adapter)
41
- Legion::Logging.info "Connected to #{adapter}://#{creds[:host]}:#{creds[:port]}/#{creds[:database] || creds[:db]}"
41
+ user = creds[:user] || creds[:username] || 'unknown'
42
+ host = creds[:host] || '127.0.0.1'
43
+ port = creds[:port]
44
+ db = creds[:database] || creds[:db]
45
+ Legion::Logging.info "Connected to #{adapter}://#{user}@#{host}:#{port}/#{db}"
42
46
  end
43
47
  end
44
48
  configure_logging
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Legion
4
4
  module Data
5
- VERSION = '1.4.13'
5
+ VERSION = '1.4.14'
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.4.13
4
+ version: 1.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity