javonet-ruby-sdk 2.4.8 → 2.4.10
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/Windows/X64/Javonet.Clr.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- 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/libJavonetRuby278RuntimeNative.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/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.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/libJavonetTcpTlsClient.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/libJavonetRuby278RuntimeNative.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/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.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/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/Unix.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/VMS.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Helpers.pm +10 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/InstallPaths.pm +9 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Module/Build/Tiny.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Nice/Try.pm +146 -23
- 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/autobox/autobox.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/autobox.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/autobox.pod +27 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +85 -151
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Unix.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/VMS.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers.pm +10 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/InstallPaths.pm +9 -7
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Tiny.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Nice/Try.pm +146 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Package/Stash/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/autobox/autobox.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/autobox.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/autobox.pod +27 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +77 -143
- 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/autobox.pm +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/autobox.pod +27 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +37 -15
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/Nice/Try.pm +146 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/Test/Fatal.pm +477 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/interpreter/Interpreter.py +11 -9
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +3 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/receiver/Receiver.py +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/referenceCache/ReferencesCache.py +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/transmitter/Transmitter.py +2 -14
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/transmitter/TransmitterWrapper.py +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/core/webSocketClient/WebSocketClient.py +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/ConnectionType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/connectionData/IConnectionData.py +18 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/connectionData/InMemoryConnectionData.py +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/connectionData/TcpConnectionData.py +67 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/connectionData/WsConnectionData.py +30 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/connectionData/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/interpreter/Interpreter.py +11 -9
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +3 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/receiver/Receiver.py +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/ReferencesCache.py +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/transmitter/Transmitter.py +2 -14
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/transmitter/TransmitterWrapper.py +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/webSocketClient/WebSocketClient.py +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/ConnectionType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/IConnectionData.py +18 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/InMemoryConnectionData.py +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/TcpConnectionData.py +67 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/WsConnectionData.py +30 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/Interpreter.py +11 -9
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +3 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/Receiver.py +3 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/ReferencesCache.py +2 -1
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/transmitter/Transmitter.py +2 -14
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/transmitter/TransmitterWrapper.py +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/webSocketClient/WebSocketClient.py +32 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/ConnectionType.py +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/IConnectionData.py +18 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/InMemoryConnectionData.py +23 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/TcpConnectionData.py +67 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/WsConnectionData.py +30 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- metadata +26 -20
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libruby.so.3.1.5 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libruby.so.3.3.1 +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libruby.3.3.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/x64-vcruntime140-ruby330.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Meta/Requirements/Range.pm +0 -776
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Meta/Requirements.pm +0 -834
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Requirements/Dynamic.pm +0 -384
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/HasCompiler.pm +0 -308
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Meta/Requirements/Range.pm +0 -776
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Meta/Requirements.pm +0 -834
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Requirements/Dynamic.pm +0 -384
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/HasCompiler.pm +0 -308
- data/lib/javonet-ruby-sdk/Binaries/Python/Linux/X64/javonet/utils/TcpConnectionData.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/TcpConnectionData.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/TcpConnectionData.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -13,7 +13,7 @@ use Storable;
|
|
13
13
|
|
14
14
|
# XXX this declaration must be on a single line
|
15
15
|
# https://metacpan.org/pod/version#How-to-declare()-a-dotted-decimal-version
|
16
|
-
use version 0.77; our $VERSION = version->declare('v3.0.
|
16
|
+
use version 0.77; our $VERSION = version->declare('v3.0.2');
|
17
17
|
|
18
18
|
XSLoader::load 'autobox', $VERSION;
|
19
19
|
|
@@ -98,7 +98,7 @@ sub _generate_class($) {
|
|
98
98
|
};
|
99
99
|
}
|
100
100
|
|
101
|
-
# expose the autobox class (for can, isa
|
101
|
+
# expose the autobox class (for can, isa etc.)
|
102
102
|
# https://rt.cpan.org/Ticket/Display.html?id=55565
|
103
103
|
sub _make_class_accessor ($) {
|
104
104
|
my $class = shift;
|
@@ -40,8 +40,8 @@ autobox - call methods on native types
|
|
40
40
|
|
41
41
|
# can, isa, VERSION, import and unimport can be accessed via autobox_class
|
42
42
|
|
43
|
-
42->autobox_class->isa('MyNumber')
|
44
|
-
say []->autobox_class->VERSION
|
43
|
+
42->autobox_class->isa('MyNumber');
|
44
|
+
say []->autobox_class->VERSION;
|
45
45
|
|
46
46
|
=head1 DESCRIPTION
|
47
47
|
|
@@ -78,7 +78,8 @@ resolves to:
|
|
78
78
|
|
79
79
|
ARRAY::for_each([ 1 .. 10 ], sub { ... })
|
80
80
|
|
81
|
-
Values beginning with the array C<@> and hash C<%> sigils are passed by
|
81
|
+
Values beginning with the array C<@> and hash C<%> sigils are passed by
|
82
|
+
reference, i.e. under the default bindings:
|
82
83
|
|
83
84
|
@array->join(', ')
|
84
85
|
@{ ... }->length()
|
@@ -152,7 +153,7 @@ Autoboxing can be turned off entirely by using the C<no> syntax:
|
|
152
153
|
|
153
154
|
"Hello, world!"->bar(); # runtime error
|
154
155
|
|
155
|
-
Autoboxing is not performed for barewords i.e.
|
156
|
+
Autoboxing is not performed for barewords, i.e.
|
156
157
|
|
157
158
|
my $foo = Foo->new();
|
158
159
|
|
@@ -245,7 +246,7 @@ three different types of value:
|
|
245
246
|
|
246
247
|
=item *
|
247
248
|
|
248
|
-
A class name e.g.
|
249
|
+
A class name, e.g.
|
249
250
|
|
250
251
|
use autobox INTEGER => 'MyInt';
|
251
252
|
|
@@ -256,7 +257,7 @@ the corresponding C<value>.
|
|
256
257
|
=item *
|
257
258
|
|
258
259
|
A namespace: this is a class prefix (up to and including the final '::')
|
259
|
-
to which the specified type name (INTEGER, FLOAT, STRING
|
260
|
+
to which the specified type name (INTEGER, FLOAT, STRING etc.) will be appended:
|
260
261
|
|
261
262
|
Thus:
|
262
263
|
|
@@ -309,7 +310,7 @@ Which in turn is equivalent to:
|
|
309
310
|
}
|
310
311
|
|
311
312
|
Namespaces in DEFAULT values have the default type name appended, which, in the case of defaulted SCALAR types,
|
312
|
-
is SCALAR rather than INTEGER, FLOAT
|
313
|
+
is SCALAR rather than INTEGER, FLOAT etc.
|
313
314
|
|
314
315
|
Thus:
|
315
316
|
|
@@ -327,7 +328,7 @@ is equivalent to:
|
|
327
328
|
FLOAT => 'MyNamespace::SCALAR',
|
328
329
|
STRING => 'MyNamespace::SCALAR',
|
329
330
|
ARRAY => 'MyArray',
|
330
|
-
HASH => '
|
331
|
+
HASH => 'MyHash',
|
331
332
|
CODE => 'MyCode',
|
332
333
|
}
|
333
334
|
|
@@ -351,7 +352,7 @@ This doesn't work:
|
|
351
352
|
|
352
353
|
use autobox;
|
353
354
|
|
354
|
-
undef->foo() # runtime error
|
355
|
+
undef->foo(); # runtime error
|
355
356
|
|
356
357
|
This works:
|
357
358
|
|
@@ -412,7 +413,7 @@ is equivalent to:
|
|
412
413
|
}
|
413
414
|
|
414
415
|
Virtual types can also be passed to C<unimport> via the C<no autobox> syntax. This disables autoboxing
|
415
|
-
for the corresponding subtypes e.g.
|
416
|
+
for the corresponding subtypes, e.g.
|
416
417
|
|
417
418
|
no autobox qw(NUMBER);
|
418
419
|
|
@@ -435,7 +436,7 @@ would result in the following bindings:
|
|
435
436
|
3.1415927->bar -> [ MyNumber, MyScalar ]
|
436
437
|
"Hello, world!"->baz -> [ MyScalar ]
|
437
438
|
|
438
|
-
Note that DEFAULT bindings take precedence over virtual type bindings i.e.
|
439
|
+
Note that DEFAULT bindings take precedence over virtual type bindings, i.e.
|
439
440
|
|
440
441
|
use autobox {
|
441
442
|
UNIVERSAL => 'MyUniversal',
|
@@ -446,7 +447,7 @@ is equivalent to:
|
|
446
447
|
|
447
448
|
use autobox {
|
448
449
|
INTEGER => [ 'MyDefault', 'MyUniversal' ],
|
449
|
-
FLOAT => [ 'MyDefault', 'MyUniversal' ], # ...
|
450
|
+
FLOAT => [ 'MyDefault', 'MyUniversal' ], # ... etc.
|
450
451
|
}
|
451
452
|
|
452
453
|
=head2 DEBUG
|
@@ -485,11 +486,11 @@ or
|
|
485
486
|
=head2 import
|
486
487
|
|
487
488
|
This method sets up autobox bindings for the current lexical scope. It can be used to implement
|
488
|
-
autobox extensions i.e. lexically-scoped modules that provide autobox bindings for one or more
|
489
|
+
autobox extensions, i.e. lexically-scoped modules that provide autobox bindings for one or more
|
489
490
|
native types without requiring calling code to C<use autobox>.
|
490
491
|
|
491
492
|
This is done by subclassing autobox and overriding C<import>. This allows extensions to effectively
|
492
|
-
translate C<use MyModule> into a bespoke C<use autobox> call e.g.:
|
493
|
+
translate C<use MyModule> into a bespoke C<use autobox> call, e.g.:
|
493
494
|
|
494
495
|
package String::Trim;
|
495
496
|
|
@@ -518,7 +519,7 @@ Note that C<trim> is defined in an auxiliary class rather than in String::Trim i
|
|
518
519
|
String::Trim's own methods (i.e. the methods it inherits from autobox) being exposed to C<STRING> types.
|
519
520
|
|
520
521
|
This module can now be used without a C<use autobox> statement to enable the C<trim> method in the current
|
521
|
-
lexical scope e.g.:
|
522
|
+
lexical scope, e.g.:
|
522
523
|
|
523
524
|
#!/usr/bin/env perl
|
524
525
|
|
@@ -531,7 +532,7 @@ lexical scope e.g.:
|
|
531
532
|
=head2 autobox_class
|
532
533
|
|
533
534
|
autobox adds a single method to all autoboxed types: C<autobox_class>. This can be used to
|
534
|
-
call L<UNIVERSAL|UNIVERSAL> methods i.e. C<can>, C<DOES>, C<import>, C<isa>, C<unimport> and C<VERSION
|
535
|
+
call L<UNIVERSAL|UNIVERSAL> methods, i.e. C<can>, C<DOES>, C<import>, C<isa>, C<unimport> and C<VERSION>, e.g.
|
535
536
|
|
536
537
|
if (sub { ... }->autobox_class->can('curry')) ...
|
537
538
|
if (42->autobox_class->isa('SCALAR')) ...
|
@@ -540,7 +541,7 @@ Note: C<autobox_class> must B<always> be used when calling these methods. Callin
|
|
540
541
|
directly on native types produces the same results as calling them with autobox disabled
|
541
542
|
e.g.:
|
542
543
|
|
543
|
-
42->isa('NUMBER') # "" (
|
544
|
+
42->isa('NUMBER') # "" (interpreted as "42"->isa("NUMBER"))
|
544
545
|
[]->can('push') # Error: Can't call method "can" on unblessed reference
|
545
546
|
|
546
547
|
=head1 EXPORTS
|
@@ -550,7 +551,7 @@ e.g.:
|
|
550
551
|
autobox includes an additional module, autobox::universal, which exports a single subroutine, C<type>.
|
551
552
|
|
552
553
|
This sub returns the type of its argument within autobox (which is essentially longhand for the type names
|
553
|
-
used within perl). This value is used by autobox to associate a method invocant with its designated classes e.g.
|
554
|
+
used within perl). This value is used by autobox to associate a method invocant with its designated classes, e.g.
|
554
555
|
|
555
556
|
use autobox::universal qw(type);
|
556
557
|
|
@@ -560,7 +561,7 @@ used within perl). This value is used by autobox to associate a method invocant
|
|
560
561
|
type(undef) # UNDEF
|
561
562
|
|
562
563
|
autobox::universal is loaded automatically by autobox, and, as its name suggests, can be used to install
|
563
|
-
a universal C<type> method for autoboxed values e.g.
|
564
|
+
a universal C<type> method for autoboxed values, e.g.
|
564
565
|
|
565
566
|
use autobox UNIVERSAL => 'autobox::universal';
|
566
567
|
|
@@ -624,7 +625,7 @@ Perl's special-casing for the C<print BLOCK ...> syntax (see L<perlsub>) means t
|
|
624
625
|
print { 'foo', 'bar', @_ }->foo();
|
625
626
|
|
626
627
|
# but this doesn't
|
627
|
-
print { @_ }->foo() ? 1 : 0
|
628
|
+
print { @_ }->foo() ? 1 : 0;
|
628
629
|
|
629
630
|
In the latter case, the solution is to supply something
|
630
631
|
other than a HASH ref literal as the first argument
|
@@ -649,14 +650,14 @@ to C<print()>:
|
|
649
650
|
=head3 eval EXPR
|
650
651
|
|
651
652
|
Like most pragmas, autobox performs operations at compile time, and,
|
652
|
-
as a result, runtime string C<eval>s are not executed within its scope i.e.
|
653
|
-
doesn't work:
|
653
|
+
as a result, runtime string C<eval>s are not executed within its scope, i.e.
|
654
|
+
this doesn't work:
|
654
655
|
|
655
656
|
use autobox;
|
656
657
|
|
657
658
|
eval "42->foo";
|
658
659
|
|
659
|
-
The workaround is to use autobox within the C<eval
|
660
|
+
The workaround is to use autobox within the C<eval>, e.g.
|
660
661
|
|
661
662
|
eval <<'EOS';
|
662
663
|
use autobox;
|
@@ -678,7 +679,7 @@ which depends on values being blessed - doesn't apply.
|
|
678
679
|
|
679
680
|
=head1 VERSION
|
680
681
|
|
681
|
-
3.0.
|
682
|
+
3.0.2
|
682
683
|
|
683
684
|
=head1 SEE ALSO
|
684
685
|
|
@@ -700,9 +701,9 @@ chocolateboy <chocolate@cpan.org>
|
|
700
701
|
|
701
702
|
=head1 COPYRIGHT AND LICENSE
|
702
703
|
|
703
|
-
Copyright (c) 2003-
|
704
|
+
Copyright (c) 2003-2024 by chocolateboy.
|
704
705
|
|
705
706
|
This library is free software; you can redistribute it and/or modify it under the
|
706
|
-
terms of the L<Artistic License 2.0|
|
707
|
+
terms of the L<Artistic License 2.0|https://www.opensource.org/licenses/artistic-license-2.0.php>.
|
707
708
|
|
708
709
|
=cut
|
@@ -1,4 +1,4 @@
|
|
1
|
-
=head2
|
1
|
+
=head2 Thu Sep 12 15:40:33 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
|
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:
|
15
|
+
C<VERSION: 0.40>
|
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 Thu Sep 12 15:40:37 2024: C<Module> L<Test::Fatal|Test::Fatal>
|
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: 0.
|
37
|
+
C<VERSION: 0.017>
|
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 Thu Sep 12 15:40:42 2024: C<Module> L<autobox|autobox>
|
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: v3.0.2>
|
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 Thu Sep 12 15:40:53 2024: C<Module> L<PPI|PPI>
|
68
68
|
|
69
69
|
=over 4
|
70
70
|
|
@@ -86,7 +86,7 @@ C<EXE_FILES: >
|
|
86
86
|
|
87
87
|
=back
|
88
88
|
|
89
|
-
=head2
|
89
|
+
=head2 Thu Sep 12 15:40:58 2024: C<Module> L<PPI::XS|PPI::XS>
|
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: 0.
|
103
|
+
C<VERSION: 0.910>
|
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 Thu Sep 12 15:41:03 2024: C<Module> L<Want|Want>
|
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: 0.
|
125
|
+
C<VERSION: 0.29>
|
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 Thu Sep 12 15:41:06 2024: C<Module> L<Nice::Try|Nice::Try>
|
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: v1.3.
|
147
|
+
C<VERSION: v1.3.13>
|
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 Thu Sep 12 15:41:09 2024: C<Module> L<Data::Cmp|Data::Cmp>
|
156
156
|
|
157
157
|
=over 4
|
158
158
|
|
@@ -174,7 +174,7 @@ C<EXE_FILES: >
|
|
174
174
|
|
175
175
|
=back
|
176
176
|
|
177
|
-
=head2
|
177
|
+
=head2 Thu Sep 12 15:41:15 2024: C<Module> L<Data::UUID|Data::UUID>
|
178
178
|
|
179
179
|
=over 4
|
180
180
|
|
@@ -196,3 +196,25 @@ C<EXE_FILES: >
|
|
196
196
|
|
197
197
|
=back
|
198
198
|
|
199
|
+
=head2 Thu Sep 12 15:41:19 2024: C<Module> L<Attribute::Util|Attribute::Util>
|
200
|
+
|
201
|
+
=over 4
|
202
|
+
|
203
|
+
=item *
|
204
|
+
|
205
|
+
C<installed into: D:\a\1\s\src\perl\deps\lib\perl5>
|
206
|
+
|
207
|
+
=item *
|
208
|
+
|
209
|
+
C<LINKTYPE: dynamic>
|
210
|
+
|
211
|
+
=item *
|
212
|
+
|
213
|
+
C<VERSION: 1.07>
|
214
|
+
|
215
|
+
=item *
|
216
|
+
|
217
|
+
C<EXE_FILES: >
|
218
|
+
|
219
|
+
=back
|
220
|
+
|
@@ -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.13
|
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/09/06
|
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.13';
|
30
30
|
our $ERROR;
|
31
31
|
our( $CATCH, $DIED, $EXCEPTION, $FINALLY, $HAS_CATCH, @RETVAL, $SENTINEL, $TRY, $WANTARRAY );
|
32
32
|
}
|
@@ -770,15 +770,13 @@ if( \$INC{'threads.pm'} && !CORE::exists( \$INC{'forks.pm'} ) )
|
|
770
770
|
\$Nice::Try::THREADED = threads->tid;
|
771
771
|
}
|
772
772
|
CORE::local \$Nice::Try::WANT;
|
773
|
-
CORE::local ( \$Nice::Try::EXCEPTION, \$Nice::Try::DIED, \$Nice::Try::CATCH_DIED, \@Nice::Try::RETVAL, \@Nice::Try::VOID );
|
773
|
+
CORE::local ( \$Nice::Try::EXCEPTION, \$Nice::Try::DIED, \$Nice::Try::CATCH_DIED, \@Nice::Try::RETVAL, \@Nice::Try::VOID, \$Nice::Try::RETURN );
|
774
774
|
CORE::local \$Nice::Try::WANTARRAY = CORE::wantarray;
|
775
|
-
CORE::local \$Nice::Try::
|
775
|
+
CORE::local \$Nice::Try::RETURN = sub
|
776
776
|
{
|
777
|
-
|
778
|
-
|
779
|
-
CORE::return( \$Nice::Try::VOID[0] = \$Nice::Try::SENTINEL );
|
777
|
+
\$Nice::Try::NEED_TO_RETURN++;
|
778
|
+
return( wantarray() ? \@_ : \$_[0] );
|
780
779
|
};
|
781
|
-
__FINALLY_BLOCK__ CORE::local \$Nice::Try::HAS_CATCH = $has_catch_clause;
|
782
780
|
EOT
|
783
781
|
if( !$self->{is_tied} && !$self->{dont_want} && !$self->{is_overloaded} )
|
784
782
|
{
|
@@ -816,6 +814,73 @@ if( CORE::defined( \$Nice::Try::WANTARRAY ) && !\$Nice::Try::THREADED && !( !COR
|
|
816
814
|
EOT
|
817
815
|
}
|
818
816
|
$try_sub .= <<EOT;
|
817
|
+
CORE::local \$Nice::Try::TRY = CORE::sub
|
818
|
+
{
|
819
|
+
\@Nice::Try::LAST_VAL = CORE::do __TRY_OPEN_NL__{ __BLOCK_PLACEHOLDER__ };__TRY__CLOSE_NL__
|
820
|
+
CORE::return( \@Nice::Try::LAST_VAL ) if( !CORE::defined( \$Nice::Try::WANTARRAY ) && CORE::scalar( \@Nice::Try::LAST_VAL ) );
|
821
|
+
\$Nice::Try::VOID[0] = \$Nice::Try::SENTINEL;
|
822
|
+
if( CORE::defined( \$Nice::Try::WANT ) && CORE::length( \$Nice::Try::WANT ) )
|
823
|
+
{
|
824
|
+
if( \$Nice::Try::WANT eq 'OBJECT' )
|
825
|
+
{
|
826
|
+
CORE::return( Nice::Try::ObjectContext->new( sub{ \$Nice::Try::VOID[0] } )->callback() );
|
827
|
+
}
|
828
|
+
elsif( \$Nice::Try::WANT eq 'CODE' )
|
829
|
+
{
|
830
|
+
CORE::return( sub{ \$Nice::Try::VOID[0] } );
|
831
|
+
}
|
832
|
+
elsif( \$Nice::Try::WANT eq 'HASH' )
|
833
|
+
{
|
834
|
+
CORE::return( { dummy => \$Nice::Try::VOID[0] } );
|
835
|
+
}
|
836
|
+
elsif( \$Nice::Try::WANT eq 'ARRAY' )
|
837
|
+
{
|
838
|
+
CORE::return( [ \$Nice::Try::VOID[0] ] );
|
839
|
+
}
|
840
|
+
elsif( \$Nice::Try::WANT eq 'REFSCALAR' )
|
841
|
+
{
|
842
|
+
CORE::return( \\\$Nice::Try::VOID[0] );
|
843
|
+
}
|
844
|
+
elsif( \$Nice::Try::WANT eq 'GLOB' )
|
845
|
+
{
|
846
|
+
CORE::return( \*{ \$Nice::Try::VOID[0] } );
|
847
|
+
}
|
848
|
+
elsif( \$Nice::Try::WANT eq 'LIST' )
|
849
|
+
{
|
850
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
851
|
+
}
|
852
|
+
elsif( \$Nice::Try::WANT eq 'BOOLEAN' )
|
853
|
+
{
|
854
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
855
|
+
}
|
856
|
+
elsif( \$Nice::Try::WANT eq 'VOID' )
|
857
|
+
{
|
858
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
859
|
+
}
|
860
|
+
elsif( \$Nice::Try::WANT eq 'SCALAR' )
|
861
|
+
{
|
862
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
863
|
+
}
|
864
|
+
}
|
865
|
+
else
|
866
|
+
{
|
867
|
+
if( \$Nice::Try::WANTARRAY )
|
868
|
+
{
|
869
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
870
|
+
}
|
871
|
+
elsif( defined( \$Nice::Try::WANTARRAY ) )
|
872
|
+
{
|
873
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
874
|
+
}
|
875
|
+
else
|
876
|
+
{
|
877
|
+
CORE::return( \$Nice::Try::VOID[0] );
|
878
|
+
}
|
879
|
+
}
|
880
|
+
};
|
881
|
+
__FINALLY_BLOCK__ CORE::local \$Nice::Try::HAS_CATCH = $has_catch_clause;
|
882
|
+
EOT
|
883
|
+
$try_sub .= <<EOT;
|
819
884
|
{
|
820
885
|
CORE::local \$\@;
|
821
886
|
CORE::eval
|
@@ -1276,6 +1341,8 @@ if( ( CORE::defined( \$Nice::Try::WANTARRAY ) || ( defined( \$Nice::Try::BREAK )
|
|
1276
1341
|
( Scalar::Util::blessed( \$Nice::Try::RETVAL[0] ) && !\$Nice::Try::RETVAL[0]->isa( 'Nice::Try::SENTINEL' ) )
|
1277
1342
|
) )
|
1278
1343
|
{
|
1344
|
+
\$Nice::Try::NEED_TO_RETURN++ if( defined( \$Nice::Try::BREAK ) && \$Nice::Try::BREAK eq 'return' );
|
1345
|
+
no warnings 'void';
|
1279
1346
|
EOT
|
1280
1347
|
if( CORE::scalar( CORE::keys( %warnings:: ) ) &&
|
1281
1348
|
CORE::exists( $warnings::Bits{args_array_with_signatures} ) )
|
@@ -1291,7 +1358,7 @@ EOT
|
|
1291
1358
|
{
|
1292
1359
|
if( \$Nice::Try::WANT eq 'LIST' )
|
1293
1360
|
{
|
1294
|
-
CORE::return( \@Nice::Try::RETVAL );
|
1361
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \@Nice::Try::RETVAL ) : \@Nice::Try::RETVAL;
|
1295
1362
|
}
|
1296
1363
|
elsif( \$Nice::Try::WANT eq 'VOID' )
|
1297
1364
|
{
|
@@ -1309,51 +1376,52 @@ EOT
|
|
1309
1376
|
}
|
1310
1377
|
elsif( defined( \$Nice::Try::BREAK ) && \$Nice::Try::BREAK eq 'return' )
|
1311
1378
|
{
|
1312
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1379
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1313
1380
|
}
|
1314
1381
|
}
|
1315
1382
|
elsif( \$Nice::Try::WANT eq 'OBJECT' )
|
1316
1383
|
{
|
1317
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1384
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1318
1385
|
}
|
1319
1386
|
elsif( \$Nice::Try::WANT eq 'REFSCALAR' )
|
1320
1387
|
{
|
1321
|
-
CORE::return( \\\$Nice::Try::RETVAL[0] );
|
1388
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \\\$Nice::Try::RETVAL[0] ) : \\\$Nice::Try::RETVAL[0];
|
1322
1389
|
}
|
1323
1390
|
elsif( \$Nice::Try::WANT eq 'SCALAR' )
|
1324
1391
|
{
|
1325
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1392
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1326
1393
|
}
|
1327
1394
|
elsif( \$Nice::Try::WANT eq 'BOOLEAN' )
|
1328
1395
|
{
|
1329
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1396
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1330
1397
|
}
|
1331
1398
|
elsif( \$Nice::Try::WANT eq 'CODE' )
|
1332
1399
|
{
|
1333
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1400
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1334
1401
|
}
|
1335
1402
|
elsif( \$Nice::Try::WANT eq 'HASH' )
|
1336
1403
|
{
|
1337
|
-
CORE::return( { \@Nice::Try::RETVAL } );
|
1404
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( { \@Nice::Try::RETVAL } ) : { \@Nice::Try::RETVAL };
|
1338
1405
|
}
|
1339
1406
|
elsif( \$Nice::Try::WANT eq 'ARRAY' )
|
1340
1407
|
{
|
1341
|
-
CORE::return( \\\@Nice::Try::RETVAL );
|
1408
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \\\@Nice::Try::RETVAL ) : \\\@Nice::Try::RETVAL;
|
1342
1409
|
}
|
1343
1410
|
elsif( \$Nice::Try::WANT eq 'GLOB' )
|
1344
1411
|
{
|
1345
|
-
CORE::return( \$Nice::Try::RETVAL[0] );
|
1412
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::RETVAL[0] ) : \$Nice::Try::RETVAL[0];
|
1346
1413
|
}
|
1347
1414
|
}
|
1348
1415
|
else
|
1349
1416
|
{
|
1350
|
-
CORE::return( \$Nice::Try::WANTARRAY ? \@Nice::Try::RETVAL : \$Nice::Try::RETVAL[0] );
|
1417
|
+
\$Nice::Try::NEED_TO_RETURN ? CORE::return( \$Nice::Try::WANTARRAY ? \@Nice::Try::RETVAL : \$Nice::Try::RETVAL[0] ) : \$Nice::Try::WANTARRAY ? \@Nice::Try::RETVAL : \$Nice::Try::RETVAL[0];
|
1351
1418
|
}
|
1352
1419
|
}
|
1353
1420
|
}
|
1354
1421
|
elsif( scalar( \@Nice::Try::VOID ) && ( !Scalar::Util::blessed( \$Nice::Try::VOID[0] ) || ( Scalar::Util::blessed( \$Nice::Try::VOID[0] ) && !\$Nice::Try::VOID[0]->isa( 'Nice::Try::SENTINEL' ) ) ) )
|
1355
1422
|
{
|
1356
|
-
|
1423
|
+
no warnings 'void';
|
1424
|
+
scalar( \@Nice::Try::VOID ) > 1 ? \@Nice::Try::VOID : \$Nice::Try::VOID[0];
|
1357
1425
|
}
|
1358
1426
|
EOT
|
1359
1427
|
$last_return_block =~ s/\n/ /gs unless( $self->{debug_code} );
|
@@ -1362,7 +1430,7 @@ EOT
|
|
1362
1430
|
# my $token = PPI::Token->new( "; \{ $try_catch_code \}" ) || die( "Unable to create token" );
|
1363
1431
|
# NOTE: 2021-05-11 (Jacques): Need to remove blocks so that next or last statements can be effective.
|
1364
1432
|
my $envelop = <<EOT;
|
1365
|
-
; CORE::local( \$Nice::Try::BREAK, \@Nice::Try::LAST_VAL );
|
1433
|
+
; CORE::local( \$Nice::Try::BREAK, \@Nice::Try::LAST_VAL ); local \$Nice::Try::NEED_TO_RETURN = 0 unless( defined( \$Nice::Try::NEED_TO_RETURN ) );
|
1366
1434
|
\{
|
1367
1435
|
__TRY_CATCH_CODE__
|
1368
1436
|
\}
|
@@ -1537,6 +1605,61 @@ sub _process_loop_breaks
|
|
1537
1605
|
}
|
1538
1606
|
next;
|
1539
1607
|
}
|
1608
|
+
elsif( $class eq 'PPI::Token::Word' &&
|
1609
|
+
( $e->content // '' ) eq 'return' &&
|
1610
|
+
$e->sprevious_sibling &&
|
1611
|
+
# Should be enough
|
1612
|
+
$e->sprevious_sibling->class eq 'PPI::Token::Operator' )
|
1613
|
+
# $e->sprevious_sibling->class eq 'PPI::Token::Operator' &&
|
1614
|
+
# ( $e->sprevious_sibling->content // '' ) =~ /^$/ )
|
1615
|
+
{
|
1616
|
+
my $break_code;
|
1617
|
+
my @to_remove;
|
1618
|
+
# return( # something );
|
1619
|
+
if( $e->snext_sibling &&
|
1620
|
+
$e->snext_sibling->class eq 'PPI::Structure::List' )
|
1621
|
+
{
|
1622
|
+
my $list = $e->snext_sibling;
|
1623
|
+
push( @to_remove, $list );
|
1624
|
+
$break_code = "return( \$Nice::Try::RETURN->${list} )";
|
1625
|
+
}
|
1626
|
+
# return( "" ) or return( '' )
|
1627
|
+
elsif( $e->snext_sibling &&
|
1628
|
+
$e->snext_sibling->isa( 'PPI::Token::Quote' ) )
|
1629
|
+
{
|
1630
|
+
my $list = $e->snext_sibling;
|
1631
|
+
push( @to_remove, $list );
|
1632
|
+
$break_code = "return( \$Nice::Try::RETURN->(${list}) );";
|
1633
|
+
}
|
1634
|
+
# return;
|
1635
|
+
elsif( $e->snext_sibling &&
|
1636
|
+
$e->snext_sibling->class eq 'PPI::Token::Structure' &&
|
1637
|
+
$e->snext_sibling->content eq ';' )
|
1638
|
+
{
|
1639
|
+
$break_code = "return( \$Nice::Try::RETURN->() );";
|
1640
|
+
}
|
1641
|
+
else
|
1642
|
+
{
|
1643
|
+
my $list = '';
|
1644
|
+
my $next_elem;
|
1645
|
+
my $prev_elem = $e;
|
1646
|
+
while( $next_elem = $prev_elem->snext_sibling )
|
1647
|
+
{
|
1648
|
+
last if( $next_elem->content eq ';' );
|
1649
|
+
$list .= $next_elem->content;
|
1650
|
+
push( @to_remove, $next_elem );
|
1651
|
+
$prev_elem = $next_elem;
|
1652
|
+
}
|
1653
|
+
$break_code = "return( \$Nice::Try::RETURN->(${list}) );";
|
1654
|
+
}
|
1655
|
+
my $break_doc = PPI::Document->new( \$break_code, readonly => 1 );
|
1656
|
+
my $new_elem = $break_doc->first_element;
|
1657
|
+
$new_elem->remove;
|
1658
|
+
$self->_message( 5, "New element is object '", sub{ overload::StrVal( $new_elem ) }, "' -> $new_elem" ) if( $self->{debug} >= 5 );
|
1659
|
+
# Not yet implemented as of 2021-05-11 dixit PPI, so we use a hack to make it available anyhow
|
1660
|
+
$e->replace( $new_elem );
|
1661
|
+
$_->remove for( @to_remove );
|
1662
|
+
}
|
1540
1663
|
|
1541
1664
|
if( $e->can('elements') && $e->elements )
|
1542
1665
|
{
|
@@ -2039,7 +2162,7 @@ And you also have granular power in the catch block to filter which exception to
|
|
2039
2162
|
|
2040
2163
|
=head1 VERSION
|
2041
2164
|
|
2042
|
-
v1.3.
|
2165
|
+
v1.3.13
|
2043
2166
|
|
2044
2167
|
=head1 DESCRIPTION
|
2045
2168
|
|