Sha256: 00be650808ab62d980111878243fd2779f480e6ebe24537c22aa143ad1d64c88

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

require 'gollum-lib'

module Gollum
  class Committer
    def commit
      @options[:parents] = parents
      @options[:actor] = actor
      @options[:last_tree] = nil
      @options[:head] = @wiki.ref
      sha1 = index.commit(@options[:message], @options)
      @callbacks.each do |cb|
        cb.call(self, sha1)
      end
      sha1
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
caramelize-0.4.0 lib/caramelize/ext.rb
caramelize-0.3.0 lib/caramelize/ext.rb
caramelize-0.2.0 lib/caramelize/ext.rb