eppo-server-sdk 3.2.4-arm64-darwin → 3.2.7-arm64-darwin
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.bundle +0 -0
- data/lib/eppo_client/3.1/eppo_client.bundle +0 -0
- data/lib/eppo_client/3.2/eppo_client.bundle +0 -0
- data/lib/eppo_client/3.3/eppo_client.bundle +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: 0ca4717e9e0c2f7c0e6260d71fdc015e857f2bed7c63580effe094b88a709201
|
4
|
+
data.tar.gz: 62cc406c07c9084d543131ea7a917102f30173dfb4ba938becefc322d90ee550
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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`
|
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