Sha256: 45d3f37cc80e72d7ca1f75a23dc8eb13c68270cac476dff58a457ba35a76c8e9

Contents?: true

Size: 269 Bytes

Versions: 7

Compression:

Stored size: 269 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

7 entries across 7 versions & 1 rubygems

Version Path
bundler-1.3.0.pre.7 lib/bundler/deprecate.rb
bundler-1.3.0.pre.6 lib/bundler/deprecate.rb
bundler-1.3.0.pre.5 lib/bundler/deprecate.rb
bundler-1.3.0.pre.4 lib/bundler/deprecate.rb
bundler-1.3.0.pre.3 lib/bundler/deprecate.rb
bundler-1.3.0.pre.2 lib/bundler/deprecate.rb
bundler-1.3.0.pre lib/bundler/deprecate.rb