eppo-server-sdk 3.2.4-arm64-darwin → 3.2.8-arm64-darwin

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: 263ebee418eb1592ed7f0760e19ab8da22d5eb400ef46aac801295b9588070cd
4
- data.tar.gz: 4152bb907db4fdb6fafec116c72728addea03d25060094e9264ddfd4ac0cd8de
3
+ metadata.gz: 5609cf2588f7c8619dd06362811e9af53a4a1e8221c86feef3ff9f673bfe07d7
4
+ data.tar.gz: 5ab254163f62081d45d133247966c68f9ab194650a08711d18d4905baaa78fee
5
5
  SHA512:
6
- metadata.gz: 0c9e2b4218bf673e32c04927b88f7634f7a2a6045fff351374e9c93d8cbf4973a325b31393e27f82dd6c273d4e5d57e947cb76a47610901d013dbf2cf9c59dc4
7
- data.tar.gz: ee11a040fe1ec3e37ac0bc4c4ddc431a11d7693ffa7f0b3e276e8798f73445388211b52158b88118c396b158fc84fe4531e93a67db3fef7974ec85ff51078084
6
+ metadata.gz: e5147720e4acad5f4eab2c3d322d6b846a0ac8f84808c666ff00167904867752bc7d9c979527b489ea7914c8c532498691dc5ab9d7f27667250945eabf0a8533
7
+ data.tar.gz: a4ea3ee5f935715ecc038c93b3adef62f5777cf109f9ead8c83e76ffa275079067744a46842cb52f8fdfff6507987d9a95fa3a5d53e371129e39a10e7b7be520
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: arm64-darwin
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: