itamae 1.11.1 → 1.11.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: 2213250f28fa9b34d4c8d149add25c33f9955b6dd30dfab4fc7ddd9f4e438e61
4
- data.tar.gz: 12b67ddfa15210dfb1ea8d35b5aa02db9e4985f4e141c66d7102628b09b5f914
3
+ metadata.gz: 5515825a305cf166326ba3e4faa87184dc6e5b403a8b343e33728d54312c2285
4
+ data.tar.gz: 66954374e94ef25f88962fc1e2e412c625b316f07370fa58c1bfcf285acee948
5
5
  SHA512:
6
- metadata.gz: 4a83817032655a372418a0c2aeef5561e2b669c075b16a0b56f3522d94883396cc535b44cad5d3e2b7c2b8c8c4fdbf400eb95a9efe986b97effaa587cf8d5564
7
- data.tar.gz: 96380efa8166f7629035be66884c3526c4c521eaababb5303bf0c520bbb914ebcb8de2e2492bd0ffbc1681d8285d62e011853476565b409486f040422101007a
6
+ metadata.gz: c68ce846c4c87b2d6e0f5b6e1542f78d3e4daa1c932854610904ecb5fa146e6d5878c4805c3c82af419fa018a6c9276e021cb821e9b4e6b2058bee678cd1c3ac
7
+ data.tar.gz: 2aef78fe4642fa717e6b5752b74ea35bb040208d4516cfa8b24fe4541255700c966a9e061f0b3d8100ad2b836a4fc84b313756a28d63037cba1734104fd11b7b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
- [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.1...master)
2
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.2...master)
3
+
4
+ ## v1.11.2
5
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.1...v1.11.2)
6
+
7
+ Bugfixes
8
+
9
+ - [Support thor-1.1.0 (by @chaaaaarlotte)](https://github.com/itamae-kitchen/itamae/pull/329)
3
10
 
4
11
  ## v1.11.1
5
12
  [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.0...v1.11.1)
data/lib/itamae/cli.rb CHANGED
@@ -27,6 +27,14 @@ module Itamae
27
27
  option :config, type: :string, aliases: ['-c']
28
28
  end
29
29
 
30
+ def self.options
31
+ @itamae_options ||= super.dup.tap do |options|
32
+ if config = options[:config]
33
+ options.merge!(YAML.load_file(config))
34
+ end
35
+ end
36
+ end
37
+
30
38
  desc "local RECIPE [RECIPE...]", "Run Itamae locally"
31
39
  define_exec_options
32
40
  def local(*recipe_files)
@@ -117,14 +125,6 @@ module Itamae
117
125
  end
118
126
 
119
127
  private
120
- def options
121
- @itamae_options ||= super.dup.tap do |options|
122
- if config = options[:config]
123
- options.merge!(YAML.load_file(config))
124
- end
125
- end
126
- end
127
-
128
128
  def validate_generate_target!(command, target)
129
129
  unless GENERATE_TARGETS.include?(target)
130
130
  msg = %Q!ERROR: "itamae #{command}" was called with "#{target}" !
@@ -1,3 +1,3 @@
1
1
  module Itamae
2
- VERSION = "1.11.1"
2
+ VERSION = "1.11.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-12-29 00:00:00.000000000 Z
13
+ date: 2021-02-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
@@ -329,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
329
  - !ruby/object:Gem::Version
330
330
  version: '0'
331
331
  requirements: []
332
- rubygems_version: 3.1.4
332
+ rubygems_version: 3.2.3
333
333
  signing_key:
334
334
  specification_version: 4
335
335
  summary: Simple Configuration Management Tool