r10k 3.9.1 → 3.9.2

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: 8b0d4cbdba06f37b9a34638e82ba32b424db49e8047fabff52a9e661e5970e68
4
- data.tar.gz: f5ac5bd9da0ef5de33780482d89732cab382c01e3f636839224bb02b7e636b7f
3
+ metadata.gz: 1a9adbfc4e0f834dfdec6b9703325c61c617ec21d2261034aa3ba702ae9a0710
4
+ data.tar.gz: f46775713081247843c4189a13349458c7dd2691ce0e9cf99ae02b1e3d21bceb
5
5
  SHA512:
6
- metadata.gz: 64e28d25bc71114d3b598376c2c5ee32d13d8ed998d50106fa1814defc8f463fac5dff1c57e5bafa1ef8b57d9f48d1e90b6460ee24a69de65759ff9b9a8c4722
7
- data.tar.gz: 18caf3d9fff928ab9a3620daad375fabcb2a4ec5fbbf15f16a680d4ea4b724ce8cf3cb1cd2297d36bb81ca4384bfbbb85f1da71b219809a7f1ca1aa6aafb9f32
6
+ metadata.gz: 979de4fa8399e28f4fdf742b8ca5a23a4f116a96a7131ad93bcdb859db16aae59cea5e45fd8fa03c98229fd1f321f25334775f4a4efe27eb90464bac2b1d8b37
7
+ data.tar.gz: efefb07a7a85813a0b967110e05a28a8e4badf5987cd13fec95b37dafd8dc3fdf86081f1c6a023a667c0a8f5416e53cd50ef84bb5fd39a6f70085ff2737e5913
data/CHANGELOG.mkd CHANGED
@@ -4,6 +4,10 @@ CHANGELOG
4
4
  Unreleased
5
5
  ----------
6
6
 
7
+ 3.9.2
8
+
9
+ - Makes the third parameter to R10K::Actions optional, restoring backwards compatability broken in 3.9.1.
10
+
7
11
  3.9.1
8
12
  -----
9
13
 
@@ -13,11 +13,14 @@ module R10K
13
13
  # @param opts [Hash] A hash of options defined in #allowed_initialized_opts
14
14
  # and managed by the SetOps mixin within the Action::Base class.
15
15
  # Corresponds to the CLI flags and options.
16
- # @param argv [CRI::ArgumentList] A list-like collection of the remaining
17
- # arguments to the CLI invocation (after removing flags and options).
16
+ # @param argv [Enumerable] Typically CRI::ArgumentList or Array. A list-like
17
+ # collection of the remaining arguments to the CLI invocation (after
18
+ # removing flags and options).
18
19
  # @param settings [Hash] A hash of configuration loaded from the relevant
19
20
  # config (r10k.yaml).
20
- def initialize(opts, argv, settings)
21
+ #
22
+ # @note All arguments will be required in the next major version
23
+ def initialize(opts, argv, settings = {})
21
24
  @opts = opts
22
25
  @argv = argv
23
26
  @settings = settings
@@ -12,11 +12,14 @@ module R10K
12
12
  # @param opts [Hash] A hash of options defined in #allowed_initialized_opts
13
13
  # and managed by the SetOps mixin within the Action::Base class.
14
14
  # Corresponds to the CLI flags and options.
15
- # @param argv [CRI::ArgumentList] A list-like collection of the remaining
16
- # arguments to the CLI invocation (after removing flags and options).
15
+ # @param argv [Enumerable] Typically CRI::ArgumentList or Array. A list-like
16
+ # collection of the remaining arguments to the CLI invocation (after
17
+ # removing flags and options).
17
18
  # @param settings [Hash] A hash of configuration loaded from the relevant
18
19
  # config (r10k.yaml).
19
- def initialize(opts, argv, settings)
20
+ #
21
+ # @note All arguments will be required in the next major version
22
+ def initialize(opts, argv, settings = {})
20
23
  super
21
24
 
22
25
  @settings = @settings.merge({
@@ -22,11 +22,14 @@ module R10K
22
22
  # @param opts [Hash] A hash of options defined in #allowed_initialized_opts
23
23
  # and managed by the SetOps mixin within the Action::Base class.
24
24
  # Corresponds to the CLI flags and options.
25
- # @param argv [CRI::ArgumentList] A list-like collection of the remaining
26
- # arguments to the CLI invocation (after removing flags and options).
25
+ # @param argv [Enumerable] Typically CRI::ArgumentList or Array. A list-like
26
+ # collection of the remaining arguments to the CLI invocation (after
27
+ # removing flags and options).
27
28
  # @param settings [Hash] A hash of configuration loaded from the relevant
28
29
  # config (r10k.yaml).
29
- def initialize(opts, argv, settings)
30
+ #
31
+ # @note All arguments will be required in the next major version
32
+ def initialize(opts, argv, settings = {})
30
33
  super
31
34
 
32
35
  # instance variables below are set by the super class based on the
@@ -18,11 +18,14 @@ module R10K
18
18
  # @param opts [Hash] A hash of options defined in #allowed_initialized_opts
19
19
  # and managed by the SetOps mixin within the Action::Base class.
20
20
  # Corresponds to the CLI flags and options.
21
- # @param argv [CRI::ArgumentList] A list-like collection of the remaining
22
- # arguments to the CLI invocation (after removing flags and options).
21
+ # @param argv [Enumerable] Typically CRI::ArgumentList or Array. A list-like
22
+ # collection of the remaining arguments to the CLI invocation (after
23
+ # removing flags and options).
23
24
  # @param settings [Hash] A hash of configuration loaded from the relevant
24
25
  # config (r10k.yaml).
25
- def initialize(opts, argv, settings)
26
+ #
27
+ # @note All arguments will be required in the next major version
28
+ def initialize(opts, argv, settings = {})
26
29
  super
27
30
 
28
31
  requested_env = @opts[:environment] ? [@opts[:environment].gsub(/\W/, '_')] : []
data/lib/r10k/version.rb CHANGED
@@ -2,5 +2,5 @@ module R10K
2
2
  # When updating to a new major (X) or minor (Y) version, include `#major` or
3
3
  # `#minor` (respectively) in your commit message to trigger the appropriate
4
4
  # release. Otherwise, a new patch (Z) version will be released.
5
- VERSION = '3.9.1'
5
+ VERSION = '3.9.2'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.1
4
+ version: 3.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-16 00:00:00.000000000 Z
11
+ date: 2021-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2