Sha256: de3be825f0f98858c76c98e58bbefb1ae7ae9ab97572b668649733138ea93844

Contents?: true

Size: 283 Bytes

Versions: 16

Compression:

Stored size: 283 Bytes

Contents

module Danger
  module CISource
    # "abstract" CI class
    class CI
      attr_accessor :repo_slug, :pull_request_id

      def self.validates?(_env)
        false
      end

      def initialize(_env)
        raise "Subclass and overwrite initialize"
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
danger-0.8.1 lib/danger/ci_source/ci_source.rb
danger-0.8.0 lib/danger/ci_source/ci_source.rb
danger-0.7.4 lib/danger/ci_source/ci_source.rb
danger-0.7.3 lib/danger/ci_source/ci_source.rb
danger-0.7.2 lib/danger/ci_source/ci_source.rb
danger-0.7.1 lib/danger/ci_source/ci_source.rb
danger-0.7.0 lib/danger/ci_source/ci_source.rb
danger-0.6.5 lib/danger/ci_source/ci_source.rb
danger-0.6.0 lib/danger/ci_source/ci_source.rb
danger-0.5.2 lib/danger/ci_source/ci_source.rb
danger-0.5.1 lib/danger/ci_source/ci_source.rb
danger-0.5.0 lib/danger/ci_source/ci_source.rb
danger-0.3.0 lib/danger/ci_source/ci_source.rb
danger-0.2.1 lib/danger/ci_source/ci_source.rb
danger-0.2.0 lib/danger/ci_source/ci_source.rb
danger-0.1.1 lib/danger/ci_source/ci_source.rb