Sha256: 9e70c09d22ee8ea0fd65c49091ff34969de688b712a265904ce26cc9b18a83df

Contents?: true

Size: 350 Bytes

Versions: 6

Compression:

Stored size: 350 Bytes

Contents

require 'gollum'

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

6 entries across 6 versions & 1 rubygems

Version Path
caramelize-0.1.2 lib/caramelize/ext.rb
caramelize-0.1.1 lib/caramelize/ext.rb
caramelize-0.1.0 lib/caramelize/ext.rb
caramelize-0.0.3 lib/caramelize/ext.rb
caramelize-0.0.2 lib/caramelize/ext.rb
caramelize-0.0.1 lib/caramelize/ext.rb