lita-github_pr_list 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38b9b5e4a5f9927d87fd60dbb4d9c6799fe36324
|
4
|
+
data.tar.gz: e8a6a0cbf3fa0bd532762793a3304d1ac3bc8859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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] =
|
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
|
@@ -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(
|
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.
|
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-
|
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.
|