eppo-server-sdk 3.2.4-x86_64-linux-musl → 3.2.7-x86_64-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: 22da5ddd29fc739d8de8e03e2741ed85e8c4ccc2893dc546754d8c25593e6cd5
4
- data.tar.gz: f6e813875c053314f2ddc7bc5df28d7deee111510c526ceb02a894aac4266790
3
+ metadata.gz: 3f22fae84d379957d4c998ab883d780fd6a7bc3fbab81ab1fc3318d5ec87226a
4
+ data.tar.gz: 38dbfe398495c75c34c084510a6b683bee664bd7ad0f1ef91a0560bf14e2f69f
5
5
  SHA512:
6
- metadata.gz: 5134a3f80bd05fe9f61a5333be5dc210fb50562a10823cc94d0b05cdb1568ec767d54975d2a5247050ec74f310ae6b1bd96a8e7154a42930b618841b087d7a57
7
- data.tar.gz: 4b00bebc5bb3f0b90f246bdad41aa14c1798e7d76218a4285fc794ae75dd4cf59d2e4c0567360034a0fc87f0ab7b42134cc2987990f1ee7d3dac8eb38bcf6f37
6
+ metadata.gz: 2068819797f3e979a4d5e4fec13c77c4c323f6d361884a007a20c392730100364337183573ca402e28c6a4bd47c85b7f836d50d22497a6efc6c6c0f467928c85
7
+ data.tar.gz: 127cf70d19bbf83da41f950074593613c2ae09fe58e1f2ef182abd759227d520f746e5789c81ba2a40002cba8bb492418212d64de429671913abe877f6fa4e7b
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: x86_64-linux-musl
6
6
  authors:
7
7
  - Eppo