itamae-plugin-recipe-rbenv 0.7.3 → 0.8.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -1
- data/lib/itamae/plugin/recipe/rbenv/dependency.rb +3 -11
- data/lib/itamae/plugin/recipe/rbenv/development_dependency.rb +23 -0
- data/lib/itamae/plugin/recipe/rbenv/install.rb +3 -0
- data/lib/itamae/plugin/recipe/rbenv/system.rb +1 -0
- data/lib/itamae/plugin/recipe/rbenv/user.rb +1 -0
- data/lib/itamae/plugin/recipe/rbenv/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543c22007bec0b82bb0c40e94195adf854a02d928024ca9860532863cbec10e5
|
4
|
+
data.tar.gz: a22ab97a2f75f59ee85ecc9daa7e094a54778a4aa205a87dd71e76541e6cc52a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a87784986664e30f49837354f3d42f25e4af66c48f93b2c582d92c99c8c993a229636bad6568ae164bc6ab565b6717cc2679f596e6d11856e8a3d4451969d84
|
7
|
+
data.tar.gz: 9461f419719eda69d1b1ba85ec60103817ec4744ed3a02da7924ef76b5925bc82f9286a0e8961e8575dd2b8cc14001f04e8cdda425bf477f298e34d488c7bb3d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -119,10 +119,13 @@ rbenv:
|
|
119
119
|
# See: https://github.com/rbenv/ruby-build#package-download-caching
|
120
120
|
cache: true
|
121
121
|
|
122
|
-
#
|
122
|
+
# Install build dependencies or not (default: true)
|
123
123
|
# Recommend false if `--no-sudo`
|
124
124
|
install_dependency: true
|
125
125
|
|
126
|
+
# Install dependencies to build *-dev or not (default: false)
|
127
|
+
install_development_dependency: false
|
128
|
+
|
126
129
|
# ruby-build is always installed. Specifying revision improves performance.
|
127
130
|
ruby-build:
|
128
131
|
revision: e455975286e44393b1b33037ae1ce40ef2742401
|
@@ -1,8 +1,7 @@
|
|
1
|
-
#
|
1
|
+
# Dependencies to install x.y.z (see also: development_dependency.rb)
|
2
|
+
# https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
|
2
3
|
case node[:platform]
|
3
4
|
when 'debian', 'ubuntu', 'mint'
|
4
|
-
package 'autoconf'
|
5
|
-
package 'bison'
|
6
5
|
package 'build-essential'
|
7
6
|
package 'libffi-dev'
|
8
7
|
package 'libgdbm-dev'
|
@@ -20,10 +19,7 @@ when 'debian', 'ubuntu', 'mint'
|
|
20
19
|
package 'libssl-dev'
|
21
20
|
package 'libyaml-dev'
|
22
21
|
package 'zlib1g-dev'
|
23
|
-
when 'redhat', 'fedora', 'amazon'
|
24
|
-
# redhat is including CentOS
|
25
|
-
package 'autoconf'
|
26
|
-
package 'bison'
|
22
|
+
when 'redhat', 'fedora', 'amazon' # redhat includes CentOS
|
27
23
|
package 'bzip2'
|
28
24
|
package 'gcc'
|
29
25
|
package 'make'
|
@@ -45,7 +41,6 @@ when 'arch'
|
|
45
41
|
package 'openssl'
|
46
42
|
package 'zlib'
|
47
43
|
when 'opensuse'
|
48
|
-
package 'automake'
|
49
44
|
package 'gcc'
|
50
45
|
package 'gdbm-devel'
|
51
46
|
package 'libffi-devel'
|
@@ -55,8 +50,6 @@ when 'opensuse'
|
|
55
50
|
package 'readline-devel'
|
56
51
|
package 'zlib-devel'
|
57
52
|
when 'openbsd'
|
58
|
-
package 'autoconf'
|
59
|
-
package 'bison'
|
60
53
|
package 'gdbm'
|
61
54
|
package 'libffi'
|
62
55
|
package 'libyaml'
|
@@ -67,4 +60,3 @@ else
|
|
67
60
|
end
|
68
61
|
|
69
62
|
package 'git'
|
70
|
-
package 'subversion'
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Dependencies to install x.y.z-dev (see also: dependency.rb)
|
2
|
+
# https://github.com/rbenv/ruby-build/wiki#suggested-build-environment
|
3
|
+
case node[:platform]
|
4
|
+
when 'debian', 'ubuntu', 'mint'
|
5
|
+
package 'autoconf'
|
6
|
+
package 'bison'
|
7
|
+
when 'redhat', 'fedora', 'amazon' # redhad includes CentOS
|
8
|
+
package 'autoconf'
|
9
|
+
package 'bison'
|
10
|
+
when 'osx', 'darwin'
|
11
|
+
# none
|
12
|
+
when 'arch'
|
13
|
+
# none
|
14
|
+
when 'opensuse'
|
15
|
+
package 'automake'
|
16
|
+
when 'openbsd'
|
17
|
+
package 'autoconf'
|
18
|
+
package 'bison'
|
19
|
+
else
|
20
|
+
raise NotImplementedError, "Platform '#{node[:platform]}' is not supported by rbenv::dependency yet"
|
21
|
+
end
|
22
|
+
|
23
|
+
package 'subversion'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-rbenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- lib/itamae-plugin-recipe-rbenv.rb
|
71
71
|
- lib/itamae/plugin/recipe/rbenv.rb
|
72
72
|
- lib/itamae/plugin/recipe/rbenv/dependency.rb
|
73
|
+
- lib/itamae/plugin/recipe/rbenv/development_dependency.rb
|
73
74
|
- lib/itamae/plugin/recipe/rbenv/install.rb
|
74
75
|
- lib/itamae/plugin/recipe/rbenv/system.rb
|
75
76
|
- lib/itamae/plugin/recipe/rbenv/user.rb
|