libmongocrypt-helper 1.7.4.0.1000 → 1.7.4.0.1002

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: 5b50712da00a54726660812ecea89e7eefc7dd1acc3bd239f4e347faba050c7c
4
- data.tar.gz: 65a04988a4fd54b3cc8095363f9bd7eccb5d4a3022375c2fcfca3ceb1a3546a1
3
+ metadata.gz: c28cbfbd91e043ddfd42777c19330e7a3c5c8d3d0915793d2fc69d8f641dd5d8
4
+ data.tar.gz: 0fe816908825594f1728ae973604f0d3cc5e2288a3f8fad99ccfbaaca4511fa3
5
5
  SHA512:
6
- metadata.gz: 0dadbbce3a9984be302dffd0a8178a61cb6fdd47418d934553fb6b1476695ef7338942d0812d86559e5b5fe4b7dabdd9f28321d91d7a6cba515a2fa74eb3aa89
7
- data.tar.gz: 4c4144d5043a0ae45bd0d9b4619491cd0289c5236d66ba3d648544b562a8867396af629ab6aad83e28639ed6c8c8191316495079d5da5c8e99bff608aed2f450
6
+ metadata.gz: 57d347930b4799a794eae40254cbc2a9b00b359ea52f55ebdf60b90cd37890aafb46f594d6b4a174f10f50ec102c4de7e0c1eb0d0f36b2777fcfbd0ba80c850a
7
+ data.tar.gz: 75e290bf291fbcae5043dbd8ed4885cf28ca808672940722e0cc355570aacb186c31d01b9db70ed9b260be7fb80404febfd8bff0f8b447254b60419281924711
checksums.yaml.gz.sig CHANGED
Binary file
@@ -32,7 +32,7 @@ cmake_opts = %w(
32
32
  -DMONGOCRYPT_ENABLE_CRYPTO=0
33
33
  -DBUILD_TESTING=0
34
34
  )
35
- cmake_opts << "-DBUILD_VERSION=#{LibmongocryptHelper::VERSION}"
35
+ cmake_opts << "-DBUILD_VERSION=#{LibmongocryptHelper::LIBMONGOCRYPT_VERSION}"
36
36
  system("#{CMAKE} #{cmake_opts.join(' ')} #{cmake_dir} -B#{build_dir}")
37
37
 
38
38
  # Check if the build directory was successfully generated
@@ -45,10 +45,10 @@ Dir.chdir(build_dir) do
45
45
  system(MAKE)
46
46
  end
47
47
 
48
- lib_file_extension = case RUBY_PLATFORM
48
+ lib_file_extension = case RbConfig::CONFIG['target_os']
49
49
  when /linux/ then "so"
50
50
  when /darwin/ then "dylib"
51
- else abort "ERROR: this gem supports only linux and macos"
51
+ else abort "ERROR: this gem supports only linux and macos, #{RbConfig::CONFIG['target_os']} is not supported"
52
52
  end
53
53
 
54
54
  lib_file = File.join(build_dir, "#{extension_name}.#{lib_file_extension}")
@@ -1,5 +1,5 @@
1
1
  module LibmongocryptHelper
2
- VERSION = '1.7.4.0.1000'
2
+ VERSION = '1.7.4.0.1002'
3
3
 
4
4
  LIBMONGOCRYPT_VERSION = '1.7.4'
5
5
  end
@@ -3,10 +3,10 @@ require 'libmongocrypt_helper/version'
3
3
  module LibmongocryptHelper
4
4
  def libmongocrypt_path
5
5
  @libmongocrypt_path ||= begin
6
- lib_file_extension = case RUBY_PLATFORM
6
+ lib_file_extension = case RbConfig::CONFIG['target_os']
7
7
  when /linux/ then "so"
8
8
  when /darwin/ then "dylib"
9
- else raise "ERROR: this gem supports only linux and macos"
9
+ else raise "ERROR: this gem supports only linux and macos, #{RbConfig::CONFIG['target_os']} is not supported"
10
10
  end
11
11
 
12
12
  File.join(
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libmongocrypt-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4.0.1000
4
+ version: 1.7.4.0.1002
5
5
  platform: ruby
6
6
  authors:
7
7
  - The MongoDB Ruby Team
@@ -35,7 +35,7 @@ cert_chain:
35
35
  wkeAWhd5b+5JS0zgDL4SvGB8/W2IY+y0zELkojBMgJPyrpAWHL/WSsSBMuhyI2Pv
36
36
  xxaBVLklnJJ/qCCOZ3lG2MyVc/Nb0Mmq8ygWNsfwHmKKYuuWcviit0D0Tek=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-04-20 00:00:00.000000000 Z
38
+ date: 2023-04-24 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description: ''
41
41
  email:
metadata.gz.sig CHANGED
Binary file