diff options
Diffstat (limited to 'runtime/Ruby/lib/antlr3/version.rb')
-rw-r--r-- | runtime/Ruby/lib/antlr3/version.rb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/runtime/Ruby/lib/antlr3/version.rb b/runtime/Ruby/lib/antlr3/version.rb new file mode 100644 index 0000000..d0b5ed3 --- /dev/null +++ b/runtime/Ruby/lib/antlr3/version.rb @@ -0,0 +1,27 @@ +#!/usr/bin/ruby +# encoding: utf-8 + +module ANTLR3 + + # + # The version of the ANTLR tool used while designing and + # testing the current version of this library + # + ANTLR_MAJOR_VERSION = 3 + ANTLR_MINOR_VERSION = 2 + ANTLR_PATCH_VERSION = 1 + ANTLR_VERSION = [ ANTLR_MAJOR_VERSION, ANTLR_MINOR_VERSION, ANTLR_PATCH_VERSION ].freeze + ANTLR_VERSION_STRING = ANTLR_VERSION.join( '.' ) + ANTLR_VERSION_STRING.chomp!( '.0' ) # versioning drops minor version at 0 + ANTLR_VERSION_STRING.freeze + + # + # The version data for the current state the library itself + # + MAJOR_VERSION = 1 + MINOR_VERSION = 8 + PATCH_VERSION = 5 + VERSION = [ MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION ] + VERSION_STRING = VERSION.join( '.' ).freeze + +end |