circleci-bundle-update-pr 1.11.0 → 1.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/circleci/bundle/update/pr.rb +1 -2
- data/lib/circleci/bundle/update/pr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09ff29855b5e486327154293eb7ebff6465f852b6d7ae902723156667f3d54c9'
|
4
|
+
data.tar.gz: 1d64f35097cd4760ca95009c32cf05be3d5eab9d7209efed4d171e6db21bff8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d8d71870cae7ae77816648338641e9050c9cb2dceb42d911aed094095c3458d0e90e78cdaa6adfce677365980b7a5e087fefc1b48292cc3e27a5660de4154d8
|
7
|
+
data.tar.gz: 4c39a0f5dd0e6d2bef6afb63cf605d90a3045795a0c219eb4f37178a86673d69964a56a796be35658c9c4f668db1a0a1acab7058c9027ef183bd370942aef97e
|
data/Gemfile.lock
CHANGED
@@ -19,10 +19,10 @@ module Circleci
|
|
19
19
|
|
20
20
|
create_branch(git_username, git_email, branch, repo_full_name)
|
21
21
|
pull_request = create_pull_request(repo_full_name, branch, now)
|
22
|
+
add_labels(repo_full_name, pull_request[:number], labels) if labels
|
22
23
|
update_pull_request_body(repo_full_name, pull_request[:number])
|
23
24
|
add_assignees(repo_full_name, pull_request[:number], assignees) if assignees
|
24
25
|
request_review(repo_full_name, pull_request[:number], reviewers) if reviewers
|
25
|
-
add_labels(repo_full_name, pull_request[:number], labels) if labels
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.need?(git_branches)
|
@@ -48,7 +48,6 @@ module Circleci
|
|
48
48
|
|
49
49
|
def self.create_pull_request(repo_full_name, branch, now)
|
50
50
|
title = "bundle update at #{now.strftime('%Y-%m-%d %H:%M:%S %Z')}"
|
51
|
-
build_url = URI.parse ENV['CIRCLE_BUILD_URL']
|
52
51
|
client.create_pull_request(repo_full_name, ENV['CIRCLE_BRANCH'], branch, title)
|
53
52
|
end
|
54
53
|
private_class_method :create_pull_request
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: circleci-bundle-update-pr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Masuda
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|