diff --git a/Gemfile.lock b/Gemfile.lock index e49397a..b0bbb22 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -135,4 +135,4 @@ DEPENDENCIES yard (~> 0.9.11) BUNDLED WITH - 1.16.3 + 1.15.4 diff --git a/lib/lgtm/error_handleable.rb b/lib/lgtm/error_handleable.rb index 188d528..1625e31 100644 --- a/lib/lgtm/error_handleable.rb +++ b/lib/lgtm/error_handleable.rb @@ -1,5 +1,5 @@ module Lgtm - # ErrorHandleable of module of error handling + # ErrorHandleable is module of error handling module ErrorHandleable # 4xx http status. CLIENT_ERRORS = [ @@ -15,7 +15,8 @@ module ErrorHandleable Net::HTTPGatewayTimeOut ].freeze - # validate_response is response validationg + # validate_response is response validating + # # @param [Net::HTTPxxx] response Net::HTTP responses # @raise ::Lgtm::Errors::UnexpectedError # @return [void] diff --git a/lib/lgtm/plugin.rb b/lib/lgtm/plugin.rb index e1dbed7..1b3fd29 100644 --- a/lib/lgtm/plugin.rb +++ b/lib/lgtm/plugin.rb @@ -28,6 +28,7 @@ class DangerLgtm < Plugin # @param [Boolean] https_image_only https image only if true # # @return [void] + # def check_lgtm(image_url: nil, https_image_only: false) return unless status_report[:errors].length.zero? && status_report[:warnings].length.zero?