Sha256: ec1e2f8b8f8111500ed8670a7fd2094aba1ec24d9bf5d5c97a098dfd6713a9a3

Contents?: true

Size: 487 Bytes

Versions: 5

Compression:

Stored size: 487 Bytes

Contents

module Janky
  module Views
    class Console < Layout
      def repo_name
        @build.repo_name
      end

      def repo_path
        "#{root}/#{repo_name}"
      end

      def branch_name
        @build.branch_name
      end

      def branch_path
        "#{repo_path}/#{branch_name}"
      end

      def commit_url
        @build.commit_url
      end

      def commit_short_sha
        @build.sha1
      end

      def output
        @build.output
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
janky-0.9.12 lib/janky/views/console.rb
janky-0.9.11 lib/janky/views/console.rb
janky-0.9.10 lib/janky/views/console.rb
janky-0.9.9 lib/janky/views/console.rb
janky-0.9.0 lib/janky/views/console.rb