eppo-server-sdk 3.2.4-aarch64-linux-musl → 3.2.8-aarch64-linux-musl

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: 946d9507dc3bf372e8290de6232e0726ae8f2993f1187dad64b4c0c1d9069165
4
- data.tar.gz: 444b071ce036fdd9c073a66c83e369f9ab40e6a2ca61876ed2ee8289106095fb
3
+ metadata.gz: ac29b646a9fd7865a8ea9abf949f54448d5e9c3d820c125d24662264a78de6eb
4
+ data.tar.gz: 8f1e2dfcbf03e6ad9e5eb3d174f7d3c180f6ea91d23da9a7111af63b17963cdf
5
5
  SHA512:
6
- metadata.gz: bc3aaeaec337a15ddcd33d2a0243572f8cc4e7344ccb9729dda20fa98434ddcdc7139447efe20449359f05ed40c4065c2089c34350684f23d27c3ed8cc73bb70
7
- data.tar.gz: fdc81d087e46f210b06e877026da78a89cc41ec7a6f6d2277be8b9bb655c3079577d148427d077dd1f681bedc8617348f43aa2f4567b53cad2f34b82be6d60f5
6
+ metadata.gz: cf0ce26c748ce6d18730abd21cc07cf6760c85a580848a10a4d7a5125d29846790255ab73d441bdc2d3dc06a99b8f45c39c06f428e72b84ab6ae1c27bd94da72
7
+ data.tar.gz: 529b2d9a66afb958476787a32d0d01804e3957a448f787b3da2655fc353f45fb232e70280515d776a3afd72b92d8333057c1e18527995c0fb10364d5b8a1cbf4
data/README.md CHANGED
@@ -23,5 +23,6 @@ Make sure you remove the override before updating `Cargo.lock`. Otherwise, the l
23
23
 
24
24
  ## Releasing
25
25
 
26
- * Bump versions in `ruby-sdk/lib/eppo_client/version.rb` and `ruby-sdk/ext/eppo_client/Cargo.toml`.
27
- * Run `cargo update --workspace --verbose` to update `Cargo.lock` and `Gemfile.lock`.
26
+ * Bump versions in `ruby-sdk/lib/eppo_client/version.rb` and `ruby-sdk/ext/eppo_client/Cargo.toml`
27
+ * Run `cargo update --workspace --verbose` to update `Cargo.lock`
28
+ * Run `bundle` to update `Gemfile.lock`
Binary file
Binary file
Binary file
Binary file
@@ -4,7 +4,14 @@ require "singleton"
4
4
  require "logger"
5
5
 
6
6
  require_relative "config"
7
- require_relative "eppo_client"
7
+
8
+ # Tries to require the extension for the current Ruby version first
9
+ begin
10
+ RUBY_VERSION =~ /(\d+\.\d+)/
11
+ require_relative "#{Regexp.last_match(1)}/eppo_client"
12
+ rescue LoadError
13
+ require_relative "eppo_client"
14
+ end
8
15
 
9
16
  module EppoClient
10
17
  # The main client singleton
@@ -15,7 +22,7 @@ module EppoClient
15
22
  def init(config)
16
23
  config.validate
17
24
 
18
- if !@core.nil? then
25
+ if !@core.nil?
19
26
  STDERR.puts "Eppo Warning: multiple initialization of the client"
20
27
  @core.shutdown
21
28
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # TODO: this version and ext/eppo_client/Cargo.toml should be in sync
4
4
  module EppoClient
5
- VERSION = "3.2.4"
5
+ VERSION = "3.2.8"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eppo-server-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.4
4
+ version: 3.2.8
5
5
  platform: aarch64-linux-musl
6
6
  authors:
7
7
  - Eppo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-22 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: