javonet-ruby-sdk 2.5.4 → 2.5.5
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/javonet-ruby-sdk.gemspec +1 -1
- 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/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/libJavonetRubyRuntimeNative.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/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.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/libJavonetNodejs1816RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.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/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/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.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/libJavonetNodejsRuntimeNative.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/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.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/ARM64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
- 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/Utils.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/JavonetNetcoreRuntimeNative.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/Utils.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/Nodejs/core/transmitter/Transmitter.js +6 -2
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/transmitter/TransmitterWrapper.js +3 -4
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Nice/Try.pm +215 -5
- 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 +85 -85
- 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/deps/lib/perl5/Nice/Try.pm +215 -5
- 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/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__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__/GetInstanceMethodAsDelegateHandler.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__/GetStaticMethodAsDelegateHandler.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__/InvokeDelegateHandler.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__/PassDelegateHandler.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 +3 -6
- 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-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__/RuntimeLogger.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/interpreter/interpreter.rb +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +18 -59
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/type_serializer.rb +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/runtime_logger.rb +16 -8
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/tcp_connection_data.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/interpreter/interpreter.rb +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +18 -59
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/type_serializer.rb +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/runtime_logger.rb +16 -8
- data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/tcp_connection_data.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/interpreter/interpreter.rb +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +18 -59
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/type_serializer.rb +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb +4 -2
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/runtime_logger.rb +16 -8
- data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/tcp_connection_data.rb +4 -0
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- data/lib/javonet-ruby-sdk/core/interpreter/interpreter.rb +4 -4
- data/lib/javonet-ruby-sdk/core/protocol/command_serializer.rb +18 -59
- data/lib/javonet-ruby-sdk/core/protocol/type_serializer.rb +23 -0
- data/lib/javonet-ruby-sdk/core/receiver/receiver.rb +4 -2
- data/lib/javonet-ruby-sdk/core/transmitter/transmitter.rb +1 -1
- data/lib/javonet-ruby-sdk/core/transmitter/transmitter_wrapper.rb +1 -1
- data/lib/javonet-ruby-sdk/sdk/config_runtime_factory.rb +2 -0
- data/lib/javonet-ruby-sdk/sdk/javonet.rb +7 -13
- data/lib/javonet-ruby-sdk/utils/runtime_logger.rb +16 -8
- data/lib/javonet-ruby-sdk/utils/tcp_connection_data.rb +4 -0
- metadata +4 -4
@@ -1,10 +1,10 @@
|
|
1
1
|
##----------------------------------------------------------------------------
|
2
2
|
## A real Try Catch Block Implementation Using Perl Filter - ~/lib/Nice/Try.pm
|
3
|
-
## Version v1.3.
|
3
|
+
## Version v1.3.15
|
4
4
|
## Copyright(c) 2024 DEGUEST Pte. Ltd.
|
5
5
|
## Author: Jacques Deguest <jack@deguest.jp>
|
6
6
|
## Created 2020/05/17
|
7
|
-
## Modified 2024/
|
7
|
+
## Modified 2024/11/07
|
8
8
|
## All rights reserved
|
9
9
|
##
|
10
10
|
## This program is free software; you can redistribute it and/or modify it
|
@@ -26,7 +26,7 @@ BEGIN
|
|
26
26
|
use Scalar::Util ();
|
27
27
|
use List::Util ();
|
28
28
|
use Want ();
|
29
|
-
our $VERSION = 'v1.3.
|
29
|
+
our $VERSION = 'v1.3.15';
|
30
30
|
our $ERROR;
|
31
31
|
our( $CATCH, $DIED, $EXCEPTION, $FINALLY, $HAS_CATCH, @RETVAL, $SENTINEL, $TRY, $WANTARRAY );
|
32
32
|
}
|
@@ -47,6 +47,8 @@ sub import
|
|
47
47
|
$hash->{debug_code} = 0 if( !CORE::exists( $hash->{debug_code} ) );
|
48
48
|
$hash->{debug_dump} = 0 if( !CORE::exists( $hash->{debug_dump} ) );
|
49
49
|
$hash->{dont_want} = 0 if( !CORE::exists( $hash->{dont_want} ) );
|
50
|
+
# We use the $class to process the __DATA__ or __END__ token section
|
51
|
+
$hash->{class} = $class;
|
50
52
|
# We check if we are running under tie and if so we cannot use Want features,
|
51
53
|
# because they would trigger a segmentation fault.
|
52
54
|
$hash->{is_tied} = 0;
|
@@ -123,11 +125,17 @@ sub filter
|
|
123
125
|
if( index( $code, 'try' ) != -1 )
|
124
126
|
{
|
125
127
|
$self->_message( 4, "Processing $line lines of code." ) if( $self->{debug} >= 4 );
|
128
|
+
$self->_message( 4, "Processing code:\n${code}" ) if( $self->{debug} >= 5 );
|
126
129
|
my $doc = PPI::Document->new( \$code, readonly => 1 ) || die( "Unable to parse: ", PPI::Document->errstr, "\n$code\n" );
|
127
130
|
# Remove pod
|
128
131
|
# $doc->prune('PPI::Token::Pod');
|
129
132
|
$self->_browse( $doc ) if( $self->{debug_dump} );
|
130
|
-
|
133
|
+
# It is easy for us to do a simple check as to whether there is potentially a __DATA__ or a __END__ token,
|
134
|
+
# so we avoid wasting resources and time checking it using PPI::Element::find()
|
135
|
+
if( $doc = $self->_parse( $doc,
|
136
|
+
{
|
137
|
+
has_data => ( ( CORE::index( $code, '__DATA__' ) != -1 || CORE::index( $code, '__END__' ) != -1 ) ? 1 : 0 ),
|
138
|
+
}) )
|
131
139
|
{
|
132
140
|
$_ = $doc->serialize;
|
133
141
|
# $doc->save( "./dev/debug-parsed.pl" );
|
@@ -161,6 +169,7 @@ sub filter
|
|
161
169
|
$line++;
|
162
170
|
}
|
163
171
|
}
|
172
|
+
# $self->_message( 4, "Resulting code:\n${_}" ) if( $self->{debug} >= 5 );
|
164
173
|
if( $self->{debug_file} )
|
165
174
|
{
|
166
175
|
if( open( my $fh, ">$self->{debug_file}" ) )
|
@@ -283,6 +292,7 @@ sub _parse
|
|
283
292
|
{
|
284
293
|
my $self = shift( @_ );
|
285
294
|
my $elem = shift( @_ );
|
295
|
+
my $opts = shift( @_ );
|
286
296
|
no warnings 'uninitialized';
|
287
297
|
if( !Scalar::Util::blessed( $elem ) || !$elem->isa( 'PPI::Node' ) )
|
288
298
|
{
|
@@ -1473,7 +1483,115 @@ EOT
|
|
1473
1483
|
}
|
1474
1484
|
}
|
1475
1485
|
# End foreach catch found
|
1486
|
+
|
1487
|
+
# NOTE: Do we have a __DATA__ or __END__ token ?
|
1488
|
+
if( $opts->{has_data} )
|
1489
|
+
{
|
1490
|
+
my $ref = $elem->find(sub
|
1491
|
+
{
|
1492
|
+
my( $top, $this ) = @_;
|
1493
|
+
return( ( $this->class eq 'PPI::Statement::Data' || $this->class eq 'PPI::Statement::End' ) ? 1 : 0 );
|
1494
|
+
});
|
1495
|
+
warn( "Warning only: Failed to find any __DATA__ or __END__ token." ) if( !defined( $ref ) && warnings::enabled() );
|
1496
|
+
my $class = $self->{class};
|
1497
|
+
my $name = 'DATA';
|
1498
|
+
$self->_message( 4, "Found ", scalar( @$ref ), " DATA tokens." );
|
1499
|
+
# There must be only one: either __DATA__ or __END__, so we process it, and exit the loop.
|
1500
|
+
foreach my $this ( @$ref )
|
1501
|
+
{
|
1502
|
+
$self->_message( 4, "DATA or END token found." );
|
1503
|
+
$self->_browse( $this ) if( $self->{debug} >= 5 );
|
1504
|
+
my $tokens = $this->find(sub
|
1505
|
+
{
|
1506
|
+
my( $top, $this ) = @_;
|
1507
|
+
# PPI::Token::End
|
1508
|
+
return( ( $this->class eq 'PPI::Token::Data' || $this->class eq 'PPI::Token::End' ) ? 1 : 0 );
|
1509
|
+
});
|
1510
|
+
next if( !$tokens || ( defined( $tokens ) && ref( $tokens ) && !scalar( @$tokens ) ) );
|
1511
|
+
my $token = $tokens->[0];
|
1512
|
+
my $token_name_ref = $this->find( 'PPI::Token::Separator' );
|
1513
|
+
my $token_name;
|
1514
|
+
if( $token_name_ref && ref( $token_name_ref ) eq 'ARRAY' && scalar( @$token_name_ref ) )
|
1515
|
+
{
|
1516
|
+
$token_name = $token_name_ref->[0]->content;
|
1517
|
+
}
|
1518
|
+
else
|
1519
|
+
{
|
1520
|
+
warn( "Could not find the __END__ or __DATA__ separator." ) if( warnings::enabled() );
|
1521
|
+
last;
|
1522
|
+
}
|
1523
|
+
|
1524
|
+
# my $io = $token->handle;
|
1525
|
+
my $raw_data_str = $token->content;
|
1526
|
+
$self->_message( 5, "Found DATA to be:\n${raw_data_str}" );
|
1527
|
+
|
1528
|
+
# Create a new string that holds only non-POD data
|
1529
|
+
my $filtered_data_str = '';
|
1530
|
+
|
1531
|
+
if( $raw_data_str =~ /\S+/ )
|
1532
|
+
{
|
1533
|
+
# Parse the data as a PPI document to filter POD content
|
1534
|
+
$self->_message( 5, "Parsing the DATA, and check for POD to skip." );
|
1535
|
+
# Force it to be __END__ so PPI can handle properly the POD data
|
1536
|
+
# FYI, PPI only handles POD data when the token is __END__, and not when it is __DATA__
|
1537
|
+
if( $token_name eq '__DATA__' )
|
1538
|
+
{
|
1539
|
+
my $data_str = "__END__\n" . $raw_data_str;
|
1540
|
+
require PPI::Tokenizer;
|
1541
|
+
my $tokenizer = PPI::Tokenizer->new( \$data_str );
|
1542
|
+
my $tokens = $tokenizer->all_tokens;
|
1543
|
+
foreach my $token ( @$tokens )
|
1544
|
+
{
|
1545
|
+
$filtered_data_str .= "${token}" if( $token->class eq 'PPI::Token::End' );
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
else
|
1549
|
+
{
|
1550
|
+
$filtered_data_str = $raw_data_str;
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
|
1554
|
+
# Now $filtered_data_str holds only the non-POD data content
|
1555
|
+
$self->_message( 5, "Creating BEGIN block to set DATA with value:\n${filtered_data_str}" );
|
1556
|
+
|
1557
|
+
# Define the BEGIN block code with the filtered data
|
1558
|
+
my $begin_block_code = <<"END_CODE";
|
1559
|
+
CHECK
|
1560
|
+
{
|
1561
|
+
my \$nice_try_data_block_str = <<'END_OF_DATA';
|
1562
|
+
${filtered_data_str}
|
1563
|
+
END_OF_DATA
|
1476
1564
|
|
1565
|
+
require Symbol;
|
1566
|
+
my \$fh = Symbol::geniosym();
|
1567
|
+
open( \$fh, '<:scalar', \\\$nice_try_data_block_str ) || die( \$! );
|
1568
|
+
no strict 'refs';
|
1569
|
+
no warnings 'redefine';
|
1570
|
+
*{ __PACKAGE__ . '::DATA' } = \$fh;
|
1571
|
+
};
|
1572
|
+
|
1573
|
+
END_CODE
|
1574
|
+
$self->_message( 5, "BEGIN block is:\n${begin_block_code}" );
|
1575
|
+
my $begin_block = PPI::Token->new( $begin_block_code ) || die( "Unable to create token" );
|
1576
|
+
$self->_message( 5, "Inserting BEGIN element object '", overload::StrVal( $begin_block ), "', before '", overload::StrVal( $this ), "'" );
|
1577
|
+
my $rv = $this->__insert_before( $begin_block );
|
1578
|
+
if( !defined( $rv ) )
|
1579
|
+
{
|
1580
|
+
warn( "BEGIN block object (", overload::StrVal( $begin_block ), ") to be inserted before the DATA token is not a valid object." ) if( warnings::enabled() );
|
1581
|
+
last;
|
1582
|
+
}
|
1583
|
+
elsif( !$rv )
|
1584
|
+
{
|
1585
|
+
warn( "Somehow, the BEGIN block object (", overload::StrVal( $begin_block ), ") could not be inserted before the DATA token." ) if( warnings::enabled() );
|
1586
|
+
last;
|
1587
|
+
}
|
1588
|
+
# $self->_message( 5, "BEGIN block object (", overload::StrVal( $begin_block ), ") was successfully inserted." );
|
1589
|
+
# We end here, because there can be only one __DATA__ or __END__ token
|
1590
|
+
last;
|
1591
|
+
}
|
1592
|
+
}
|
1593
|
+
|
1594
|
+
# $self->_message( 5, "Code now is: $elem" );
|
1477
1595
|
return( $elem );
|
1478
1596
|
}
|
1479
1597
|
|
@@ -2162,7 +2280,7 @@ And you also have granular power in the catch block to filter which exception to
|
|
2162
2280
|
|
2163
2281
|
=head1 VERSION
|
2164
2282
|
|
2165
|
-
v1.3.
|
2283
|
+
v1.3.15
|
2166
2284
|
|
2167
2285
|
=head1 DESCRIPTION
|
2168
2286
|
|
@@ -2549,6 +2667,8 @@ Also, the C<use feature 'try'> expression must be in the relevant block where yo
|
|
2549
2667
|
|
2550
2668
|
It is probably a matter of time until this is fully implemented in perl as a regular non-experimental feature.
|
2551
2669
|
|
2670
|
+
As of perl C<v5.40.0>. the C<try-catch> block L<is now only partly experimental|https://perldoc.perl.org/5.40.0/perldelta#try/catch-feature-is-no-longer-experimental>, but you still need to load it with C<use feature 'try'>. However, at least no warning of it being experimental will be emitted. Still, L<no exception filtering by class though|https://perldoc.perl.org/5.40.0/perlsyn#Try-Catch-Exception-Handling>
|
2671
|
+
|
2552
2672
|
See more information about perl's featured implementation of try-catch in L<perlsyn|https://perldoc.perl.org/perlsyn#Try-Catch-Exception-Handling>
|
2553
2673
|
|
2554
2674
|
So, L<Nice::Try> is quite unique and fills the missing features, and since it uses XS modules for a one-time filtering, it is quite fast.
|
@@ -2922,6 +3042,96 @@ When there is an update to correct this bug from L<Want>, I will issue a new ver
|
|
2922
3042
|
|
2923
3043
|
The use of L<Want> is also automatically disabled when running under a package that use overloading.
|
2924
3044
|
|
3045
|
+
=head1 __DATA__ and __END__ sections
|
3046
|
+
|
3047
|
+
Due to a limitation to the way source filter works with L<Filter::Util::Call>, normally, it is not possible to make the data available after the C<__DATA__> or C<__END__> token accessible with the special glob C<DATA>, but with C<Nice::Try>, it is possible. Thus, the following would work as you would expect:
|
3048
|
+
|
3049
|
+
#!/usr/bin/env perl
|
3050
|
+
use strict;
|
3051
|
+
use warnings;
|
3052
|
+
use Nice::Try;
|
3053
|
+
|
3054
|
+
try
|
3055
|
+
{
|
3056
|
+
print "Poem by Pierre de Ronsard (1545)\n";
|
3057
|
+
|
3058
|
+
print while( <DATA> );
|
3059
|
+
}
|
3060
|
+
catch($e)
|
3061
|
+
{
|
3062
|
+
print( "Oh no: $e\n" );
|
3063
|
+
}
|
3064
|
+
|
3065
|
+
__END__
|
3066
|
+
Mignonne, allons voir si la rose
|
3067
|
+
Qui ce matin avoit desclose
|
3068
|
+
Sa robe de pourpre au Soleil,
|
3069
|
+
A point perdu ceste vesprée
|
3070
|
+
Les plis de sa robe pourprée,
|
3071
|
+
Et son teint au vostre pareil.
|
3072
|
+
|
3073
|
+
The same would work if the C<__DATA__> were used instead of C<__END__>
|
3074
|
+
|
3075
|
+
And, if you mix POD, it will ignore it to only make available in the C<DATA> glob the non-POD data. For example:
|
3076
|
+
|
3077
|
+
#!/usr/bin/env perl
|
3078
|
+
use strict;
|
3079
|
+
use warnings;
|
3080
|
+
use Nice::Try;
|
3081
|
+
|
3082
|
+
try
|
3083
|
+
{
|
3084
|
+
print "Poem by Pierre de Ronsard (1545)\n";
|
3085
|
+
|
3086
|
+
print while( <DATA> );
|
3087
|
+
}
|
3088
|
+
catch($e)
|
3089
|
+
{
|
3090
|
+
print( "Oh no: $e\n" );
|
3091
|
+
}
|
3092
|
+
|
3093
|
+
__END__
|
3094
|
+
Mignonne, allons voir si la rose
|
3095
|
+
Qui ce matin avoit desclose
|
3096
|
+
Sa robe de pourpre au Soleil,
|
3097
|
+
A point perdu ceste vesprée
|
3098
|
+
Les plis de sa robe pourprée,
|
3099
|
+
Et son teint au vostre pareil.
|
3100
|
+
|
3101
|
+
=encoding utf-8
|
3102
|
+
|
3103
|
+
=head1 NAME
|
3104
|
+
|
3105
|
+
French::Poetry - Pierre de Ronsard, Ode à Cassandre
|
3106
|
+
|
3107
|
+
=head1 DESCRIPTION
|
3108
|
+
|
3109
|
+
This famous poem was made by Pierre de Ronsard after he met Cassandre Salviati, daughter of an Italian banker, at the court in 1545.
|
3110
|
+
|
3111
|
+
This poem is the epitome of Epicureanism (Carpe diem).
|
3112
|
+
|
3113
|
+
=cut
|
3114
|
+
|
3115
|
+
Las ! voyez comme en peu d'espace,
|
3116
|
+
Mignonne, elle a dessus la place,
|
3117
|
+
Las ! las ! ses beautés laissé choir !
|
3118
|
+
Ô vraiment marâtre Nature,
|
3119
|
+
Puisqu'une telle fleur ne dure
|
3120
|
+
Que du matin jusques au soir !
|
3121
|
+
|
3122
|
+
Donc, si vous me croyez, mignonne,
|
3123
|
+
Tandis que votre âge fleuronne
|
3124
|
+
En sa plus verte nouveauté,
|
3125
|
+
Cueillez, cueillez votre jeunesse :
|
3126
|
+
Comme à cette fleur, la vieillesse
|
3127
|
+
Fera ternir votre beauté.
|
3128
|
+
|
3129
|
+
This would yield the entire poem of 3 paragraph, while skipping the POD in-between. Of course, the same would work with C<__DATA__>
|
3130
|
+
|
3131
|
+
The C<DATA> is actually an C<IO::File> object generated with C<Symbol::geniosym()>
|
3132
|
+
|
3133
|
+
See also L<perldata/"Special-Literals"> for more information.
|
3134
|
+
|
2925
3135
|
=head1 LIMITATIONS
|
2926
3136
|
|
2927
3137
|
Before version C<v1.3.5>, there was a limitation on using signature on a subroutine, but since version C<v1.3.5>, it has been fixed and there is no more any limitation. Thus the following works nicely too.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|