Sha256: 24332df32e1570e70bb2c8318b44c70d30c601f1428481e4b5d82f5a985a5f4a

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 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(_opts)
      `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.2 lib/jekyll_push/local.rb