buildkite-builder 4.3.0 → 4.4.0

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: 6d27ba7be3d5fd3885be95d7d296c05643232507da5cd6b006ff7a3e94f68981
4
- data.tar.gz: db8bbe46f1a8848a67ed4eb7d75652864decaddd7efbb9546a83f0221c79635d
3
+ metadata.gz: 86f89af006c84e916bc75c42fec68f5e308544592b49dcee1b8e0cdde4029bf6
4
+ data.tar.gz: ce1c87417d57468896e8f15be3e3678de6c920625b3b070c3b84c3c553ae0c59
5
5
  SHA512:
6
- metadata.gz: 88570f93c62497ec97289a55169ad8932836b1f31cc1d503416f0abb8bfa7d5a774e1f8d43495e8f3a9fb44abe5b8283e209652cb1a6383f664a4fc3a0e15a57
7
- data.tar.gz: f257e71d32997ce9fabc7b71dab4afedc3771b961c5f6783a142b365bd59182e727b7198edb33311b126233a6d8682619c4ed774d1df618c0374a237d3f3ed79
6
+ metadata.gz: bb99d435663020e86296e11f330f5d0f58832486a89febac1b4e199ae48a2a463e2be4906b226f9d654a46b49fc091c33d0481e56f7949c28004db7e17917958
7
+ data.tar.gz: 2943c7b52a2e1ef61f9325758255fdd29fe037b3ac658db2ffd298a2ff2ecc2aa544c5aba7b16a2135e7abb7814166feb5608c064e98b2a4077a825f062dd54c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 4.4.0
2
+ * Fix multiple arguments for `depends_on`.
3
+
1
4
  ### 4.3.0
2
5
  * Remove the `DependsOn` helper module since it doesn't do anything additive.
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.3.0
1
+ 4.4.0
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Buildkite
4
+ module Pipelines
5
+ module Helpers
6
+ module DependsOn
7
+ def depends_on(*values)
8
+ values.any? ? super(values) : super()
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -6,6 +6,7 @@ module Buildkite
6
6
  ATTRIBUTE_HELPERS = {
7
7
  block: :Block,
8
8
  command: :Command,
9
+ depends_on: :DependsOn,
9
10
  key: :Key,
10
11
  label: :Label,
11
12
  plugins: :Plugins,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildkite-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ngan Pham
@@ -134,6 +134,7 @@ files:
134
134
  - lib/buildkite/pipelines/helpers.rb
135
135
  - lib/buildkite/pipelines/helpers/block.rb
136
136
  - lib/buildkite/pipelines/helpers/command.rb
137
+ - lib/buildkite/pipelines/helpers/depends_on.rb
137
138
  - lib/buildkite/pipelines/helpers/key.rb
138
139
  - lib/buildkite/pipelines/helpers/label.rb
139
140
  - lib/buildkite/pipelines/helpers/plugins.rb