mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[ruby/uri] Use generic version number to VERSION and generate VERSION_CODE from that
https://github.com/ruby/uri/commit/1fc4f0496a
This commit is contained in:
parent
2486e771b6
commit
240962dffa
@ -1,6 +1,6 @@
|
||||
module URI
|
||||
# :stopdoc:
|
||||
VERSION_CODE = '010004'.freeze
|
||||
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
|
||||
VERSION = '1.0.4'.freeze
|
||||
VERSION_CODE = VERSION.split('.').map{|s| s.rjust(2, '0')}.join.freeze
|
||||
# :startdoc:
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user