right_hook 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,13 @@
1
1
  require 'right_hook/authenticated_client'
2
+ require 'right_hook/logger'
2
3
  require 'octokit'
3
4
 
4
5
  module RightHook
5
6
  # Provides an interface for adding comments on GitHub
6
7
  class Commenter < AuthenticatedClient
7
8
  def comment_on_issue(owner, repo_name, issue_number, comment)
8
- client.add_comment("#{owner}/#{repo_name}", issue_number, comment)
9
+ result = client.add_comment("#{owner}/#{repo_name}", issue_number, comment)
10
+ RightHook.logger.info("Result of comment_on_issue: #{result}")
9
11
  end
10
12
  end
11
13
  end
@@ -1,3 +1,3 @@
1
1
  module RightHook
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: