Sha256: 496f0adc18b7e928541d62bf97cb6e51352693b02d6112d85ad11baf9e6008b7

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

module JekyllPush
  #
  #
  module Local
    #
    # @return [String]
    def commit
      "Updated via JekyllPush local task at #{@time}"
    end

    #
    # @return [String]
    def origin
      `git config --get remote.origin.url`.strip
    end

    #
    # @return [String]
    def msg
      "\nDeploying to branch '#{@target}' from local task."
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll_push-0.1.1 lib/jekyll_push/local.rb