Sha256: c49c192e33aa38af0a61488c73a613ebebe53c1655694e7dc9d4e3e96f57af91

Contents?: true

Size: 426 Bytes

Versions: 10

Compression:

Stored size: 426 Bytes

Contents

require 'bundler'

module Dockerun
  module CommandHelper
    module BundlerHelper

      def find_local_dev_gems

        res = {}
        Bundler.load.dependencies.each do |d|
          if not d.source.nil?
            src = d.source
            if src.path.to_s != "."
              res[d.name] = src.path.to_s
            end
          end
        end
        res

      end # find_local_dev_gem
      
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
dockerun-0.3.6 lib/dockerun/bundler_helper.rb
dockerun-0.3.5 lib/dockerun/bundler_helper.rb
dockerun-0.3.4 lib/dockerun/bundler_helper.rb
dockerun-0.3.3 lib/dockerun/bundler_helper.rb
dockerun-0.3.1 lib/dockerun/bundler_helper.rb
dockerun-0.3.0 lib/dockerun/bundler_helper.rb
dockerun-0.2.3 lib/dockerun/bundler_helper.rb
dockerun-0.2.2 lib/dockerun/bundler_helper.rb
dockerun-0.2.1 lib/dockerun/bundler_helper.rb
dockerun-0.2.0 lib/dockerun/bundler_helper.rb