Sha256: 6c7ba6ff3a6d066c86324c5586875e5f8c1d87f6a4742a310bc6fab4efd47e19

Contents?: true

Size: 396 Bytes

Versions: 134

Compression:

Stored size: 396 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_git/local/remote'

module EacGit
  class Local
    module Remotes
      def remote(name)
        ::EacGit::Local::Remote.new(self, name)
      end

      def remotes
        command('remote').execute!.each_line.map(&:strip).reject(&:blank?).map do |name|
          remote(name)
        end
      end
    end
  end
end

Version data entries

134 entries across 134 versions & 3 rubygems

Version Path
eac_tools-0.84.1 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.84.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.83.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.82.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.81.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.80.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.79.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.78.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.77.1 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.77.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.76.1 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.76.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.75.2 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.75.1 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.75.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.74.1 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.74.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.73.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.72.0 sub/eac_git/lib/eac_git/local/remotes.rb
eac_tools-0.70.1 sub/eac_git/lib/eac_git/local/remotes.rb