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.
Files changed (207) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/javonet-ruby-sdk.gemspec +1 -1
  4. data/lib/javonet-ruby-sdk/Binaries/Clr/JavonetClrRuntime.dll +0 -0
  5. data/lib/javonet-ruby-sdk/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
  6. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
  7. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
  8. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
  9. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
  10. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
  11. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
  12. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
  13. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
  14. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/ARM64/version.txt +1 -1
  15. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +18 -18
  16. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  17. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  18. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  19. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  20. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  21. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  22. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  23. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  24. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  25. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  26. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
  27. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  28. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  29. data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
  30. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  31. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  32. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  33. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  34. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  35. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  36. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  37. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  38. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  39. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  40. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  41. data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
  42. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  43. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  44. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  45. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  46. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  47. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  48. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  49. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  50. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  51. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  52. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  53. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/ARM64/version.txt +0 -0
  54. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  55. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  56. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  57. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  58. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  59. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  60. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  61. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  62. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  63. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  64. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  65. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  66. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  67. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  68. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
  69. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
  70. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  71. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  72. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  73. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  74. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  75. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  76. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  77. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  78. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  79. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
  80. data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -1
  81. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  82. data/lib/javonet-ruby-sdk/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  83. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/transmitter/Transmitter.js +6 -2
  84. data/lib/javonet-ruby-sdk/Binaries/Nodejs/core/transmitter/TransmitterWrapper.js +3 -4
  85. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/Nice/Try.pm +215 -5
  86. 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
  87. 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
  88. 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
  89. 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
  90. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  91. 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
  92. 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
  93. 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
  94. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  95. 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
  96. data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +85 -85
  97. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  98. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  99. 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
  100. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  101. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  102. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +20 -20
  103. data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/Nice/Try.pm +215 -5
  104. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
  105. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
  106. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
  107. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
  108. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
  109. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
  110. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
  111. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
  112. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
  113. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
  114. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
  115. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
  116. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
  117. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
  118. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
  119. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
  120. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
  121. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
  122. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
  123. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
  124. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
  125. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
  126. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
  127. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
  128. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
  129. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
  130. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
  131. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
  132. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
  133. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
  134. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
  135. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
  136. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
  137. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
  138. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
  139. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
  140. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
  141. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
  142. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
  143. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
  144. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
  145. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  146. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
  147. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
  148. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
  149. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
  150. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
  151. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
  152. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
  153. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
  154. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
  155. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +3 -6
  156. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
  157. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
  158. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
  159. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
  160. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
  161. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
  162. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
  163. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
  164. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
  165. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
  166. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  167. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
  168. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
  169. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
  170. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
  171. data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
  172. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/interpreter/interpreter.rb +4 -4
  173. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +18 -59
  174. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/protocol/type_serializer.rb +23 -0
  175. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb +4 -2
  176. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter.rb +1 -1
  177. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  178. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/runtime_logger.rb +16 -8
  179. data/lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/tcp_connection_data.rb +4 -0
  180. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/interpreter/interpreter.rb +4 -4
  181. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +18 -59
  182. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/protocol/type_serializer.rb +23 -0
  183. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb +4 -2
  184. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter.rb +1 -1
  185. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  186. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/runtime_logger.rb +16 -8
  187. data/lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/utils/tcp_connection_data.rb +4 -0
  188. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/interpreter/interpreter.rb +4 -4
  189. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +18 -59
  190. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/protocol/type_serializer.rb +23 -0
  191. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb +4 -2
  192. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter.rb +1 -1
  193. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  194. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/runtime_logger.rb +16 -8
  195. data/lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/utils/tcp_connection_data.rb +4 -0
  196. data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
  197. data/lib/javonet-ruby-sdk/core/interpreter/interpreter.rb +4 -4
  198. data/lib/javonet-ruby-sdk/core/protocol/command_serializer.rb +18 -59
  199. data/lib/javonet-ruby-sdk/core/protocol/type_serializer.rb +23 -0
  200. data/lib/javonet-ruby-sdk/core/receiver/receiver.rb +4 -2
  201. data/lib/javonet-ruby-sdk/core/transmitter/transmitter.rb +1 -1
  202. data/lib/javonet-ruby-sdk/core/transmitter/transmitter_wrapper.rb +1 -1
  203. data/lib/javonet-ruby-sdk/sdk/config_runtime_factory.rb +2 -0
  204. data/lib/javonet-ruby-sdk/sdk/javonet.rb +7 -13
  205. data/lib/javonet-ruby-sdk/utils/runtime_logger.rb +16 -8
  206. data/lib/javonet-ruby-sdk/utils/tcp_connection_data.rb +4 -0
  207. metadata +4 -4
@@ -1,4 +1,4 @@
1
- =head2 Tue Nov 5 15:20:40 2024: C<Module> L<Data::Cmp|Data::Cmp>
1
+ =head2 Fri Nov 8 13:59:19 2024: C<Module> L<Data::UUID|Data::UUID>
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.010>
15
+ C<VERSION: 1.227>
16
16
 
17
17
  =item *
18
18
 
@@ -20,7 +20,7 @@ C<EXE_FILES: >
20
20
 
21
21
  =back
22
22
 
23
- =head2 Tue Nov 5 15:20:44 2024: C<Module> L<Test::Fatal|Test::Fatal>
23
+ =head2 Fri Nov 8 13:59:25 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
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.017>
37
+ C<VERSION: 0.40>
38
38
 
39
39
  =item *
40
40
 
@@ -42,7 +42,7 @@ C<EXE_FILES: >
42
42
 
43
43
  =back
44
44
 
45
- =head2 Tue Nov 5 15:21:07 2024: C<Module> L<autobox|autobox>
45
+ =head2 Fri Nov 8 13:59:30 2024: C<Module> L<Attribute::Util|Attribute::Util>
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: v3.0.2>
59
+ C<VERSION: 1.07>
60
60
 
61
61
  =item *
62
62
 
@@ -64,7 +64,7 @@ C<EXE_FILES: >
64
64
 
65
65
  =back
66
66
 
67
- =head2 Tue Nov 5 15:21:10 2024: C<Module> L<Attribute::Util|Attribute::Util>
67
+ =head2 Fri Nov 8 13:59:41 2024: C<Module> L<PPI|PPI>
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: 1.07>
81
+ C<VERSION: 1.279>
82
82
 
83
83
  =item *
84
84
 
@@ -86,7 +86,7 @@ C<EXE_FILES: >
86
86
 
87
87
  =back
88
88
 
89
- =head2 Tue Nov 5 15:21:17 2024: C<Module> L<Data::UUID|Data::UUID>
89
+ =head2 Fri Nov 8 13:59:46 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: 1.227>
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 Tue Nov 5 15:21:22 2024: C<Module> L<Scalar::Util::Numeric|Scalar::Util::Numeric>
111
+ =head2 Fri Nov 8 13:59:53 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.40>
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 Tue Nov 5 15:21:29 2024: C<Module> L<PPI|PPI>
133
+ =head2 Fri Nov 8 13:59:56 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: 1.279>
147
+ C<VERSION: v1.3.15>
148
148
 
149
149
  =item *
150
150
 
@@ -152,7 +152,7 @@ C<EXE_FILES: >
152
152
 
153
153
  =back
154
154
 
155
- =head2 Tue Nov 5 15:21:33 2024: C<Module> L<PPI::XS|PPI::XS>
155
+ =head2 Fri Nov 8 14:00:01 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: 0.910>
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 Tue Nov 5 15:21:39 2024: C<Module> L<Want|Want>
177
+ =head2 Fri Nov 8 14:00:07 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.29>
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 Tue Nov 5 15:21:42 2024: C<Module> L<Nice::Try|Nice::Try>
199
+ =head2 Fri Nov 8 14:00:11 2024: C<Module> L<Data::Cmp|Data::Cmp>
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: v1.3.13>
213
+ C<VERSION: 0.010>
214
214
 
215
215
  =item *
216
216
 
@@ -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.13
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/09/06
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.13';
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
- if( $doc = $self->_parse( $doc ) )
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.13
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.
@@ -58,12 +58,9 @@ class TransmitterWrapper:
58
58
  def activate(license_key):
59
59
  activate = TransmitterWrapper.python_lib.Activate
60
60
  activate.restype = c_int
61
- activate.argtypes = [c_char_p, c_char_p, c_char_p, c_char_p]
61
+ activate.argtypes = [c_char_p]
62
62
 
63
- activation_result = activate(license_key.encode('ascii'),
64
- "".encode('ascii'),
65
- "".encode('ascii'),
66
- "".encode('ascii'))
63
+ activation_result = activate(license_key.encode('ascii'))
67
64
 
68
65
  if activation_result < 0:
69
66
  get_native_error = TransmitterWrapper.python_lib.GetNativeError
@@ -82,7 +79,7 @@ class TransmitterWrapper:
82
79
  set_config_source.restype = c_int
83
80
  set_config_source.argtypes = [c_char_p]
84
81
 
85
- set_config_result = set_config_source(sourcePath.encode('ascii'))
82
+ set_config_result = set_config_source(sourcePath.encode('utf-8'))
86
83
 
87
84
  if set_config_result < 0:
88
85
  get_native_error = TransmitterWrapper.python_lib.GetNativeError