eppo-server-sdk 3.2.4-x86_64-linux → 3.2.8-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a646b8d22e0dffa429597a4160aee018e66a769d6df9259f53e834d1ae01ad73
4
- data.tar.gz: ce8f697a0396d26911c6eba83aad0372881e64f86df5eedd9ca298259c77fd27
3
+ metadata.gz: 6382b5fd091a8795577a6406214512151a92c0c0aee4a7d4dd3d4e10f7e80051
4
+ data.tar.gz: 99d69e859764a779ea5517184da0eb5cf21cdc08e8fb6950cea5f4084d6f15cb
5
5
  SHA512:
6
- metadata.gz: 2fe6ea83a45f7aca66437d9ee4936e2044756344bc22b2627e2ec6b0b1e4fcdf08f3b38342fbb9d298ecabdca488b2596c8bf59059d0f6b41a080d2d947e7c73
7
- data.tar.gz: a1b713ec206917ad49b85e02f6f53d76fb78186884f9f678cec19cd79f66910ebb59478e9a0a7421a1e297f5482afc471fa19647ffb66474bd871e8964e222a6
6
+ metadata.gz: 895cdd82455dfee14821744f7f08e77137f04b4d49c6c19e1af38be53fc93b98c6e65b10d1467ac9917375590d89bb41ebe1323b710ecf06a9b056db4f79b7fd
7
+ data.tar.gz: 526efd32f9ef93d257a02cb4a83047246ed2bb0db3c8709cf68c393d1ba0f22b79d9c054ebd2b34d4c1e7c58b7cd07613aaa0ef5609668842fb8f1e4270e2a5a
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: x86_64-linux
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: