lita-github_pr_list 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/lita/github_pr_list/check_list.rb +2 -4
- data/lib/lita/github_pr_list/version.rb +1 -1
- data/lita-github_pr_list.gemspec +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb4aa449af9b7d791497d8c2ca8967ad440b5d5e
|
4
|
+
data.tar.gz: 234f3583522451e67d98c5045ba1c877f93b3898
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f5526e254ce48f9d781e22ce951c67259e043ef816b73e5d49a0703815aa942c2b8200bb9095b97b868582de5fd07f83b26a9209387e41d5826d1eabe8fd07d
|
7
|
+
data.tar.gz: 6b1a7afa846a9ae509d0fd994808c77b064d00f994a498bbb82c1776e0fd15bf4b80821937ff88892c9a98ef321338e5326326ead7da6d638dcf094e1e21b653
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
## 2014-09-22
|
2
|
+
|
3
|
+
Features:
|
4
|
+
|
5
|
+
- Remove merge into master and deploy to production items from check list. ([@rubene][], [#28][])
|
6
|
+
<!--- The following link definition list is generated by PimpMyChangelog --->
|
7
|
+
[#28]: https://github.com/amaabca/lita-github_pr_list/issues/28
|
8
|
+
[@rubene]: https://github.com/rubene
|
@@ -2,21 +2,19 @@ module Lita
|
|
2
2
|
module GithubPrList
|
3
3
|
class CheckList
|
4
4
|
attr_accessor :request, :response, :payload, :redis, :repo_name, :comment_body,
|
5
|
-
:title, :id, :github_token, :github_client
|
5
|
+
:title, :id, :github_token, :github_client, :list
|
6
6
|
|
7
7
|
def initialize(params = {})
|
8
8
|
self.github_token = params.fetch(:github_token, nil)
|
9
9
|
self.response = params.fetch(:response, nil)
|
10
10
|
self.request = params.fetch(:request, nil)
|
11
11
|
self.redis = params.fetch(:redis, nil)
|
12
|
+
self.list = params.fetch(:list, "\n- [ ] Change log\n- [ ] Demo page\n- [ ] Product owner signoff\n")
|
12
13
|
|
13
14
|
raise "invalid params in #{self.class.name}" if response.nil? || request.nil? || redis.nil?
|
14
15
|
|
15
16
|
self.github_client = Octokit::Client.new(access_token: github_token, auto_paginate: true)
|
16
17
|
|
17
|
-
list = "\n- [ ] Change log\n- [ ] Demo page\n- [ ] Product owner signoff\n"
|
18
|
-
list << "- [ ] Merge into master\n- [ ] Deploy to production\n"
|
19
|
-
|
20
18
|
self.payload = JSON.parse(request.body.read)
|
21
19
|
self.repo_name = payload["pull_request"]["head"]["repo"]["full_name"]
|
22
20
|
self.comment_body = "#{payload["pull_request"]["body"]} #{list}"
|
data/lita-github_pr_list.gemspec
CHANGED
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.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael van den Beuken
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2014-09-
|
16
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: lita
|
@@ -127,6 +127,20 @@ dependencies:
|
|
127
127
|
- - '>='
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
|
+
- !ruby/object:Gem::Dependency
|
131
|
+
name: pimpmychangelog
|
132
|
+
requirement: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
type: :development
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - '>='
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '0'
|
130
144
|
description: List open pull requests for an organization.
|
131
145
|
email:
|
132
146
|
- michael.beuken@gmail.com
|
@@ -145,6 +159,7 @@ files:
|
|
145
159
|
- .hound.yml
|
146
160
|
- .rspec
|
147
161
|
- .travis.yml
|
162
|
+
- CHANGELOG.md
|
148
163
|
- Gemfile
|
149
164
|
- LICENSE
|
150
165
|
- README.md
|