launchdarkly-server-sdk-ai 0.2.0 → 0.2.1
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 +7 -0
- data/PROVENANCE.md +1 -1
- data/lib/server/ai/client.rb +2 -0
- data/lib/server/ai/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: 4828d6db587bacb6185c5cd2d02840d6cd0529cc00ffc959f42cba096ea8a672
|
4
|
+
data.tar.gz: d88837be2fdc48085ab604d4e13d5f146b46a05d5ae3de7c8cd73435c7ab9f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0dc49a04fb2cd56e039fb9d091ce4d61c4438dbdcc307e176d997740b15e5fe4a14699b04dd3e68399b89b09aa07a30c413ecde749432cb27a45157cf3bc663
|
7
|
+
data.tar.gz: a97a9126fa820435e661c421959560d4dc8107b9f164d42014f4ee4862460295aad5178e9782bf900787374e1c9d9ffb0e26efc3523e2c38969c0a004eda13a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.2.1](https://github.com/launchdarkly/ruby-server-sdk-ai/compare/0.2.0...0.2.1) (2025-08-28)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Add usage tracking to config method ([#15](https://github.com/launchdarkly/ruby-server-sdk-ai/issues/15)) ([53ec5f6](https://github.com/launchdarkly/ruby-server-sdk-ai/commit/53ec5f6ea03a160a95baf368355bc90b7383dd64))
|
9
|
+
|
3
10
|
## [0.2.0](https://github.com/launchdarkly/ruby-server-sdk-ai/compare/0.1.0...0.2.0) (2025-07-30)
|
4
11
|
|
5
12
|
|
data/PROVENANCE.md
CHANGED
data/lib/server/ai/client.rb
CHANGED
@@ -147,6 +147,8 @@ module LaunchDarkly
|
|
147
147
|
# @return [AIConfig] An AIConfig instance containing the configuration data
|
148
148
|
#
|
149
149
|
def config(config_key, context, default_value = nil, variables = nil)
|
150
|
+
@ld_client.track('$ld:ai:config:function:single', context, config_key, 1)
|
151
|
+
|
150
152
|
variation = @ld_client.variation(
|
151
153
|
config_key,
|
152
154
|
context,
|
data/lib/server/ai/version.rb
CHANGED