Version 1.5 / March 2013

Top  Previous 

Version 1.5 introduces GUI for RubyEncoder for MacOS, Linux and WIndows, fixes problems and adds some new options. The update is partly based on comments and suggestions of our users. We were glad to receive comments and suggestions and want to thank you very much for sharing your ideas. We are looking forward to hearing about other suggestions for improving RubyEncoder and we are open to new ideas. Here is a list of recent version 1.5 changes.

 

 

NEW FEATURES

 

 

Specifying a target character encoding

 

Target encoding may be specified during encoding in Advanced options in GUI or using the new --encoding option in the command line. RubyEncoder compiles source Ruby files to a binary representation, as a result 'magic comments' cannot be used to specify character encoding of source files. Please use this new RubyEncoder option when you encode files that have 'magic comments' for specifying the character encoding.

 

 

Rails compatibility option

 

A new Rails compatibility option was added. Enabling Rails compatibility lets you encode all Rails *.rb files. Normally you can encode only application controllers, model and helper files. Other files if encoded would not work under Rails if the new Rails compatibility mode was not used. Only Ruby files can be encoded anyway. The option may be enabled in Advanced options in GUI or using the --rails command line option.

 

 

Option to stop encoding at a critical error

 

We have added a new option for the encoder to stop at a critical error. See details.

 

 

A new option to encode only changed files detected by file modification date. See details.

 

 

Automatic filtering UTF-8 BOM from all source files. This allows encoding files created in editors that save BOM.

 

 

Marking a file to be skipped during encoding

 

It's possible to mark a file to be skipped by the encoder. Add the following string anywhere in the code, use comments. Skipped files will be copied as-is to the target folder if it's specified.

 

# RubyEncoder:DO_NOT_ENCODE

 

Note: Comparison is case sensitive for Windows. Do not change the case for better code compatibility.

 

 

Now it is possible to send licgen's output to console instead of a file, use -- (double dash) instead of the output file name. See details

 

 

Added a new license generator option to add custom text into the license file.

 

We have added an option to include custom text into license files generated by RubyEncoder license generator. The included text is protected with a checksum against modification.The option may be used to include user information, license description etc into license files.

 

 

Custom constants substitution in the custom header code. All user {constants} will be replaced in the prepend code. Also some standard RG constants may be used: {RG_DATE} - current date i.e. date of encoding, {RG_LICENSEE} - RubyEnoder license owner from the RubyEncoder license file. It works in the same way also for licgen and do replacements for custom text if it is used.

 

 

GUI FOR MacOS, LINUX AND WINDOWS

 

We are proud to present a new cross platform GUI for MacOS, Windows and Linux versions of RubyEncoder. It includes all the features of the command line encoder and tools and even more. It has built-in support system and more.

 

 

SUPPORTED RUBY VERSIONS

 

Encoding for Ruby 1.8.6 to 1.9.3 are fully supported

 

 

SUPPORTED OS

 

Encoder is available for MacOS, Linux (i386 and x86_64 versions), FreeBSD (i386 and x86_64 versions) and Windows.
GUI and command line encoders and tools are included.
RubyEncoder for FreeBSD is available as command line tools.