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

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: 263ebee418eb1592ed7f0760e19ab8da22d5eb400ef46aac801295b9588070cd
4
- data.tar.gz: 4152bb907db4fdb6fafec116c72728addea03d25060094e9264ddfd4ac0cd8de
3
+ metadata.gz: 0ca4717e9e0c2f7c0e6260d71fdc015e857f2bed7c63580effe094b88a709201
4
+ data.tar.gz: 62cc406c07c9084d543131ea7a917102f30173dfb4ba938becefc322d90ee550
5
5
  SHA512:
6
- metadata.gz: 0c9e2b4218bf673e32c04927b88f7634f7a2a6045fff351374e9c93d8cbf4973a325b31393e27f82dd6c273d4e5d57e947cb76a47610901d013dbf2cf9c59dc4
7
- data.tar.gz: ee11a040fe1ec3e37ac0bc4c4ddc431a11d7693ffa7f0b3e276e8798f73445388211b52158b88118c396b158fc84fe4531e93a67db3fef7974ec85ff51078084
6
+ metadata.gz: cb7e90a331f72f90258cb317fcb35dd47ddb01134a74291cb47dd6953e934b2a57c256451fa5749d9e4d064ec20f112ca6428c83985a91644e7d852f63796048
7
+ data.tar.gz: 381cffccff097a6866d9536ba4dd6025abd085dbf51700a745c6c0d5fdb0e891211aa14c422eeb1b2f94cceb23c8e04dc95b52c8701bcd22cc6c687cace51695
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.7"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.7
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Eppo