itamae-plugin-recipe-anyenv 0.3.9 → 0.3.10

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: d3e4e71747b0b41b0437fca1b031169013ba09ab
4
- data.tar.gz: 641b51fdf4b7f2c71f1e7de5fcc0a336e27ffe09
3
+ metadata.gz: 3305642903c891aa4b72d0cdb5af7c9b02994a1a
4
+ data.tar.gz: b4c973d6d5d1711cbace21d24bcfe462914836fe
5
5
  SHA512:
6
- metadata.gz: a80c0db00ad9e2ecb2dd43f1f9e861332e22e576400b03c03511982f49a3b82a7a7976e4ddf296fb0537d1a3826b06659d076c97dcb8dddfbb2794f7890a1e65
7
- data.tar.gz: f66383a6f9ddd70bd963d172dc1767eb14e35ba4b59c0364c0e90a0efa8b917c52d8331668ffa242b95b38d149f055dd8f154065ede10ec30618297c17c048e9
6
+ metadata.gz: e9185a85dd7ceb97845fb6b2b636abfcb8f5930d23a463eb1a84acff83ba80c756d40d24656d208b0570fa77ff444b954a650765493e3ea035c9d7e3fd6cae0b
7
+ data.tar.gz: 4cb621378d082a4e112001fbec58e409633e7fe4e6ee6d529b08a9eba30b638ab3e10e947ff464a5c3f89c69517da4c1a3a8bcd2c77d05e3f44b8cd3f206846e
@@ -50,7 +50,7 @@ def anyenv_init(root_path)
50
50
  <<-"EOS".gsub("\n", ' ')
51
51
  export ANYENV_ROOT=#{root_path};
52
52
  export PATH=#{root_path}/bin:${PATH};
53
- eval $(anyenv init -);
53
+ eval "$(anyenv init -)";
54
54
  EOS
55
55
  end
56
56
 
@@ -90,6 +90,7 @@ def install_envs(attributes)
90
90
  end
91
91
 
92
92
  def install_env(envname)
93
+ execute 'eval "$(anyenv init -)"'
93
94
  execute "install #{envname}" do
94
95
  user @username if @username
95
96
  command "#{@init_cmd} yes | anyenv install #{envname};"
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Anyenv
5
- VERSION = '0.3.9'.freeze
5
+ VERSION = '0.3.10'.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.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Surume