buildkit 1.6.0 → 1.6.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: 0e7e69a2ddeff1b7bb80376140cdaa6ab806ae4d9d00eab6ed18125dad032fc2
4
- data.tar.gz: b9455cdb046ebf0c351f8cedca064a65d3a0e5a729ebe29e2dd845fc6a522944
3
+ metadata.gz: 6e0e8f1334155df0287e1c1ea8b99bd03234f10681f87bea60ddf471474952a9
4
+ data.tar.gz: 0cc70aa70b57a0f6754460257dbc127f936d11f6a35e01bcaa8cd9b677223078
5
5
  SHA512:
6
- metadata.gz: 3f7ca278659b24de9d55aac4b78daec828a73ee198eb2df1feba25e67e7b4cb8c253be04934359f1e1abdc1c8d50cbba189a6d4e81588b5e95ca0b2ae69b407e
7
- data.tar.gz: 00ee40a520605b816792a7a8365a5bd8e2010896e219da8c86d62ca344fdcd750a26a38dd81a4e70883181563ee27908343d21e563bc8cbef4e9b5169f676581
6
+ metadata.gz: f48d7763085376ec590cb490ec8eca0c3b971aead37e3e9bc12e037627af4ff4122fdb242ebf20a3d4030c59f01ec7f4333078e8e33a4da097e628dccf91632e
7
+ data.tar.gz: 2f738d7d0437b8f6c2d37a68a240dfde0e37ac912de2bda9e74d8dba9e75f113b1c5c61705dddccd9cf050871afe3c8d622fdb17bb14e3a08757d002990f575c
@@ -0,0 +1,9 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: bundler
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ open-pull-requests-limit: 10
8
+ insecure-external-code-execution: allow
9
+ registries: "*"
data/Gemfile CHANGED
@@ -8,8 +8,8 @@ gem 'yard'
8
8
 
9
9
  group :test do
10
10
  gem 'rspec', '~> 3.2'
11
- gem 'rubocop', '~> 0.81.0'
12
- gem 'vcr', '~> 3.0'
11
+ gem 'rubocop', '~> 1.28.2'
12
+ gem 'vcr', '~> 6.0'
13
13
  end
14
14
 
15
15
  gemspec
@@ -47,6 +47,26 @@ module Buildkit
47
47
  def job_log(org, pipeline, build, job, options = {})
48
48
  get("/v2/organizations/#{org}/pipelines/#{pipeline}/builds/#{build}/jobs/#{job}/log", options)
49
49
  end
50
+
51
+ # Unblock a job
52
+ #
53
+ # @param org [String] Organization slug.
54
+ # @param pipeline [String] Pipeline slug.
55
+ # @param build [Integer] Build number.
56
+ # @param job [String] Job id.
57
+ # @return [Array<Sawyer::Resource>] Hashes representing Buildkite job.
58
+ # @see https://buildkite.com/docs/apis/rest-api/jobs#unblock-a-job
59
+ # @example
60
+ # Buildkit.unblock('my-great-org', 'great-pipeline', 123, 'my-job-id', {
61
+ # "unblocker" => "id-of-unblocker",
62
+ # "fields" => {
63
+ # "name": "Liam Neeson",
64
+ # "email": "liam@evilbatmanvillans.com"
65
+ # }
66
+ # })
67
+ def unblock(org, pipeline, build, job, options = {})
68
+ put("/v2/organizations/#{org}/pipelines/#{pipeline}/builds/#{build}/jobs/#{job}/unblock", options)
69
+ end
50
70
  end
51
71
  end
52
72
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Buildkit
4
- VERSION = '1.6.0'
4
+ VERSION = '1.6.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-04 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sawyer
@@ -38,13 +38,14 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description:
41
+ description:
42
42
  email:
43
43
  - jean.boussier@shopify.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".github/dependabot.yml"
48
49
  - ".github/workflows/ci.yml"
49
50
  - ".github/workflows/cla.yml"
50
51
  - ".gitignore"
@@ -77,7 +78,7 @@ licenses:
77
78
  - MIT
78
79
  metadata:
79
80
  allowed_push_host: https://rubygems.org
80
- post_install_message:
81
+ post_install_message:
81
82
  rdoc_options: []
82
83
  require_paths:
83
84
  - lib
@@ -92,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  - !ruby/object:Gem::Version
93
94
  version: '0'
94
95
  requirements: []
95
- rubygems_version: 3.5.7
96
- signing_key:
96
+ rubygems_version: 3.5.18
97
+ signing_key:
97
98
  specification_version: 4
98
99
  summary: Ruby toolkit for working with the Buildkite API
99
100
  test_files: []