Sha256: e1d4c034d1f2328a346fe20a3f4306eb5c66c48d2730373e0621b1029d4b1553

Contents?: true

Size: 563 Bytes

Versions: 146

Compression:

Stored size: 563 Bytes

Contents

module Bundler
  class Dsl
    unless $gex
      alias :gex :gem
      $gex = true
    end

    def gem(nm_gem, opt_gem = {})
      shome = File.expand_path('../..', __FILE__)
      gem_info = File.join(shome, ".local", nm_gem)
      if File.exists? gem_info
        source "http://localhost:9292"
        local_opt = { :path => File.read(gem_info).strip }

        unless local_opt[:path].empty?
          gex nm_gem, local_opt
        else
          gex nm_gem, opt_gem.clone
        end
      else
        gex nm_gem, opt_gem.clone
      end
    end
  end
end

Version data entries

146 entries across 146 versions & 11 rubygems

Version Path
alpha_omega-1.3.42 lib/development.rb
alpha_omega-1.3.41 lib/development.rb
alpha_omega-1.3.40 lib/development.rb
alpha_omega-1.3.39 lib/development.rb
alpha_omega-1.4.3 lib/development.rb
alpha_omega-1.4.2 lib/development.rb
alpha_omega-1.3.38 lib/development.rb
alpha_omega-1.3.37 lib/development.rb
alpha_omega-1.3.36 lib/development.rb
alpha_omega-1.3.35 lib/development.rb
alpha_omega-1.3.34 lib/development.rb
alpha_omega-1.3.33 lib/development.rb
alpha_omega-1.3.32 lib/development.rb
alpha_omega-1.3.30 lib/development.rb
alpha_omega-1.3.29 lib/development.rb
alpha_omega-1.3.28 lib/development.rb
alpha_omega-1.3.27 lib/development.rb
alpha_omega-1.3.26 lib/development.rb
alpha_omega-1.3.25 lib/development.rb
alpha_omega-1.3.24 lib/development.rb