saddler-reporter-github 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5a54f0b00d0a8ccf4dd9bca6b35949d26e0891e5
4
+ data.tar.gz: 6a866714ea731c76b352c3c78e7bf7ca2fe95a22
5
+ SHA512:
6
+ metadata.gz: 56cdca0dcff8a4bdff2ffdf8c62199fa44b752ae8de3d73872d8cfe7b1b06977f67fabb473b23f0e77d7a4a1443abcc0008d2417c0baff68c027857c33767c7b
7
+ data.tar.gz: 44cf9e2690347d8d448f5096b688375fb6f48c251a3a2887fa9564271a9410224fb0727ac8e17cab90954f7b134f390aeebb40036425dd9edfcc221586c9155d
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rubocop.yml ADDED
@@ -0,0 +1,17 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'bundle_bin/*'
4
+ - 'vendor/bundle/**/*'
5
+
6
+ Style/Documentation:
7
+ Enabled: false
8
+
9
+ Metrics/LineLength:
10
+ Max: 120
11
+
12
+ Style/FileName:
13
+ Exclude:
14
+ - exe/*
15
+
16
+ Style/RegexpLiteral:
17
+ MaxSlashes: 0
data/.tachikoma.yml ADDED
@@ -0,0 +1 @@
1
+ strategy: 'none'
data/.travis.yml ADDED
@@ -0,0 +1,15 @@
1
+ language: ruby
2
+ sudo: false
3
+ rvm:
4
+ - 1.9
5
+ - 2.0
6
+ - 2.1
7
+ - 2.2
8
+ before_install:
9
+ - gem update bundler
10
+ notifications:
11
+ email:
12
+ - ogataken@gmail.com
13
+ branches:
14
+ only:
15
+ - master
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in saddler-reporter-github.gemspec
4
+ gemspec
5
+ gem 'byebug' if RUBY_VERSION >= '2.0.0'
6
+ gem 'pry'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 sanemat
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # Saddler::Reporter::Github
2
+
3
+ [![Gem Version](http://img.shields.io/gem/v/saddler-reporter-github.svg?style=flat)](http://badge.fury.io/rb/saddler-reporter-github)
4
+ [![Build Status](http://img.shields.io/travis/packsaddle/ruby-saddler-reporter-github/master.svg?style=flat)](https://travis-ci.org/packsaddle/ruby-saddler-reporter-github)
5
+
6
+ ## Reporters
7
+
8
+ This provides saddler reporters for GitHub.
9
+
10
+ * CommitComment
11
+ * CommitReviewComment
12
+ * PullRequestComment
13
+ * PullRequestReviewComment
14
+
15
+ ## Usage
16
+
17
+ ```
18
+ $ saddler report \
19
+ --require saddler/reporter/github \
20
+ --reporter Saddler::Reporter::Github::PullRequestReviewComment
21
+ ```
22
+
23
+ like this.
24
+
25
+ ## Installation
26
+
27
+ Add this line to your application's Gemfile:
28
+
29
+ ```ruby
30
+ gem 'saddler-reporter-github'
31
+ ```
32
+
33
+ And then execute:
34
+
35
+ $ bundle
36
+
37
+ Or install it yourself as:
38
+
39
+ $ gem install saddler-reporter-github
40
+
41
+ ## Development
42
+
43
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
44
+
45
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
46
+
47
+ ## Contributing
48
+
49
+ 1. Fork it ( https://github.com/packsaddle/ruby-saddler-reporter-github/fork )
50
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
51
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
52
+ 4. Push to the branch (`git push origin my-new-feature`)
53
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'test'
6
+ t.test_files = FileList['test/**/test*.rb']
7
+ end
8
+
9
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'saddler/reporter/github'
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require 'irb'
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,21 @@
1
+ require 'octokit'
2
+ require 'git_diff_parser'
3
+ require 'saddler/reporter/support'
4
+ require 'saddler/reporter/support/git'
5
+ require 'saddler/reporter/github/version'
6
+ require 'saddler/reporter/github/helper'
7
+ require 'saddler/reporter/github/client'
8
+ require 'saddler/reporter/github/comment'
9
+ require 'saddler/reporter/github/commit_comment'
10
+ require 'saddler/reporter/github/commit_review_comment'
11
+ require 'saddler/reporter/github/pull_request_comment'
12
+ require 'saddler/reporter/github/pull_request_review_comment'
13
+
14
+ module Saddler
15
+ module Reporter
16
+ class ArgumentError < StandardError; end
17
+ module Github
18
+ class InvalidParameterError < ::Saddler::Reporter::ArgumentError; end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,87 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ class Client
5
+ def initialize(repo)
6
+ @repo = repo
7
+ end
8
+
9
+ def commit_comments(sha)
10
+ client.commit_comments(slug, sha).map do |comment|
11
+ Comment.new(sha, comment.body, comment.path, comment.position)
12
+ end
13
+ end
14
+
15
+ def create_commit_comment(comment)
16
+ client.create_commit_comment(slug, comment.sha, comment.body,
17
+ comment.path, nil, comment.position)
18
+ end
19
+
20
+ def commit_patches(sha)
21
+ patches = ::GitDiffParser::Patches[]
22
+ client.commit(slug, sha).files.each do |file|
23
+ patches << ::GitDiffParser::Patch.new(file.patch, file: file.filename, secure_hash: sha)
24
+ end
25
+ patches
26
+ end
27
+
28
+ def issue_comments
29
+ client.issue_comments(slug, pull_id).map do |comment|
30
+ Comment.new(sha = nil, comment.body, comment.path, comment.position)
31
+ end
32
+ end
33
+
34
+ def create_issue_comment(comment)
35
+ client.add_comment(slug, pull_id, comment.body)
36
+ end
37
+
38
+ def pull_request_review_comments
39
+ client.pull_request_comments(slug, pull_id).map do |comment|
40
+ Comment.new(comment.commit_id, comment.body, comment.path, comment.position)
41
+ end
42
+ end
43
+
44
+ def pull_request_patches
45
+ patches = ::GitDiffParser::Patches[]
46
+ client.pull_request_files(slug, pull_id).each do |file|
47
+ patches << ::GitDiffParser::Patch.new(file.patch, file: file.filename, secure_hash: @repo.head.sha)
48
+ end
49
+ patches
50
+ end
51
+
52
+ def create_pull_request_review_comment(comment)
53
+ client.create_pull_request_comment(slug, pull_id, comment.body,
54
+ comment.sha, comment.path, comment.position)
55
+ end
56
+
57
+ def pull_id
58
+ @pull_id ||= begin
59
+ pull_id = ENV['PULL_REQUEST_ID']
60
+ if pull_id
61
+ pull_id.to_i
62
+ elsif @repo.current_branch
63
+ pull = pull_requests.find { |pr| pr[:head][:ref] == @repo.current_branch }
64
+ pull[:number].to_i if pull
65
+ end
66
+ end
67
+ end
68
+
69
+ def pull_requests
70
+ @pull_requests ||= client.pull_requests(slug)
71
+ end
72
+
73
+ def slug
74
+ @slug ||= @repo.slug
75
+ end
76
+
77
+ def client
78
+ @client ||= Octokit::Client.new(access_token: access_token)
79
+ end
80
+
81
+ def access_token
82
+ ENV['GITHUB_ACCESS_TOKEN']
83
+ end
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,13 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ Comment = Struct.new(:sha, :body, :path, :position) do
5
+ def ==(other)
6
+ position == other.position &&
7
+ path == other.path &&
8
+ body == other.body
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,33 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ class CommitComment
5
+ include ::Saddler::Reporter::Support
6
+ include Helper
7
+
8
+ # https://developer.github.com/v3/repos/comments/#create-a-commit-comment
9
+ def report(messages, options)
10
+ repo_path = '.'
11
+ repo = ::Saddler::Reporter::Support::Git::Repository.new(repo_path)
12
+
13
+ sha = options['sha'] || repo.head.sha
14
+ data = parse(messages)
15
+
16
+ client = Client.new(repo)
17
+ # fetch commit_comments
18
+ commit_comments = client.commit_comments(sha)
19
+
20
+ # build comment
21
+ body = concat_body(data)
22
+ return if body.empty?
23
+ comment = Comment.new(sha, body, path = nil, position = nil)
24
+
25
+ # compare commit_comments.include?(comment)
26
+ return if commit_comments.include?(comment)
27
+ # create commit_comment
28
+ client.create_commit_comment(comment)
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,37 @@
1
+ require 'pathname'
2
+
3
+ module Saddler
4
+ module Reporter
5
+ module Github
6
+ class CommitReviewComment
7
+ include ::Saddler::Reporter::Support
8
+ include Helper
9
+
10
+ # https://developer.github.com/v3/repos/comments/#create-a-commit-comment
11
+ def report(messages, options)
12
+ repo_path = '.'
13
+ repo = ::Saddler::Reporter::Support::Git::Repository.new(repo_path)
14
+
15
+ sha = options['sha'] || repo.head.sha
16
+ data = parse(messages)
17
+
18
+ client = Client.new(repo)
19
+ # fetch commit_comments
20
+ commit_comments = client.commit_comments(sha)
21
+
22
+ patches = client.commit_patches(sha)
23
+ # build comment
24
+ comments = build_comments_with_patches(data, patches)
25
+ return if comments.empty?
26
+
27
+ posting_comments = comments - commit_comments
28
+ return if posting_comments.empty?
29
+ # create commit_comment
30
+ posting_comments.each do |posting|
31
+ client.create_commit_comment(posting)
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
@@ -0,0 +1,48 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ module Helper
5
+ def concat_body(data)
6
+ buffer = []
7
+ files = data['checkstyle']['file'] ||= []
8
+ files = [files] if files.is_a?(Hash)
9
+ files.each do |file|
10
+ errors = file['error'] ||= []
11
+ errors = [file['error']] if errors.is_a?(Hash)
12
+ errors.each do |error|
13
+ severity = error['@severity'] && error['@severity'].upcase
14
+ message = error['@message']
15
+ buffer << [severity, message].compact.join(': ')
16
+ end
17
+ end
18
+ buffer.join("\n")
19
+ end
20
+
21
+ def build_comments_with_patches(data, patches)
22
+ comments = []
23
+ files = data['checkstyle']['file'] ||= []
24
+ files = [files] if files.is_a?(Hash)
25
+ files.each do |file|
26
+ errors = file['error'] ||= []
27
+ errors = [file['error']] if errors.is_a?(Hash)
28
+ file_name = file['@name'] ||= ''
29
+ patch = patches.find_patch_by_file(file_relative_path_string(file_name))
30
+ next unless patch
31
+
32
+ errors.each do |error|
33
+ line_no = error['@line'] && error['@line'].to_i
34
+ next unless patch.changed_line_numbers.include?(line_no)
35
+
36
+ severity = error['@severity'] && error['@severity'].upcase
37
+ message = error['@message']
38
+ position = patch.find_patch_position_by_line_number(line_no)
39
+
40
+ comments << Comment.new(patch.secure_hash, [severity, message].compact.join(': '), patch.file, position)
41
+ end
42
+ end
43
+ comments
44
+ end
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,32 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ class PullRequestComment
5
+ include ::Saddler::Reporter::Support
6
+ include Helper
7
+
8
+ # https://developer.github.com/v3/issues/comments/#create-a-comment
9
+ def report(messages, _options)
10
+ repo_path = '.'
11
+ repo = ::Saddler::Reporter::Support::Git::Repository.new(repo_path)
12
+
13
+ data = parse(messages)
14
+
15
+ client = Client.new(repo)
16
+ # fetch pull_request_comments(issue)
17
+ pull_request_comments = client.issue_comments
18
+
19
+ # build comment
20
+ body = concat_body(data)
21
+ return if body.empty?
22
+ comment = Comment.new(sha1 = nil, body, path = nil, position = nil)
23
+
24
+ # compare pull_request_comments.include?(comment)
25
+ return if pull_request_comments.include?(comment)
26
+ # create pull_request_comment
27
+ client.create_issue_comment(comment)
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,35 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ class PullRequestReviewComment
5
+ include ::Saddler::Reporter::Support
6
+ include Helper
7
+
8
+ # https://developer.github.com/v3/pulls/comments/#create-a-comment
9
+ def report(messages, _options)
10
+ repo_path = '.'
11
+ repo = ::Saddler::Reporter::Support::Git::Repository.new(repo_path)
12
+
13
+ data = parse(messages)
14
+ client = Client.new(repo)
15
+ # fetch pull_request_review_comments
16
+ pull_request_review_comments = client.pull_request_review_comments
17
+
18
+ patches = client.pull_request_patches
19
+
20
+ # build comment
21
+ comments = build_comments_with_patches(data, patches)
22
+ return if comments.empty?
23
+
24
+ posting_comments = comments - pull_request_review_comments
25
+ return if posting_comments.empty?
26
+
27
+ # create pull_request_review_comments
28
+ posting_comments.each do |posting|
29
+ client.create_pull_request_review_comment(posting)
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,7 @@
1
+ module Saddler
2
+ module Reporter
3
+ module Github
4
+ VERSION = '0.1.0'
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'saddler/reporter/github/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'saddler-reporter-github'
8
+ spec.version = Saddler::Reporter::Github::VERSION
9
+ spec.authors = ['sanemat']
10
+ spec.email = ['o.gata.ken@gmail.com']
11
+
12
+ spec.summary = 'Saddler reporter for GitHub.'
13
+ spec.description = 'Saddler reporter for GitHub.'
14
+ spec.homepage = 'https://github.com/packsaddle/ruby-saddler-reporter-github'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = 'exe'
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ['lib']
21
+
22
+ spec.add_runtime_dependency 'octokit'
23
+ spec.add_runtime_dependency 'git_diff_parser'
24
+ spec.add_runtime_dependency 'saddler-reporter-support'
25
+ spec.add_runtime_dependency 'saddler-reporter-support-git'
26
+
27
+ spec.add_development_dependency 'bundler', '~> 1.8'
28
+ spec.add_development_dependency 'rake', '~> 10.0'
29
+ spec.add_development_dependency 'test-unit'
30
+ end
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: saddler-reporter-github
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - sanemat
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: octokit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: git_diff_parser
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: saddler-reporter-support
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: saddler-reporter-support-git
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.8'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.8'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: test-unit
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Saddler reporter for GitHub.
112
+ email:
113
+ - o.gata.ken@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rubocop.yml"
120
+ - ".tachikoma.yml"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - lib/saddler/reporter/github.rb
130
+ - lib/saddler/reporter/github/client.rb
131
+ - lib/saddler/reporter/github/comment.rb
132
+ - lib/saddler/reporter/github/commit_comment.rb
133
+ - lib/saddler/reporter/github/commit_review_comment.rb
134
+ - lib/saddler/reporter/github/helper.rb
135
+ - lib/saddler/reporter/github/pull_request_comment.rb
136
+ - lib/saddler/reporter/github/pull_request_review_comment.rb
137
+ - lib/saddler/reporter/github/version.rb
138
+ - saddler-reporter-github.gemspec
139
+ homepage: https://github.com/packsaddle/ruby-saddler-reporter-github
140
+ licenses:
141
+ - MIT
142
+ metadata: {}
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ requirements: []
158
+ rubyforge_project:
159
+ rubygems_version: 2.4.5
160
+ signing_key:
161
+ specification_version: 4
162
+ summary: Saddler reporter for GitHub.
163
+ test_files: []