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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af8f524ad7da9de93f262f9ad1fd535e4731bde4
4
- data.tar.gz: 5cd65a6a7e72e9e1dd1b89cb595141fe8cd0865e
3
+ metadata.gz: fb4aa449af9b7d791497d8c2ca8967ad440b5d5e
4
+ data.tar.gz: 234f3583522451e67d98c5045ba1c877f93b3898
5
5
  SHA512:
6
- metadata.gz: 6232701f25cb39558e539f49907ccce233c3b191c69f9b4c95284e1372b5b62b8b860bc9d9e54ab6a49a0acff10335055065af8fa6d2304c9dac1b0a75e99897
7
- data.tar.gz: 675e3150a0a1f57356454129290f503ecaa06a1eef98cf9af9d5d6e42eea831f2b79a244d586f6e2733911a11ebb3bfa44051b055ab71de192a8871178fb1018
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}"
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module GithubPrList
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
@@ -28,4 +28,5 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "rspec"
29
29
  spec.add_development_dependency "rspec-instafail"
30
30
  spec.add_development_dependency "simplecov"
31
+ spec.add_development_dependency "pimpmychangelog"
31
32
  end
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.11
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 00:00:00.000000000 Z
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