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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5742711f4f6b0cb19eec3d8f4573c3430866ea6a3158e3ff7675d20eba860b6b
4
- data.tar.gz: 2c14e2e0ccea86e3164592e7555f82c23895ceb70bf784e3eebe3e50f6d057d4
3
+ metadata.gz: '09ff29855b5e486327154293eb7ebff6465f852b6d7ae902723156667f3d54c9'
4
+ data.tar.gz: 1d64f35097cd4760ca95009c32cf05be3d5eab9d7209efed4d171e6db21bff8d
5
5
  SHA512:
6
- metadata.gz: 4d20182cb0e5bc6a4e53dbd37059096d2c956e93a06995f5eb65609c1e424316414f88427d02c86676af23f7970b3eb3148641ca1bd29b50ba49f5b957f87e0a
7
- data.tar.gz: 567daa514b62b47983f9d5877facfa9c5ce3a3d349b2af25671bd7f6c38ec09133840bd4dee63ebed5e7ba5eb6020b71984afed510a4ce447dab3545b79f1ed9
6
+ metadata.gz: 4d8d71870cae7ae77816648338641e9050c9cb2dceb42d911aed094095c3458d0e90e78cdaa6adfce677365980b7a5e087fefc1b48292cc3e27a5660de4154d8
7
+ data.tar.gz: 4c39a0f5dd0e6d2bef6afb63cf605d90a3045795a0c219eb4f37178a86673d69964a56a796be35658c9c4f668db1a0a1acab7058c9027ef183bd370942aef97e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- circleci-bundle-update-pr (1.11.0)
4
+ circleci-bundle-update-pr (1.11.1)
5
5
  compare_linker (>= 1.4.0)
6
6
  octokit
7
7
 
@@ -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
@@ -2,7 +2,7 @@ module Circleci
2
2
  module Bundle
3
3
  module Update
4
4
  module Pr
5
- VERSION = "1.11.0"
5
+ VERSION = "1.11.1"
6
6
  end
7
7
  end
8
8
  end
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.0
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-06-25 00:00:00.000000000 Z
11
+ date: 2018-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit