itamae 1.11.2 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5515825a305cf166326ba3e4faa87184dc6e5b403a8b343e33728d54312c2285
4
- data.tar.gz: 66954374e94ef25f88962fc1e2e412c625b316f07370fa58c1bfcf285acee948
3
+ metadata.gz: e0be9dd39ba8a2f1e7bf014cab6c6de61ac8c310cfa2e9e95176f586148322a0
4
+ data.tar.gz: d36a91d8b5c86c640a21e8759f12decf02cfb2c1ae96babf3121c35a69e6390d
5
5
  SHA512:
6
- metadata.gz: c68ce846c4c87b2d6e0f5b6e1542f78d3e4daa1c932854610904ecb5fa146e6d5878c4805c3c82af419fa018a6c9276e021cb821e9b4e6b2058bee678cd1c3ac
7
- data.tar.gz: 2aef78fe4642fa717e6b5752b74ea35bb040208d4516cfa8b24fe4541255700c966a9e061f0b3d8100ad2b836a4fc84b313756a28d63037cba1734104fd11b7b
6
+ metadata.gz: 682cfc3e44a44b40b72403057613083f14445e62a8e472d6deddcd91bfa8a981a31de9ae1622b75986db1c7af6de03524f6b512036ae5e235cb92108364b37f5
7
+ data.tar.gz: 55a70e71f38241a5809e0e857553475675102a3bc17deda94982ff25175f5537ac48e1902629705e79f0acd5642f7d54ecdb6fa727338f90de6cd5abf1ea4e8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Unreleased
2
- [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.2...master)
2
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.0...master)
3
+
4
+ ## v1.12.0
5
+ [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.2...v1.12.0)
6
+
7
+ Improvements
8
+
9
+ - [Add `--tmp-dir` to cli options](https://github.com/itamae-kitchen/itamae/pull/331)
3
10
 
4
11
  ## v1.11.2
5
12
  [full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.11.1...v1.11.2)
data/lib/itamae/cli.rb CHANGED
@@ -25,6 +25,7 @@ module Itamae
25
25
  option :log_level, type: :string, aliases: ['-l'], default: 'info'
26
26
  option :color, type: :boolean, default: true
27
27
  option :config, type: :string, aliases: ['-c']
28
+ option :tmp_dir, type: :string, aliases: ['-t'], default: "/tmp/itamae_tmp"
28
29
  end
29
30
 
30
31
  def self.options
data/lib/itamae/runner.rb CHANGED
@@ -30,7 +30,7 @@ module Itamae
30
30
  prepare_handler
31
31
 
32
32
  @node = create_node
33
- @tmpdir = "/tmp/itamae_tmp"
33
+ @tmpdir = options[:tmp_dir]
34
34
  @children = RecipeChildren.new
35
35
  @diff = false
36
36
 
@@ -1,3 +1,3 @@
1
1
  module Itamae
2
- VERSION = "1.11.2"
2
+ VERSION = "1.12.0"
3
3
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.2
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  - Yusuke Nakamura
9
9
  - sue445
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-02-04 00:00:00.000000000 Z
13
+ date: 2021-02-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thor
@@ -200,7 +200,7 @@ dependencies:
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
202
  version: '0'
203
- description:
203
+ description:
204
204
  email:
205
205
  - ryota.arai@gmail.com
206
206
  - yusuke1994525@gmail.com
@@ -314,7 +314,7 @@ metadata:
314
314
  homepage_uri: https://itamae.kitchen/
315
315
  source_code_uri: https://github.com/itamae-kitchen/itamae
316
316
  changelog_uri: https://github.com/itamae-kitchen/itamae/blob/master/CHANGELOG.md
317
- post_install_message:
317
+ post_install_message:
318
318
  rdoc_options: []
319
319
  require_paths:
320
320
  - lib
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  version: '0'
331
331
  requirements: []
332
332
  rubygems_version: 3.2.3
333
- signing_key:
333
+ signing_key:
334
334
  specification_version: 4
335
335
  summary: Simple Configuration Management Tool
336
336
  test_files: