jujube 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/acceptance/fixtures/endToEnd/endToEnd.job +1 -0
- data/acceptance/fixtures/endToEnd/expected.yml +2 -0
- data/lib/jujube/components/properties.rb +9 -0
- data/lib/jujube/components/publishers.rb +1 -2
- data/lib/jujube/components/scm.rb +1 -2
- data/lib/jujube/version.rb +1 -1
- data/test/components/properties_test.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0c46780f57f3cb3d21ba6eeb43163a659734f7d
|
4
|
+
data.tar.gz: b1d10f7bb3471b78af05ca63cd702a7235182efd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20f85048cf6f0bdfc8bb52945a08967752e9ac844e40ef042cbaf458207db9a71733f29ca0ffd31f200b2eaa7c14b031897c65c96d5f62dfe49825a119bdc63
|
7
|
+
data.tar.gz: 6b4019db585ebf7304fd26febbf8b6b47971cb62c420c6960eac85781f3756a5ccdfcab25e869758093f1840d8ae6b54bea4c57b8dd7b26278969a7355893568
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this gem will be documented here. This project
|
4
|
+
adheres to [Semantic Versioning](http://semver.org/).
|
5
|
+
|
6
|
+
## [Unreleased][unreleased]
|
7
|
+
|
8
|
+
### Added
|
9
|
+
|
10
|
+
* Links to documentation for the `fitnesse` publisher and `store` SCM that have now been merged into jenkins-job-builder.
|
11
|
+
* This CHANGELOG.
|
12
|
+
|
13
|
+
## [0.9.0][0.9.0] - 2015-04-09
|
14
|
+
|
15
|
+
### Added
|
16
|
+
|
17
|
+
* Support the `disabled` job attribute
|
18
|
+
(see http://ci.openstack.org/jenkins-job-builder/general.html).
|
19
|
+
|
20
|
+
## [0.8.0][0.8.0] - 2014-10-29
|
21
|
+
|
22
|
+
* Support the `throttle` job property (see http://ci.openstack.org/jenkins-job-builder/properties.html#properties.throttle).
|
23
|
+
|
24
|
+
## [0.7.0][0.7.0] - 2014-10-28
|
25
|
+
|
26
|
+
### Added
|
27
|
+
|
28
|
+
* Support the `reverse` trigger (see http://ci.openstack.org/jenkins-job-builder/triggers.html#triggers.reverse).
|
29
|
+
|
30
|
+
## [0.6.0][0.6.0] - 2014-08-25
|
31
|
+
|
32
|
+
### Added
|
33
|
+
|
34
|
+
* The `jujube` command now understands the `--version` argument and reports the gem version.
|
35
|
+
|
36
|
+
## [0.5.2][0.5.2] - 2014-04-15
|
37
|
+
|
38
|
+
### Added
|
39
|
+
|
40
|
+
* Support the `fitnesse` publisher (see http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.fitnesse).
|
41
|
+
|
42
|
+
## [0.5.1][0.5.1] - 2014-04-07
|
43
|
+
|
44
|
+
### Added
|
45
|
+
|
46
|
+
* Support the `store` SCM (see http://ci.openstack.org/jenkins-job-builder/scm.html#scm.store).
|
47
|
+
|
48
|
+
## [0.5.0][0.5.0] - 2014-03-28
|
49
|
+
|
50
|
+
### Added
|
51
|
+
|
52
|
+
* Initial public release.
|
53
|
+
|
54
|
+
[unreleased]: https://github.com/randycoulman/jujube/compare/v0.9.0...HEAD
|
55
|
+
[0.9.0]: https://github.com/randycoulman/jujube/compare/v0.8.0...v0.9.0
|
56
|
+
[0.8.0]: https://github.com/randycoulman/jujube/compare/v0.7.0...v0.8.0
|
57
|
+
[0.7.0]: https://github.com/randycoulman/jujube/compare/v0.6.0...v0.7.0
|
58
|
+
[0.6.0]: https://github.com/randycoulman/jujube/compare/v0.5.2...v0.6.0
|
59
|
+
[0.5.2]: https://github.com/randycoulman/jujube/compare/v0.5.1...v0.5.2
|
60
|
+
[0.5.1]: https://github.com/randycoulman/jujube/compare/v0.5.0...v0.5.1
|
61
|
+
[0.5.0]: https://github.com/randycoulman/jujube/compare/master@%7B2014-03-11%7D...v0.5.0
|
@@ -5,6 +5,15 @@ module Jujube
|
|
5
5
|
module Properties
|
6
6
|
extend Macros
|
7
7
|
|
8
|
+
# @!method priority_sorter(options = {})
|
9
|
+
# Specify a `priority-sorter` property for a job.
|
10
|
+
#
|
11
|
+
# See {http://ci.openstack.org/jenkins-job-builder/properties.html#properties.priority-sorter}.
|
12
|
+
#
|
13
|
+
# @param options [Hash] The configuration options for the component.
|
14
|
+
# @return [Hash] The specification for the component.
|
15
|
+
standard_component :priority_sorter
|
16
|
+
|
8
17
|
# @!method throttle(options = {})
|
9
18
|
# Specify a `throttle` property for a job.
|
10
19
|
#
|
@@ -35,8 +35,7 @@ module Jujube
|
|
35
35
|
# @!method fitnesse(options = {})
|
36
36
|
# Specify a `fitnesse` publisher for a job.
|
37
37
|
#
|
38
|
-
#
|
39
|
-
# See {https://review.openstack.org/87711} for the patch.
|
38
|
+
# See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.fitnesse}.
|
40
39
|
#
|
41
40
|
# @param options [Hash] The configuration options for the component.
|
42
41
|
# @return [Hash] The specification for the component.
|
@@ -16,8 +16,7 @@ module Jujube
|
|
16
16
|
|
17
17
|
# Specify a `store` SCM for a job.
|
18
18
|
#
|
19
|
-
#
|
20
|
-
# See {https://review.openstack.org/85729} for the patch.
|
19
|
+
# See {http://ci.openstack.org/jenkins-job-builder/scm.html#scm.store}.
|
21
20
|
#
|
22
21
|
# `store` can watch multiple pundles (packages or bundles) The specification for each
|
23
22
|
# pundle is added in a nested configuration block using the {#package} or {#bundle} method.
|
data/lib/jujube/version.rb
CHANGED
@@ -7,4 +7,9 @@ class PropertiesTest < Minitest::Test
|
|
7
7
|
expected = {"throttle" => {"max-total" => 42, "option" => "category", "categories" => %w{cat1 cat2}}}
|
8
8
|
assert_equal(expected, throttle(max_total: 42, option: "category", categories: %w{cat1 cat2}))
|
9
9
|
end
|
10
|
+
|
11
|
+
def test_priority_sorter
|
12
|
+
expected = {"priority-sorter" => {"priority" => 42}}
|
13
|
+
assert_equal(expected, priority_sorter(priority: 42))
|
14
|
+
end
|
10
15
|
end
|
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.10.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: 2015-04-
|
11
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- ".gitignore"
|
94
94
|
- ".travis.yml"
|
95
95
|
- ".yardopts"
|
96
|
+
- CHANGELOG.md
|
96
97
|
- Gemfile
|
97
98
|
- LICENSE
|
98
99
|
- README.md
|