Sha256: 30d6c0903038807be83711443ff7c770ab8fd13b387882e56488ca9c1b0744e4

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

module ThreadSafe
  VERSION = "0.3.3"
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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
thread_safe-0.3.3-java lib/thread_safe/version.rb
thread_safe-0.3.3 lib/thread_safe/version.rb