diff --git a/.gitignore b/.gitignore index 100c07a0..837b0a57 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ build-iPhoneSimulator/ # Used by RuboCop. Remote config files pulled in from inherit_from directive. # .rubocop-https?--* .DS_Store +Gemfile.lock diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index d404d153..00000000 --- a/Gemfile.lock +++ /dev/null @@ -1,37 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) - cli (1.4.0) - faraday (2.12.1) - faraday-net_http (>= 2.0, < 3.5) - json - logger - faraday-net_http (3.4.0) - net-http (>= 0.5.0) - json (2.9.0) - logger (1.6.2) - net-http (0.6.0) - uri - octokit (9.2.0) - faraday (>= 1, < 3) - sawyer (~> 0.9) - public_suffix (6.0.1) - rugged (1.6.3) - sawyer (0.9.2) - addressable (>= 2.3.5) - faraday (>= 0.17.3, < 3) - uri (1.0.2) - -PLATFORMS - arm64-darwin-22 - x86_64-darwin-22 - -DEPENDENCIES - cli - octokit (>= 9.2.0) - rugged (= 1.6.3) - -BUNDLED WITH - 2.3.5 diff --git a/lib/typocop/client.rb b/lib/typocop/client.rb index d0e56bc7..0a5d1f76 100644 --- a/lib/typocop/client.rb +++ b/lib/typocop/client.rb @@ -165,7 +165,8 @@ def accept_pull_request @client.create_pull_request_review( @repo_name, PULL_ID, - event: 'APPROVE' + event: 'APPROVE', + body: 'Checked for typos — Everything looks great! :star: :tada: :sparkles:' ) rescue Octokit::UnprocessableEntity => e puts e diff --git a/lib/typocop/version.rb b/lib/typocop/version.rb index 0b4f7685..583ada2d 100644 --- a/lib/typocop/version.rb +++ b/lib/typocop/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Typocop - VERSION = '0.1.2' + VERSION = '0.1.3' end diff --git a/typocop.gemspec b/typocop.gemspec index 057df003..2e11b548 100644 --- a/typocop.gemspec +++ b/typocop.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.add_dependency 'octokit', '9.2.0' s.add_dependency 'rugged', '~> 1.6.3' s.add_dependency 'thor', '~> 1.3.2' - s.add_dependency 'typo_checker' + s.add_dependency 'typo_checker', '0.1.7' s.executables = %w[typocop] s.files.each do |file| next unless file.start_with?('bin/')