File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4545 system ( MAKE )
4646end
4747
48- lib_file_extension = case RUBY_PLATFORM
48+ lib_file_extension = case RbConfig :: CONFIG [ 'target_os' ]
4949 when /linux/ then "so"
5050 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 "
5252 end
5353
5454lib_file = File . join ( build_dir , "#{ extension_name } .#{ lib_file_extension } " )
Original file line number Diff line number Diff line change 33module LibmongocryptHelper
44 def libmongocrypt_path
55 @libmongocrypt_path ||= begin
6- lib_file_extension = case RUBY_PLATFORM
6+ lib_file_extension = case RbConfig :: CONFIG [ 'target_os' ]
77 when /linux/ then "so"
88 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 "
1010 end
1111
1212 File . join (
Original file line number Diff line number Diff line change 11module LibmongocryptHelper
2- VERSION = '1.7.4.0.1001 '
2+ VERSION = '1.7.4.0.1002 '
33
44 LIBMONGOCRYPT_VERSION = '1.7.4'
55end
You can’t perform that action at this time.
0 commit comments