Sha256: 9b7ca79865a79a3fcbd6819117411762de0596933e900f1bfb00cc6fdcf63e68

Contents?: true

Size: 492 Bytes

Versions: 5

Compression:

Stored size: 492 Bytes

Contents

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

5 entries across 5 versions & 3 rubygems

Version Path
nanumfont-rails-0.1 vendor/bundle/ruby/2.1.0/gems/thread_safe-0.3.4/lib/thread_safe/version.rb
whos_dated_who-0.1.0 vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/version.rb
whos_dated_who-0.0.1 vendor/bundle/gems/thread_safe-0.3.4/lib/thread_safe/version.rb
thread_safe-0.3.4 lib/thread_safe/version.rb
thread_safe-0.3.4-java lib/thread_safe/version.rb