Sha256: aed4ed273eeef708eea214f887a32ed4d6339c6d355b7298f6d83699eddd610e

Contents?: true

Size: 279 Bytes

Versions: 3

Compression:

Stored size: 279 Bytes

Contents

module GitWrapper
  module Commands
    class Status < Git

      def command
        'status --porcelain'
      end

      def result
        output.split(/\n/).map do |line|
          Results::StatusPorcelain.parse(line)
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
git_wrapper-1.0.2 lib/git_wrapper/commands/status.rb
git_wrapper-1.0.1 lib/git_wrapper/commands/status.rb
git_wrapper-1.0.0 lib/git_wrapper/commands/status.rb