eppo-server-sdk 3.2.4 → 3.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +1 -1
- data/README.md +3 -2
- data/ext/eppo_client/Cargo.toml +1 -1
- data/ext/eppo_client/extconf.rb +1 -1
- data/lib/eppo_client/client.rb +9 -2
- data/lib/eppo_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79b744c41c8a742d2df4fde1a15526cf8038c6964f6f40c002ad5db40bc07ec9
|
4
|
+
data.tar.gz: 66935bbbd726aae639df57ded1ea85c3fd0a486c400ed1449422689724479a34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6100d75714febc77b512967d0f801a6c6474ee41d8dab148818f8e90a5c194afed96d34f926d56da9be79ae4ab548a60af25de6efb26920d15ef6353c04cd9ca
|
7
|
+
data.tar.gz: 6819df24b91952da523daf34dfe216532dfaabe20cdc4a4341aec40ec3083642cdd24a425090f3804f43d2de7be4a7d935523f0f3597acca6da3e32736522fad
|
data/Cargo.lock
CHANGED
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`
|
data/ext/eppo_client/Cargo.toml
CHANGED
data/ext/eppo_client/extconf.rb
CHANGED
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eppo-server-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eppo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rb_sys
|