jujube 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/acceptance/fixtures/endToEnd/endToEnd.job +1 -0
- data/acceptance/fixtures/endToEnd/expected.yml +1 -0
- data/lib/jujube/job.rb +9 -1
- data/lib/jujube/version.rb +1 -1
- data/test/job_test.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b6254ceba9c1a93a800e45bc6b83b070db296a7
|
4
|
+
data.tar.gz: 24a14d99e0fe10cd3b62f53bb3702218df993e57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 734d1a4fe318ef9d31e086aaafec1a89c0fa08e6793bcb6985a6f4cda9c935e3322df364253a1ce40b760884d9ee1ca89e6a2f735a0da3971a8811435da43e2a
|
7
|
+
data.tar.gz: 34e504da721e3ed19e3d087be043ad0ec20b0067c941880d667d34e4dc318225eacce1ad5512ed5e9f28b5f989b90f9b176e3751be7c279833f99ed6b4984998
|
data/README.md
CHANGED
data/lib/jujube/job.rb
CHANGED
@@ -70,7 +70,7 @@ module Jujube
|
|
70
70
|
#
|
71
71
|
# See {http://ci.openstack.org/jenkins-job-builder/general.html}.
|
72
72
|
#
|
73
|
-
# @return [
|
73
|
+
# @return [Boolean]
|
74
74
|
attribute :block_downstream
|
75
75
|
|
76
76
|
# @!attribute quiet_period
|
@@ -81,6 +81,14 @@ module Jujube
|
|
81
81
|
# @return [Fixnum]
|
82
82
|
attribute :quiet_period
|
83
83
|
|
84
|
+
# @!attribute disabled
|
85
|
+
# `true` if this job should be disabled.
|
86
|
+
#
|
87
|
+
# See {http://ci.openstack.org/jenkins-job-builder/general.html}.
|
88
|
+
#
|
89
|
+
# @return [Boolean]
|
90
|
+
attribute :disabled
|
91
|
+
|
84
92
|
# @!endgroup
|
85
93
|
|
86
94
|
# @!group Sections
|
data/lib/jujube/version.rb
CHANGED
data/test/job_test.rb
CHANGED
@@ -40,6 +40,11 @@ class JobTest < Minitest::Test
|
|
40
40
|
assert_yaml_matches("quiet-period: 42")
|
41
41
|
end
|
42
42
|
|
43
|
+
def test_includes_disabled
|
44
|
+
@job.disabled = true
|
45
|
+
assert_yaml_matches("disabled: true")
|
46
|
+
end
|
47
|
+
|
43
48
|
def test_includes_single_item_section
|
44
49
|
@job.triggers << "TRIGGER"
|
45
50
|
assert_yaml_matches("triggers:\s*\n - TRIGGER")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jujube
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Randy Coulman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.4.6
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: Ruby front-end for jenkins-job-builder
|