Sha256: 28dce89e4c6d6c3605aa7517a6da763e9058141b9da19f284c76971700f18a17

Contents?: true

Size: 276 Bytes

Versions: 5

Compression:

Stored size: 276 Bytes

Contents

module Bundler
  if defined? ::Deprecate
    Deprecate = ::Deprecate
  elsif defined? Gem::Deprecate
    Deprecate = Gem::Deprecate
  else
    class Deprecate; end
  end

  unless Deprecate.respond_to?(:skip_during)
    def Deprecate.skip_during
      yield
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bundler-1.11.2 lib/bundler/deprecate.rb
bundler-1.11.1 lib/bundler/deprecate.rb
bundler-1.11.0 lib/bundler/deprecate.rb
bundler-1.11.0.pre.2 lib/bundler/deprecate.rb
bundler-1.11.0.pre.1 lib/bundler/deprecate.rb