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

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: 946d9507dc3bf372e8290de6232e0726ae8f2993f1187dad64b4c0c1d9069165
4
- data.tar.gz: 444b071ce036fdd9c073a66c83e369f9ab40e6a2ca61876ed2ee8289106095fb
3
+ metadata.gz: 3b677ccf3b6c61054e60bb93a5cbcf4450465aac621e9bc98702262e55696f69
4
+ data.tar.gz: 373a3c4735e5691169d047e102f25415aecb316b893442fd1486de470d96e6a1
5
5
  SHA512:
6
- metadata.gz: bc3aaeaec337a15ddcd33d2a0243572f8cc4e7344ccb9729dda20fa98434ddcdc7139447efe20449359f05ed40c4065c2089c34350684f23d27c3ed8cc73bb70
7
- data.tar.gz: fdc81d087e46f210b06e877026da78a89cc41ec7a6f6d2277be8b9bb655c3079577d148427d077dd1f681bedc8617348f43aa2f4567b53cad2f34b82be6d60f5
6
+ metadata.gz: 119d744d464347ee8c123b6526f1d85b61e2242f0673c2a662bff3f993585c1986db74e68f97f0e70b4f9c929ecce5e4b2dc79f6b2b4a681b34468395bb1ed53
7
+ data.tar.gz: 80d21666622169fbb10ea7437300d9dbca61fb00096c998db275f91508b5d3e97d3d096c4d661f8f22b20007731ef4a6fb7bb7af3547645a4af54eec510695d8
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: aarch64-linux-musl
6
6
  authors:
7
7
  - Eppo