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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e994fc537562707ea07e7f4ae42b1bcc067e6973e94de8ed4aaa3f6f88f381dc
4
- data.tar.gz: 6ce57d443507383befc30d4ebdc0b4c06d53064409f0e6667fd45627bc230975
3
+ metadata.gz: 4828d6db587bacb6185c5cd2d02840d6cd0529cc00ffc959f42cba096ea8a672
4
+ data.tar.gz: d88837be2fdc48085ab604d4e13d5f146b46a05d5ae3de7c8cd73435c7ab9f3a
5
5
  SHA512:
6
- metadata.gz: f1b764660139b8804b404b8b0f30b92f99676fa3da7d7af321d9149e03c1ebdd1577d9bc0760d5b0e851388979f2b0069df4992736164d2d63343a82793e6e71
7
- data.tar.gz: 4e09545e4aef19e24b145d5b42153f2ceeac02c5b9e4c4fb00b3a6dbb3aea4fbe87efb714183a120958dc510a971b281bc7f2bfb0589ec763370bcf90dc4dc20
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
@@ -9,7 +9,7 @@ To verify SLSA provenance attestations, we recommend using [slsa-verifier](https
9
9
  <!-- x-release-please-start-version -->
10
10
  ```
11
11
  # Set the version of the SDK to verify
12
- VERSION=0.2.0
12
+ VERSION=0.2.1
13
13
  ```
14
14
  <!-- x-release-please-end -->
15
15
 
@@ -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,
@@ -3,7 +3,7 @@
3
3
  module LaunchDarkly
4
4
  module Server
5
5
  module AI
6
- VERSION = '0.2.0' # x-release-please-version
6
+ VERSION = '0.2.1' # x-release-please-version
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: launchdarkly-server-sdk-ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LaunchDarkly