lita-github_pr_list 0.1.1 → 0.1.2

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: 0e10fe705c366e1fc6d9aa63077215eb371575ab
4
- data.tar.gz: 0f83bd1869bc97889686c82bd8510514aa8a94bd
3
+ metadata.gz: 38b9b5e4a5f9927d87fd60dbb4d9c6799fe36324
4
+ data.tar.gz: e8a6a0cbf3fa0bd532762793a3304d1ac3bc8859
5
5
  SHA512:
6
- metadata.gz: fe9387efcf3c0c887ecb01b884d71bc947c79026b9582421d21c34809d14f1b34681da3d297c057a80626e7efb7c528e3f8400f56279911792e31b0da58f880c
7
- data.tar.gz: 9bdf77969ce11bf7f1849b401b1dc438f927f0c3a1184c5ca257b818b0bc628aa7a7d980364ae9ceb81871a67d323abbd9827c52c56f24777e11e8a41dd0c484
6
+ metadata.gz: 7f924619fe5e28dc8b73b40409433ea95205142f48e54d8c052de2fe695c861445a8f52cc2dad63ff73117f93dc8e572e1f19524ff72c0b300fbbe62d8d51345
7
+ data.tar.gz: 6b83fe511f175ef106dff1e371d7f569710cc69276be99f5b3c6e0a3cbe02d68b19a69e653151781f90d607fa7138b09dd7a63a2333e4cb7656f71cc06ac2a4c
@@ -41,7 +41,8 @@ module Lita
41
41
  end
42
42
 
43
43
  def update(new_comment)
44
- self.status[:last_comment] = parse_dev(new_comment) unless self.dev.nil?
44
+ self.status[:last_comment] = ""
45
+ self.status[:last_comment] += parse_dev(new_comment) unless self.dev.nil?
45
46
  self.status[:last_comment] += parse_design(new_comment) unless self.design.nil?
46
47
  self.status[:last_comment] += parse_common(new_comment)
47
48
  self.comment = new_comment
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module GithubPrList
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -145,7 +145,7 @@ describe Lita::Handlers::GithubPrList, lita_handler: true do
145
145
  it "it says nothing" do
146
146
  expect_any_instance_of(Octokit::Client).to receive(:issue_comments).and_return(issue_comments_trivial)
147
147
 
148
- request = Rack::Request.new("rack.input" => StringIO.new(issue_comment_event_passed_dev_context))
148
+ request = Rack::Request.new("rack.input" => StringIO.new(issue_comment_event_passed_design_context))
149
149
  response = Rack::Response.new(['Hello'], 200, { 'Content-Type' => 'text/plain' })
150
150
 
151
151
  github_handler = Lita::Handlers::GithubPrList.new robot
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.1.1
4
+ version: 0.1.2
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: 2015-11-25 00:00:00.000000000 Z
18
+ date: 2015-12-09 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: lita
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  version: '0'
229
229
  requirements: []
230
230
  rubyforge_project:
231
- rubygems_version: 2.4.5
231
+ rubygems_version: 2.4.5.1
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: List open pull requests for an organization.