Sha256: 2e3e196b3c14f0b1f40ba6c28cdb613e242e2649686b1586a6291e7910846538

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

class Terraspace::Cloud::Ci::Vcs
  class Gitlab < Base
    def commit_url
      "#{host}/#{full_repo}/-/commits/#{sha}" if sha
    end

    def branch_url
      "#{host}/#{full_repo}/-/tree/#{branch_name}" if branch_name
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
terraspace-2.0.3 lib/terraspace/cloud/ci/vcs/gitlab.rb
terraspace-2.0.2 lib/terraspace/cloud/ci/vcs/gitlab.rb
terraspace-2.0.1 lib/terraspace/cloud/ci/vcs/gitlab.rb
terraspace-2.0.0 lib/terraspace/cloud/ci/vcs/gitlab.rb