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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b6254ceba9c1a93a800e45bc6b83b070db296a7
4
- data.tar.gz: 24a14d99e0fe10cd3b62f53bb3702218df993e57
3
+ metadata.gz: c0c46780f57f3cb3d21ba6eeb43163a659734f7d
4
+ data.tar.gz: b1d10f7bb3471b78af05ca63cd702a7235182efd
5
5
  SHA512:
6
- metadata.gz: 734d1a4fe318ef9d31e086aaafec1a89c0fa08e6793bcb6985a6f4cda9c935e3322df364253a1ce40b760884d9ee1ca89e6a2f735a0da3971a8811435da43e2a
7
- data.tar.gz: 34e504da721e3ed19e3d087be043ad0ec20b0067c941880d667d34e4dc318225eacce1ad5512ed5e9f28b5f989b90f9b176e3751be7c279833f99ed6b4984998
6
+ metadata.gz: c20f85048cf6f0bdfc8bb52945a08967752e9ac844e40ef042cbaf458207db9a71733f29ca0ffd31f200b2eaa7c14b031897c65c96d5f62dfe49825a119bdc63
7
+ data.tar.gz: 6b4019db585ebf7304fd26febbf8b6b47971cb62c420c6960eac85781f3756a5ccdfcab25e869758093f1840d8ae6b54bea4c57b8dd7b26278969a7355893568
@@ -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
@@ -12,6 +12,7 @@ job "endToEnd" do |j|
12
12
  max_total: 4,
13
13
  option: "category",
14
14
  categories: %w{CAT1 CAT2})
15
+ j.properties << priority_sorter(priority: 150)
15
16
 
16
17
  j.scm << git(url: "URL", branches: %w{master dev}, wipe_workspace: false)
17
18
  j.scm << store(script: "SCRIPT",
@@ -23,6 +23,8 @@
23
23
  categories:
24
24
  - CAT1
25
25
  - CAT2
26
+ - priority-sorter:
27
+ priority: 150
26
28
  scm:
27
29
  - git:
28
30
  url: URL
@@ -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
- # This publisher requires support in jenkins-job-builder that has not yet been merged.
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
- # This SCM requires support in jenkins-job-builder that has not yet been merged.
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.
@@ -1,3 +1,3 @@
1
1
  module Jujube
2
- VERSION = "0.9.0"
2
+ VERSION = "0.10.0"
3
3
  end
@@ -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.9.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-09 00:00:00.000000000 Z
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