Sha256: 832b7024212b630e12ccee99b55d4545f7f37dfe6671412bca91bfd39b02cce4

Contents?: true

Size: 473 Bytes

Versions: 19

Compression:

Stored size: 473 Bytes

Contents

require 'rubygems'
require 'rubygems/installer'

module RuGUI

  # this class hijacks the functionality of Gem::Installer by overloading its
  # initializer to only provide the information needed by
  # Gem::Installer#build_extensions (which happens to be what we have)
  class GemBuilder < Gem::Installer

    def initialize(spec, gem_dir)
      @spec    = spec
      @gem_dir = gem_dir
    end

    # silence the underlying builder
    def say(message)
    end

  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
intelitiva-rugui-1.2.0 lib/rugui/gem_builder.rb
intelitiva-rugui-1.3.0 lib/rugui/gem_builder.rb
intelitiva-rugui-1.3.1 lib/rugui/gem_builder.rb
intelitiva-rugui-1.3.2 lib/rugui/gem_builder.rb
rugui-1.6.0 lib/rugui/gem_builder.rb
rugui-1.5.4 lib/rugui/gem_builder.rb
rugui-1.5.3 lib/rugui/gem_builder.rb
rugui-1.5.2 lib/rugui/gem_builder.rb
rugui-1.5.0 lib/rugui/gem_builder.rb
rugui-1.4.3 lib/rugui/gem_builder.rb
rugui-1.4.2 lib/rugui/gem_builder.rb
rugui-1.4.0 lib/rugui/gem_builder.rb
rugui-1.3.3 lib/rugui/gem_builder.rb
rugui-1.3.1 lib/rugui/gem_builder.rb
rugui-1.3.2 lib/rugui/gem_builder.rb
rugui-1.2.0 lib/rugui/gem_builder.rb
rugui-1.2.1 lib/rugui/gem_builder.rb
rugui-1.2.2 lib/rugui/gem_builder.rb
rugui-1.3.0 lib/rugui/gem_builder.rb