Sha256: 43f53e0ec2ff9a30b314174aab856f9e127b2da9a9f77aa4b53cfb3f494ebaa8

Contents?: true

Size: 412 Bytes

Versions: 107

Compression:

Stored size: 412 Bytes

Contents

# coding: utf-8

require "danger/request_sources/github/github_review"

module Danger
  module RequestSources
    module GitHubSource
      class ReviewResolver
        def self.should_submit?(review, body)
          return !same_body?(body, review.body)
        end

        def self.same_body?(body1, body2)
          return !body1.nil? && !body2.nil? && body1 == body2
        end
      end
    end
  end
end

Version data entries

107 entries across 107 versions & 1 rubygems

Version Path
danger-9.1.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-9.0.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.6.1 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.6.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.5.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.5 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.4 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.3 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.2 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.1 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.4.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.3.1 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.2.3 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.2.2 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.2.1 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.2.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.1.0 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.0.6 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.0.5 lib/danger/request_sources/github/github_review_resolver.rb
danger-8.0.4 lib/danger/request_sources/github/github_review_resolver.rb