itamae-plugin-recipe-anyenv 0.3.8 → 0.3.9

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: 71087b2f8def896ee5cc40b60cf5c3ced81a9802
4
- data.tar.gz: 83d0c5f387a8a37d1c5a5e0fd866a197ed5bea91
3
+ metadata.gz: d3e4e71747b0b41b0437fca1b031169013ba09ab
4
+ data.tar.gz: 641b51fdf4b7f2c71f1e7de5fcc0a336e27ffe09
5
5
  SHA512:
6
- metadata.gz: 099c9188b55f5b53969d487bc1636959d948efedaf57f2f5079446741481db7f0a1759da83b52e17bb26ca06b5a4dd15effe805058a8aee17af25858cc1f3813
7
- data.tar.gz: 75adc15005943a6516ada39c2c284d538ffe31b57d2d5c60efe5f667f24a78a7a531544c3f46b8ce74e9727dbed8b18b2036546f1df06e9bcd8031c17f697228
6
+ metadata.gz: a80c0db00ad9e2ecb2dd43f1f9e861332e22e576400b03c03511982f49a3b82a7a7976e4ddf296fb0537d1a3826b06659d076c97dcb8dddfbb2794f7890a1e65
7
+ data.tar.gz: f66383a6f9ddd70bd963d172dc1767eb14e35ba4b59c0364c0e90a0efa8b917c52d8331668ffa242b95b38d149f055dd8f154065ede10ec30618297c17c048e9
@@ -47,9 +47,11 @@ def anyenv_user_root(username)
47
47
  end
48
48
 
49
49
  def anyenv_init(root_path)
50
- init_str = %(export ANYENV_ROOT=#{root_path}; )
51
- init_str << %(export PATH=#{root_path}/bin:${PATH}; )
52
- init_str << %(anyenv init - | eval; )
50
+ <<-"EOS".gsub("\n", ' ')
51
+ export ANYENV_ROOT=#{root_path};
52
+ export PATH=#{root_path}/bin:${PATH};
53
+ eval $(anyenv init -);
54
+ EOS
53
55
  end
54
56
 
55
57
  def clone_repository(install_path, repo_path)
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Anyenv
5
- VERSION = '0.3.8'.freeze
5
+ VERSION = '0.3.9'.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.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Surume