lib/construct.rb in test-construct-1.2.1 vs lib/construct.rb in test-construct-1.2.2
- old
+ new
@@ -1,15 +1,15 @@
require 'pathname'
require 'tmpdir'
require 'English'
-puts "WARNING: test-construct is no longer maintained. Please switch to test_construct."
-
module Construct
+ DEPRECATION_WARNING = "WARNING: test-construct is no longer maintained. Please switch to test_construct."
+
# :stopdoc:
- VERSION = '1.2.1'
+ VERSION = '1.2.2'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
# :startdoc:
# Returns the version string for the library.
@@ -64,7 +64,9 @@
end
end # module Construct
Construct.require_all_libs_relative_to(__FILE__)
+
+$stderr.puts Construct::DEPRECATION_WARNING
# EOF