Version 2.3 introduces encoding for Ruby 2.3, new loaders and fixes some problems. As usual we are looking forward to hearing from our customers about suggestions for improving RubyEncoder and we are open to new ideas. Here is a list of the recent version 2.3 changes.
NEW FEATURES
We have added full support of encoding for Ruby 2.3 including all the newest language features. In order to encode for Ruby 2.3, please select an appropriate checkbox in your project settings or use the --ruby 2.3 option if you prefer to use the command line encoder. As usual you may combine encoding for different versions of Ruby but your code must be compatible with all the selected versions.
• | If the target Ruby version is not specified in the command line using the --ruby option, then encoding will be done for Ruby 2.0 to 2.3. Please specify the --ruby 1.8 or --ruby 1.9.x option if you need to encode for old versions of Ruby. |
• | Loaders were updated for all supported OS and versions of Ruby. New loaders added for Ruby 2.3 including 32 and 64-bit MinGW loaders for Ruby installations from rubyinstaller.org. These loaders are now default for the Windows platform. |
• | rgloader/loader.rb starter script was slightly changed to refine detection of custom Ruby versions and two digits minor Ruby versions. |
• | The command line tools now return expected exit codes. The encoder returns encoding status after processing a single file. When it is processing multiple files it returns zero in case of running the process and if there are no issues in using the command line options and then you need to check the encoding log for further details. Licgen returns exit code on invalid options or status of the license generation. Rginfo returns exit code on invalid options or status of the encoded file. Please find further details in the Exit codes section. |
• | The dynamic loader code that is added by default to every encoded file now checks if RubyEncoder loader is already started and does not try to find and load it again. This may improve performance for nested protected files. |
• | You may exclude the default dynamic loader code from protected files if you are starting the loader manually from your other code e.g. if you want to start the loader from the custom folder. Please find the new option in GUI and command line for that. Please note, if you use this option you must start the loader before running the encoded file. |
SUPPORTED RUBY VERSIONS
• | Encoding for Ruby 1.8.6 to 2.3 are fully supported |
SUPPORTED OS
• | Encoder is available for MacOS, Linux (i386 and x86_64 versions) and Windows. |
• | GUI and command line encoders and tools are included. |
• | Loaders are available for desktop and server platforms running MacOS, Linux, FreeBSD, Windows (rubyinstaller.org MinGW), Windows (native) and embedded platforms running ARMel Linux, ARMhf Linux (Raspberry Pi, BeagleBoard etc) |
|