javonet-ruby-sdk 2.4.11 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/NetVersion31LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/NetVersion60LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/NetVersion70LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/NetVersion80LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/NetVersionLatest.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libnethost.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libpython3.12.so.1.0 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NetVersionLatest.runtimeconfig.json +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libpython3.11.so.1.0 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/NetVersionLatest.runtimeconfig.json +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/NetVersionLatest.runtimeconfig.json +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/nethost.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/python312.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersionLatest.runtimeconfig.json +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/nethost.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/python312.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +87 -87
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +10 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/lib/Javonet/JavonetPerlSdk.pm +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +20 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +10 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/lib/Javonet/JavonetPerlSdk.pm +2 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +8 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/{CommandType.cpython-311.pyc → CommandType.cpython-312.pyc} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +9 -5
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +9 -5
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +9 -5
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/transmitter/transmitter_wrapper.rb +9 -5
- data/lib/javonet-ruby-sdk/sdk/config_runtime_factory.rb +21 -2
- data/lib/javonet-ruby-sdk/sdk/tools/json_file_resolver.rb +8 -0
- metadata +84 -64
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/python311.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/python311.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
@@ -5,6 +5,9 @@ use lib 'lib';
|
|
5
5
|
use FFI::Platypus;
|
6
6
|
use Path::Tiny;
|
7
7
|
use File::Spec;
|
8
|
+
use Config;
|
9
|
+
use POSIX qw(uname);
|
10
|
+
|
8
11
|
my $ffi;
|
9
12
|
|
10
13
|
my $send_command_native;
|
@@ -21,14 +24,17 @@ sub initialize {
|
|
21
24
|
my $dir = File::Spec->rel2abs(__FILE__);
|
22
25
|
my $current_dir = path($dir)->parent(3);
|
23
26
|
my $perl_native_lib;
|
27
|
+
|
28
|
+
my $arch = (uname())[4] =~ /64/ ? "X64" : "X86";
|
29
|
+
|
24
30
|
if ($osname eq "linux") {
|
25
|
-
$perl_native_lib =
|
31
|
+
$perl_native_lib = "Binaries/Native/Linux/$arch/libJavonetPerlRuntimeNative.so";
|
26
32
|
}
|
27
33
|
elsif ($osname eq "darwin") {
|
28
|
-
$perl_native_lib =
|
34
|
+
$perl_native_lib = "Binaries/Native/MacOs/$arch/libJavonetPerlRuntimeNative.dylib";
|
29
35
|
}
|
30
36
|
else {
|
31
|
-
$perl_native_lib =
|
37
|
+
$perl_native_lib = "Binaries/Native/Windows/$arch/JavonetPerlRuntimeNative.dll";
|
32
38
|
}
|
33
39
|
$ffi->lib("$current_dir/$perl_native_lib");
|
34
40
|
$send_command_native = $ffi->function('SendCommand' => [ 'uchar[]', 'int' ] => 'int');
|
@@ -85,4 +91,4 @@ sub set_config_source {
|
|
85
91
|
}
|
86
92
|
}
|
87
93
|
|
88
|
-
1;
|
94
|
+
1;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
=head2
|
1
|
+
=head2 Tue Oct 1 12:14:13 2024: C<Module> L<Want|Want>
|
2
2
|
|
3
3
|
=over 4
|
4
4
|
|
@@ -12,7 +12,7 @@ C<LINKTYPE: dynamic>
|
|
12
12
|
|
13
13
|
=item *
|
14
14
|
|
15
|
-
C<VERSION: 0.
|
15
|
+
C<VERSION: 0.29>
|
16
16
|
|
17
17
|
=item *
|
18
18
|
|
@@ -20,7 +20,7 @@ C<EXE_FILES: >
|
|
20
20
|
|
21
21
|
=back
|
22
22
|
|
23
|
-
=head2
|
23
|
+
=head2 Tue Oct 1 12:14:20 2024: C<Module> L<PPI|PPI>
|
24
24
|
|
25
25
|
=over 4
|
26
26
|
|
@@ -34,7 +34,7 @@ C<LINKTYPE: dynamic>
|
|
34
34
|
|
35
35
|
=item *
|
36
36
|
|
37
|
-
C<VERSION:
|
37
|
+
C<VERSION: 1.279>
|
38
38
|
|
39
39
|
=item *
|
40
40
|
|
@@ -42,7 +42,7 @@ C<EXE_FILES: >
|
|
42
42
|
|
43
43
|
=back
|
44
44
|
|
45
|
-
=head2
|
45
|
+
=head2 Tue Oct 1 12:14:26 2024: C<Module> L<PPI::XS|PPI::XS>
|
46
46
|
|
47
47
|
=over 4
|
48
48
|
|
@@ -56,7 +56,7 @@ C<LINKTYPE: dynamic>
|
|
56
56
|
|
57
57
|
=item *
|
58
58
|
|
59
|
-
C<VERSION:
|
59
|
+
C<VERSION: 0.910>
|
60
60
|
|
61
61
|
=item *
|
62
62
|
|
@@ -64,7 +64,7 @@ C<EXE_FILES: >
|
|
64
64
|
|
65
65
|
=back
|
66
66
|
|
67
|
-
=head2
|
67
|
+
=head2 Tue Oct 1 12:14:29 2024: C<Module> L<Nice::Try|Nice::Try>
|
68
68
|
|
69
69
|
=over 4
|
70
70
|
|
@@ -78,7 +78,7 @@ C<LINKTYPE: dynamic>
|
|
78
78
|
|
79
79
|
=item *
|
80
80
|
|
81
|
-
C<VERSION:
|
81
|
+
C<VERSION: v1.3.13>
|
82
82
|
|
83
83
|
=item *
|
84
84
|
|
@@ -86,7 +86,7 @@ C<EXE_FILES: >
|
|
86
86
|
|
87
87
|
=back
|
88
88
|
|
89
|
-
=head2
|
89
|
+
=head2 Tue Oct 1 12:14:44 2024: C<Module> L<Data::UUID|Data::UUID>
|
90
90
|
|
91
91
|
=over 4
|
92
92
|
|
@@ -100,7 +100,7 @@ C<LINKTYPE: dynamic>
|
|
100
100
|
|
101
101
|
=item *
|
102
102
|
|
103
|
-
C<VERSION: 1.
|
103
|
+
C<VERSION: 1.227>
|
104
104
|
|
105
105
|
=item *
|
106
106
|
|
@@ -108,7 +108,7 @@ C<EXE_FILES: >
|
|
108
108
|
|
109
109
|
=back
|
110
110
|
|
111
|
-
=head2
|
111
|
+
=head2 Tue Oct 1 12:14:49 2024: C<Module> L<Attribute::Util|Attribute::Util>
|
112
112
|
|
113
113
|
=over 4
|
114
114
|
|
@@ -122,7 +122,7 @@ C<LINKTYPE: dynamic>
|
|
122
122
|
|
123
123
|
=item *
|
124
124
|
|
125
|
-
C<VERSION:
|
125
|
+
C<VERSION: 1.07>
|
126
126
|
|
127
127
|
=item *
|
128
128
|
|
@@ -130,7 +130,7 @@ C<EXE_FILES: >
|
|
130
130
|
|
131
131
|
=back
|
132
132
|
|
133
|
-
=head2
|
133
|
+
=head2 Tue Oct 1 12:14:53 2024: C<Module> L<Data::Cmp|Data::Cmp>
|
134
134
|
|
135
135
|
=over 4
|
136
136
|
|
@@ -144,7 +144,7 @@ C<LINKTYPE: dynamic>
|
|
144
144
|
|
145
145
|
=item *
|
146
146
|
|
147
|
-
C<VERSION: 0.
|
147
|
+
C<VERSION: 0.010>
|
148
148
|
|
149
149
|
=item *
|
150
150
|
|
@@ -152,7 +152,7 @@ C<EXE_FILES: >
|
|
152
152
|
|
153
153
|
=back
|
154
154
|
|
155
|
-
=head2
|
155
|
+
=head2 Tue Oct 1 12:14:59 2024: C<Module> L<Test::Fatal|Test::Fatal>
|
156
156
|
|
157
157
|
=over 4
|
158
158
|
|
@@ -166,7 +166,7 @@ C<LINKTYPE: dynamic>
|
|
166
166
|
|
167
167
|
=item *
|
168
168
|
|
169
|
-
C<VERSION:
|
169
|
+
C<VERSION: 0.017>
|
170
170
|
|
171
171
|
=item *
|
172
172
|
|
@@ -174,7 +174,7 @@ C<EXE_FILES: >
|
|
174
174
|
|
175
175
|
=back
|
176
176
|
|
177
|
-
=head2
|
177
|
+
=head2 Tue Oct 1 12:15:06 2024: C<Module> L<autobox|autobox>
|
178
178
|
|
179
179
|
=over 4
|
180
180
|
|
@@ -188,7 +188,7 @@ C<LINKTYPE: dynamic>
|
|
188
188
|
|
189
189
|
=item *
|
190
190
|
|
191
|
-
C<VERSION: 0.
|
191
|
+
C<VERSION: v3.0.2>
|
192
192
|
|
193
193
|
=item *
|
194
194
|
|
@@ -196,7 +196,7 @@ C<EXE_FILES: >
|
|
196
196
|
|
197
197
|
=back
|
198
198
|
|
199
|
-
=head2
|
199
|
+
=head2 Tue Oct 1 12:15:12 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
|
200
200
|
|
201
201
|
=over 4
|
202
202
|
|
@@ -210,7 +210,7 @@ C<LINKTYPE: dynamic>
|
|
210
210
|
|
211
211
|
=item *
|
212
212
|
|
213
|
-
C<VERSION: 0.
|
213
|
+
C<VERSION: 0.40>
|
214
214
|
|
215
215
|
=item *
|
216
216
|
|
@@ -5,6 +5,9 @@ use lib 'lib';
|
|
5
5
|
use FFI::Platypus;
|
6
6
|
use Path::Tiny;
|
7
7
|
use File::Spec;
|
8
|
+
use Config;
|
9
|
+
use POSIX qw(uname);
|
10
|
+
|
8
11
|
my $ffi;
|
9
12
|
|
10
13
|
my $send_command_native;
|
@@ -21,14 +24,17 @@ sub initialize {
|
|
21
24
|
my $dir = File::Spec->rel2abs(__FILE__);
|
22
25
|
my $current_dir = path($dir)->parent(3);
|
23
26
|
my $perl_native_lib;
|
27
|
+
|
28
|
+
my $arch = (uname())[4] =~ /64/ ? "X64" : "X86";
|
29
|
+
|
24
30
|
if ($osname eq "linux") {
|
25
|
-
$perl_native_lib =
|
31
|
+
$perl_native_lib = "Binaries/Native/Linux/$arch/libJavonetPerlRuntimeNative.so";
|
26
32
|
}
|
27
33
|
elsif ($osname eq "darwin") {
|
28
|
-
$perl_native_lib =
|
34
|
+
$perl_native_lib = "Binaries/Native/MacOs/$arch/libJavonetPerlRuntimeNative.dylib";
|
29
35
|
}
|
30
36
|
else {
|
31
|
-
$perl_native_lib =
|
37
|
+
$perl_native_lib = "Binaries/Native/Windows/$arch/JavonetPerlRuntimeNative.dll";
|
32
38
|
}
|
33
39
|
$ffi->lib("$current_dir/$perl_native_lib");
|
34
40
|
$send_command_native = $ffi->function('SendCommand' => [ 'uchar[]', 'int' ] => 'int');
|
@@ -85,4 +91,4 @@ sub set_config_source {
|
|
85
91
|
}
|
86
92
|
}
|
87
93
|
|
88
|
-
1;
|
94
|
+
1;
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc
ADDED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc
ADDED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc
ADDED
Binary file
|
Binary file
|
Binary file
|
@@ -9,15 +9,15 @@ callbackFunction = CMPFUNC(callbackFunc)
|
|
9
9
|
|
10
10
|
|
11
11
|
class TransmitterWrapper:
|
12
|
+
file_path = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
13
|
+
arch = 'X64' if platform.machine().endswith('64') else 'X86'
|
14
|
+
|
12
15
|
if platform.system() == 'Windows':
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
python_lib_path = file_path + '/Binaries/Native/
|
18
|
-
if platform.system() == 'Darwin':
|
19
|
-
file_path = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
20
|
-
python_lib_path = file_path + '/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib'
|
16
|
+
python_lib_path = file_path + f'/Binaries/Native/Windows/{arch}/JavonetPythonRuntimeNative.dll'
|
17
|
+
elif platform.system() == 'Linux':
|
18
|
+
python_lib_path = file_path + f'/Binaries/Native/Linux/{arch}/libJavonetPythonRuntimeNative.so'
|
19
|
+
elif platform.system() == 'Darwin':
|
20
|
+
python_lib_path = file_path + f'/Binaries/Native/MacOs/{arch}/libJavonetPythonRuntimeNative.dylib'
|
21
21
|
|
22
22
|
python_lib = cdll.LoadLibrary(python_lib_path)
|
23
23
|
python_lib.SetCallback(callbackFunction)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc
ADDED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc
ADDED
Binary file
|
data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,16 +1,20 @@
|
|
1
1
|
module TransmitterWrapper
|
2
2
|
extend FFI::Library
|
3
|
+
|
4
|
+
arch = FFI::Platform::ARCH == 'x86_64' ? 'X64' : 'X86'
|
5
|
+
|
3
6
|
if OS.linux?
|
4
|
-
ffi_lib File.expand_path(
|
7
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Linux/#{arch}/libJavonetRubyRuntimeNative.so", __FILE__)
|
5
8
|
elsif OS.mac?
|
6
|
-
ffi_lib File.expand_path(
|
9
|
+
ffi_lib File.expand_path("../../../Binaries/Native/MacOs/#{arch}/libJavonetRubyRuntimeNative.dylib", __FILE__)
|
7
10
|
else
|
8
|
-
RubyInstaller::Runtime.add_dll_directory(File.expand_path(
|
9
|
-
ffi_lib File.expand_path(
|
11
|
+
RubyInstaller::Runtime.add_dll_directory(File.expand_path("../../../Binaries/Native/Windows/#{arch}/", __FILE__))
|
12
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Windows/#{arch}/JavonetRubyRuntimeNative.dll", __FILE__)
|
10
13
|
end
|
14
|
+
|
11
15
|
attach_function :SendCommand, [:pointer, :int], :int
|
12
16
|
attach_function :ReadResponse, [:pointer, :int], :int
|
13
17
|
attach_function :Activate, [:pointer, :pointer, :pointer, :pointer], :int
|
14
18
|
attach_function :GetNativeError, [], :string
|
15
19
|
attach_function :SetConfigSource, [:pointer], :int
|
16
|
-
end
|
20
|
+
end
|
@@ -1,16 +1,20 @@
|
|
1
1
|
module TransmitterWrapper
|
2
2
|
extend FFI::Library
|
3
|
+
|
4
|
+
arch = FFI::Platform::ARCH == 'x86_64' ? 'X64' : 'X86'
|
5
|
+
|
3
6
|
if OS.linux?
|
4
|
-
ffi_lib File.expand_path(
|
7
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Linux/#{arch}/libJavonetRubyRuntimeNative.so", __FILE__)
|
5
8
|
elsif OS.mac?
|
6
|
-
ffi_lib File.expand_path(
|
9
|
+
ffi_lib File.expand_path("../../../Binaries/Native/MacOs/#{arch}/libJavonetRubyRuntimeNative.dylib", __FILE__)
|
7
10
|
else
|
8
|
-
RubyInstaller::Runtime.add_dll_directory(File.expand_path(
|
9
|
-
ffi_lib File.expand_path(
|
11
|
+
RubyInstaller::Runtime.add_dll_directory(File.expand_path("../../../Binaries/Native/Windows/#{arch}/", __FILE__))
|
12
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Windows/#{arch}/JavonetRubyRuntimeNative.dll", __FILE__)
|
10
13
|
end
|
14
|
+
|
11
15
|
attach_function :SendCommand, [:pointer, :int], :int
|
12
16
|
attach_function :ReadResponse, [:pointer, :int], :int
|
13
17
|
attach_function :Activate, [:pointer, :pointer, :pointer, :pointer], :int
|
14
18
|
attach_function :GetNativeError, [], :string
|
15
19
|
attach_function :SetConfigSource, [:pointer], :int
|
16
|
-
end
|
20
|
+
end
|
@@ -1,16 +1,20 @@
|
|
1
1
|
module TransmitterWrapper
|
2
2
|
extend FFI::Library
|
3
|
+
|
4
|
+
arch = FFI::Platform::ARCH == 'x86_64' ? 'X64' : 'X86'
|
5
|
+
|
3
6
|
if OS.linux?
|
4
|
-
ffi_lib File.expand_path(
|
7
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Linux/#{arch}/libJavonetRubyRuntimeNative.so", __FILE__)
|
5
8
|
elsif OS.mac?
|
6
|
-
ffi_lib File.expand_path(
|
9
|
+
ffi_lib File.expand_path("../../../Binaries/Native/MacOs/#{arch}/libJavonetRubyRuntimeNative.dylib", __FILE__)
|
7
10
|
else
|
8
|
-
RubyInstaller::Runtime.add_dll_directory(File.expand_path(
|
9
|
-
ffi_lib File.expand_path(
|
11
|
+
RubyInstaller::Runtime.add_dll_directory(File.expand_path("../../../Binaries/Native/Windows/#{arch}/", __FILE__))
|
12
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Windows/#{arch}/JavonetRubyRuntimeNative.dll", __FILE__)
|
10
13
|
end
|
14
|
+
|
11
15
|
attach_function :SendCommand, [:pointer, :int], :int
|
12
16
|
attach_function :ReadResponse, [:pointer, :int], :int
|
13
17
|
attach_function :Activate, [:pointer, :pointer, :pointer, :pointer], :int
|
14
18
|
attach_function :GetNativeError, [], :string
|
15
19
|
attach_function :SetConfigSource, [:pointer], :int
|
16
|
-
end
|
20
|
+
end
|
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
@@ -1,16 +1,20 @@
|
|
1
1
|
module TransmitterWrapper
|
2
2
|
extend FFI::Library
|
3
|
+
|
4
|
+
arch = FFI::Platform::ARCH == 'x86_64' ? 'X64' : 'X86'
|
5
|
+
|
3
6
|
if OS.linux?
|
4
|
-
ffi_lib File.expand_path(
|
7
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Linux/#{arch}/libJavonetRubyRuntimeNative.so", __FILE__)
|
5
8
|
elsif OS.mac?
|
6
|
-
ffi_lib File.expand_path(
|
9
|
+
ffi_lib File.expand_path("../../../Binaries/Native/MacOs/#{arch}/libJavonetRubyRuntimeNative.dylib", __FILE__)
|
7
10
|
else
|
8
|
-
RubyInstaller::Runtime.add_dll_directory(File.expand_path(
|
9
|
-
ffi_lib File.expand_path(
|
11
|
+
RubyInstaller::Runtime.add_dll_directory(File.expand_path("../../../Binaries/Native/Windows/#{arch}/", __FILE__))
|
12
|
+
ffi_lib File.expand_path("../../../Binaries/Native/Windows/#{arch}/JavonetRubyRuntimeNative.dll", __FILE__)
|
10
13
|
end
|
14
|
+
|
11
15
|
attach_function :SendCommand, [:pointer, :int], :int
|
12
16
|
attach_function :ReadResponse, [:pointer, :int], :int
|
13
17
|
attach_function :Activate, [:pointer, :pointer, :pointer, :pointer], :int
|
14
18
|
attach_function :GetNativeError, [], :string
|
15
19
|
attach_function :SetConfigSource, [:pointer], :int
|
16
|
-
end
|
20
|
+
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'pathname'
|
1
2
|
require_relative './internal/abstract_config_runtime_factory'
|
2
3
|
require_relative './runtime_context'
|
3
4
|
require_relative './../utils/connection_type'
|
@@ -82,11 +83,29 @@ class ConfigRuntimeFactory < AbstractConfigRuntimeFactory
|
|
82
83
|
if conn_type == "tcp"
|
83
84
|
conn_data = TcpConnectionData.new(jfr.get_channel_host(RuntimeNameHandler.get_name(runtime), config_name),
|
84
85
|
jfr.get_channel_port(RuntimeNameHandler.get_name(runtime), config_name))
|
85
|
-
|
86
|
+
rtm_ctx = RuntimeContext.get_instance(runtime, ConnectionType::TCP, conn_data)
|
86
87
|
elsif conn_type == "inMemory"
|
87
|
-
|
88
|
+
rtm_ctx = RuntimeContext.get_instance(runtime, ConnectionType::IN_MEMORY, nil)
|
88
89
|
else
|
89
90
|
raise "Invalid connection type"
|
90
91
|
end
|
92
|
+
load_modules(runtime, config_name, jfr, rtm_ctx)
|
93
|
+
rtm_ctx
|
94
|
+
end
|
95
|
+
|
96
|
+
def load_modules(runtime, config_name, jfr, rtm_ctx)
|
97
|
+
modules = jfr.get_modules(RuntimeNameHandler.get_name(runtime), config_name)
|
98
|
+
.split(';')
|
99
|
+
.reject(&:empty?)
|
100
|
+
|
101
|
+
config_directory_absolute_path = File.dirname(@path)
|
102
|
+
|
103
|
+
modules.each do |mod|
|
104
|
+
if Pathname.new(mod).absolute?
|
105
|
+
rtm_ctx.load_library(mod)
|
106
|
+
else
|
107
|
+
rtm_ctx.load_library(File.join(config_directory_absolute_path, mod))
|
108
|
+
end
|
109
|
+
end
|
91
110
|
end
|
92
111
|
end
|
@@ -52,4 +52,12 @@ class JsonFileResolver
|
|
52
52
|
channel = get_channel(runtime_name, config_name)
|
53
53
|
channel["port"] || (raise "Channel port not found in configuration file for config #{config_name}. Please check your configuration file.")
|
54
54
|
end
|
55
|
+
|
56
|
+
def get_modules(runtime_name, config_name)
|
57
|
+
runtime = get_runtime(runtime_name, config_name)
|
58
|
+
if runtime.key?('modules')
|
59
|
+
return runtime['modules']
|
60
|
+
end
|
61
|
+
""
|
62
|
+
end
|
55
63
|
end
|