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.23 lib/development.rb
alpha_omega-1.3.22 lib/development.rb
alpha_omega-1.3.21 lib/development.rb
alpha_omega-1.3.20 lib/development.rb
alpha_omega-1.3.19 lib/development.rb
alpha_omega-1.3.18 lib/development.rb
alpha_omega-1.3.17 lib/development.rb
alpha_omega-1.3.16 lib/development.rb
alpha_omega-1.3.15 lib/development.rb
alpha_omega-1.3.14 lib/development.rb
alpha_omega-1.3.12 lib/development.rb
alpha_omega-1.3.11 lib/development.rb
alpha_omega-1.3.10 lib/development.rb
alpha_omega-1.4.1 lib/development.rb
alpha_omega-1.4.0 lib/development.rb
alpha_omega-1.3.9 lib/development.rb
alpha_omega-1.3.8 lib/development.rb
alpha_omega-1.3.7 lib/development.rb
alpha_omega-1.3.6 lib/development.rb
alpha_omega-1.3.5 lib/development.rb