lita-github_pr_list 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82ae98f62511ef5f22c91304e9e0a02b2e5de8d2
4
- data.tar.gz: 405eda6066042603a6f46f86d781896e42cc0728
3
+ metadata.gz: 10c4e62b1eeab49ac40512da9403bb11946227e3
4
+ data.tar.gz: 5001ebf7fbf1e89a909596fd436c9c18052703a8
5
5
  SHA512:
6
- metadata.gz: 7610ddb6a833221372c80b30e86b682938e0b9d4f6e79c466e6719d8e6ead78cbecba6fc8c60f6a0e38729938e4c69d337f6ed98e8f1ed54525ff1301c230f67
7
- data.tar.gz: 42a46cdf0ca94974edf4592e67c38837101de2b6a2094423a2099fadc55169e01ee0c492e910a574de43b15343723127310e2db80ce1b7ce2982b8d026d90c0f
6
+ metadata.gz: 9e27625abe54b25ebf1db2058adfd10a711590f32c448cec5fc9cdfcaf51a6b5fe3985c0eaf6e458e753887712f15fd53d4492e4c9f90b494578e742a9bff635
7
+ data.tar.gz: e000305831859e03ae47166921a48ef29c06b33b30f5377e5dcf6f6f370aa72c9a25c1538c105e33df702d9353f5af8fd9cad6d30db3020c46c290f4265de007
@@ -27,7 +27,7 @@ module Lita
27
27
  self.status = repo_status(payload["repository"]["full_name"], payload["issue"])
28
28
  if !status[:last_comment].empty?
29
29
  if status[:last_comment].include? Lita::GithubPrList::Status::REVIEW_EMOJI
30
- "@#{commenter} is currently reviewing: #{issue_title}. #{issue_html_url}"
30
+ "@#{commenter} is currently reviewing: #{issue_title}. #{issue_html_url}, @#{commenter}++"
31
31
  elsif status[:last_comment].include? Lita::GithubPrList::Status::FAIL_EMOJI
32
32
  "@#{issue_owner} your pull request: #{issue_title} has failed. #{issue_html_url}"
33
33
  elsif status[:last_comment].include? Lita::GithubPrList::Status::FIXED_EMOJI
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module GithubPrList
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -152,7 +152,7 @@ describe Lita::Handlers::GithubPrList, lita_handler: true do
152
152
  " https://github.com/baxterthehacker/public-repo/issues/47")
153
153
  end
154
154
 
155
- it "mentions the github user in the room and tell them they are reviewing" do
155
+ it "mentions the github user in the room and tell them they are reviewing and gives them karma" do
156
156
  expect_any_instance_of(Octokit::Client).to receive(:issue_comments).and_return(issue_comments_in_review)
157
157
 
158
158
  request = Rack::Request.new("rack.input" => StringIO.new(issue_comment_event_in_review))
@@ -162,7 +162,8 @@ describe Lita::Handlers::GithubPrList, lita_handler: true do
162
162
  github_handler.comment_hook(request, response)
163
163
 
164
164
  expect(replies.last).to include("@baxterthehacker is currently reviewing: Spelling error in the README file."\
165
- " https://github.com/baxterthehacker/public-repo/issues/47")
165
+ " https://github.com/baxterthehacker/public-repo/issues/47,"\
166
+ " @baxterthehacker++")
166
167
  end
167
168
 
168
169
  it "mentions the github user in the room and tell them it has been fixed" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-github_pr_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-05-30 00:00:00.000000000 Z
18
+ date: 2017-07-12 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: lita
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
- rubygems_version: 2.5.1
233
+ rubygems_version: 2.2.2
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: List open pull requests for an organization.