Use RUBY_VERSION not VERSION constant

This commit is contained in:
thomas 2004-03-28 13:23:50 +00:00
parent c49e9556e0
commit cea9b2ae81
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ end
module Zip
RUBY_MINOR_VERSION = VERSION.split(".")[1].to_i
RUBY_MINOR_VERSION = RUBY_VERSION.split(".")[1].to_i
# Ruby 1.7.x compatibility
# In ruby 1.6.x and 1.8.0 reading from an empty stream returns
@ -377,7 +377,7 @@ module Zip
cdirSignature ,
@version , # version of encoding software
@fstype , # filesystem tye
@fstype , # filesystem type
@versionNeededToExtract,
@gpFlags ,
@compression_method ,