Sha256: 0ccb4ddaa4344f0b09352d48c891b98f0e46a37b94f5eeaaf7b3b79f28e1061a

Contents?: true

Size: 336 Bytes

Versions: 6

Compression:

Stored size: 336 Bytes

Contents

require 'git'

module Incr
  module Service
    class Repository
      def initialize(path)
        @git = Git.init(path)
      end

      def add(filename)
        @git.add(filename)
      end

      def commit(message)
        @git.commit(message)
      end

      def tag(name)
        @git.add_tag(name)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
incr-0.7.1 lib/incr/service/repository.rb
incr-0.7.0 lib/incr/service/repository.rb
incr-0.6.0 lib/incr/service/repository.rb
incr-0.5.0 lib/incr/service/repository.rb
incr-0.4.0 lib/incr/service/repository.rb
incr-0.3.0 lib/incr/service/repository.rb