buildkite-sdk 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +10 -3
- data/lib/buildkite/version.rb +1 -1
- data/lib/buildkite.rb +6 -6
- data/project.json +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba37c3eadb0c90cf0329ab71b65243e502125d52b810a59295fc6c58c12e0cc5
|
4
|
+
data.tar.gz: 80920ec0deeb634ef398080a51c6515a72e0392c12a1d6531b136e9609044e1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a594646aa20641ec2b97611d7a21cec381c5e52621f370afe714405b50c66e510eea44b8816714141b6f8065262ff77e962a204f0cccf42fffbf2974eae5063
|
7
|
+
data.tar.gz: 8d5fba6d2461bcc262d46070ee096d3ba3132ba17d9eb2c9bd08787e6b6328c2f7d9c1b13f12c0fcc55b8a0d99755f436120138b19f1770752b55a303bba0be9
|
data/.rubocop.yml
CHANGED
@@ -4,8 +4,8 @@ require:
|
|
4
4
|
|
5
5
|
AllCops:
|
6
6
|
TargetRubyVersion: 3.0
|
7
|
-
|
8
|
-
|
7
|
+
Exclude:
|
8
|
+
- "lib/schema.rb"
|
9
9
|
|
10
10
|
Style/StringLiterals:
|
11
11
|
EnforcedStyle: double_quotes
|
@@ -16,10 +16,17 @@ Style/FrozenStringLiteralComment:
|
|
16
16
|
Style/StringLiteralsInInterpolation:
|
17
17
|
EnforcedStyle: double_quotes
|
18
18
|
|
19
|
-
|
19
|
+
Style/Documentation:
|
20
|
+
Exclude:
|
21
|
+
- "lib/schema.rb"
|
22
|
+
|
23
|
+
Layout/LineLength:
|
20
24
|
Exclude:
|
21
25
|
- "lib/environment.rb"
|
22
26
|
|
23
27
|
Metrics/ModuleLength:
|
24
28
|
Exclude:
|
25
29
|
- "lib/environment.rb"
|
30
|
+
|
31
|
+
RSpec/ExampleLength:
|
32
|
+
Max: 20
|
data/lib/buildkite/version.rb
CHANGED
data/lib/buildkite.rb
CHANGED
@@ -52,18 +52,18 @@ module Buildkite
|
|
52
52
|
pipeline = {
|
53
53
|
"steps" => @steps
|
54
54
|
}
|
55
|
-
pipeline["agents"] = @agents
|
56
|
-
pipeline["env"] = @env
|
57
|
-
pipeline["notify"] = @notify
|
58
|
-
|
55
|
+
pipeline["agents"] = @agents unless @agents.nil?
|
56
|
+
pipeline["env"] = @env unless @env.nil?
|
57
|
+
pipeline["notify"] = @notify unless @notify.nil?
|
58
|
+
pipeline
|
59
59
|
end
|
60
60
|
|
61
61
|
def to_json(*_args)
|
62
|
-
JSON.pretty_generate(
|
62
|
+
JSON.pretty_generate(build, indent: " ")
|
63
63
|
end
|
64
64
|
|
65
65
|
def to_yaml
|
66
|
-
|
66
|
+
build.to_yaml
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
data/project.json
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildkite-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Buildkite
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: ostruct
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.6.
|
64
|
+
rubygems_version: 3.6.7
|
65
65
|
specification_version: 4
|
66
66
|
summary: A Ruby SDK for Buildkite!
|
67
67
|
test_files: []
|