itamae-plugin-recipe-anyenv 0.3.3 → 0.3.4

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
  SHA1:
3
- metadata.gz: 598a114842ee39b3df32c7021cfb8dbb06deec33
4
- data.tar.gz: ea2b2c7331e04ca75e08a4d6ffe4698eda680936
3
+ metadata.gz: 1587f042150113f09c3801c0c4f849b75e089533
4
+ data.tar.gz: 07f57087b4917fea9f7f048cd893925b24673b8a
5
5
  SHA512:
6
- metadata.gz: b15ffa580cce177ab7aa69fe8703154e64b27cb972df44c9d05384208e8aafb00fe68ae71219fed2185cc85e2739cf3cbcd6ab4468a35e6f987aa5f1deab24a8
7
- data.tar.gz: 197750a400e70c0876edf4fb6d50bcd55b2d402b52d981aa3499ff40da5a84d3d99f6f1904efc3ff8ab719902f13e76b8630539018f1175d5e09cf4dfdd9b01a
6
+ metadata.gz: 69b0dfc456fe5cb771df9ac6c278a56426684e8464492d38dacc1511c21d92f30501177295a803da22d5dc0f4ce6da6f11eccf1701464e0dc6162fc3c427311e
7
+ data.tar.gz: cc5929ae7937c6e222e1fc05f7dbc3c8e21e61525c4b2e334120cc6952baeb4c1e1262a980e73cb9b2ab6d55c5a0811f296937c3d126baf6aa4c08b7d060fc7c
@@ -57,6 +57,8 @@ def clone_repository(install_path, repo_path)
57
57
  repository repo_path if repo_path
58
58
  not_if "test -d #{install_path}"
59
59
  end
60
+
61
+ directory "#{@anyenv_root_path}/envs"
60
62
  end
61
63
 
62
64
  def clone_anyenv
@@ -87,7 +89,7 @@ end
87
89
  def install_env(envname)
88
90
  execute "install #{envname}" do
89
91
  user @username if @username
90
- command "#{@init_cmd} yes | anyenv install #{envname}"
92
+ command "#{@init_cmd} yes | anyenv install #{envname}; #{@init_cmd}"
91
93
  not_if "#{@init_cmd} type #{envname}"
92
94
  end
93
95
  end
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Anyenv
5
- VERSION = '0.3.3'.freeze
5
+ VERSION = '0.3.4'.freeze
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-anyenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Surume