From b2d96abb42abbe2e01f010ffc9ac51f0f9a50002 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 29 Jul 2020 00:31:52 +0900 Subject: Extract version number from the source "requiring version.rb" strategy has some issues. - cannot work when cross-compiling - often introduces wrong namespace - must know the superclasses - costs at each runtime than at build-time etc. --- lib/cgi.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/cgi.rb') diff --git a/lib/cgi.rb b/lib/cgi.rb index 4f16f309da..a125eef403 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -288,6 +288,7 @@ # class CGI + VERSION = "0.1.0" end require 'cgi/core' -- cgit v1.2.1