/usr/lib/ruby/vendor_ruby/thread_safe/version.rb is in ruby-thread-safe 0.3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | module ThreadSafe
VERSION = "0.3.6"
end
# NOTE: <= 0.2.0 used Threadsafe::VERSION
# @private
module Threadsafe
# @private
def self.const_missing(name)
name = name.to_sym
if ThreadSafe.const_defined?(name)
warn "[DEPRECATION] `Threadsafe::#{name}' is deprecated, use `ThreadSafe::#{name}' instead."
ThreadSafe.const_get(name)
else
warn "[DEPRECATION] the `Threadsafe' module is deprecated, please use `ThreadSafe` instead."
super
end
end
end
|