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 +4 -4
- data/README.md +3 -2
- data/lib/eppo_client/3.0/eppo_client.so +0 -0
- data/lib/eppo_client/3.1/eppo_client.so +0 -0
- data/lib/eppo_client/3.2/eppo_client.so +0 -0
- data/lib/eppo_client/3.3/eppo_client.so +0 -0
- data/lib/eppo_client/client.rb +9 -2
- data/lib/eppo_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b677ccf3b6c61054e60bb93a5cbcf4450465aac621e9bc98702262e55696f69
|
4
|
+
data.tar.gz: 373a3c4735e5691169d047e102f25415aecb316b893442fd1486de470d96e6a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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`
|
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
|
data/lib/eppo_client/client.rb
CHANGED
@@ -4,7 +4,14 @@ require "singleton"
|
|
4
4
|
require "logger"
|
5
5
|
|
6
6
|
require_relative "config"
|
7
|
-
|
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?
|
25
|
+
if !@core.nil?
|
19
26
|
STDERR.puts "Eppo Warning: multiple initialization of the client"
|
20
27
|
@core.shutdown
|
21
28
|
end
|
data/lib/eppo_client/version.rb
CHANGED