itamae-plugin-recipe-rbenv 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/itamae/plugin/recipe/rbenv/dependency.rb +3 -1
- data/lib/itamae/plugin/recipe/rbenv/version.rb +1 -1
- metadata +2 -3
- data/.travis.yml +0 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adf01b5056104636f8f6d99219e801b1de4e3696435282ca06873562d4840059
|
4
|
+
data.tar.gz: 3327ea2566c85ed611d8799d841c7e44c8c676384c192a8fd6d4f0a9fb1bd309
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d516fa92886925b18161ed6178b07f457c1c950e74046576a3b2af3e390f48de655202629675491c81f4885e43440849dad78f674ecd73d28efb4e68d3da9c9c
|
7
|
+
data.tar.gz: 401e9a536d68554f0c0d67d05f3c6c8cf589333d9ea3c2a5b37f76ec5e68762f7ece898067d8aa62879ee276b95c389e61e04d4639ea42c8d3d655fece663cb6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Itamae::Plugin::Recipe::Rbenv
|
1
|
+
# Itamae::Plugin::Recipe::Rbenv
|
2
2
|
|
3
3
|
[Itamae](https://github.com/ryotarai/itamae) plugin to install ruby with rbenv
|
4
4
|
|
@@ -33,11 +33,13 @@ when 'redhat', 'fedora', 'amazon' # redhat includes CentOS
|
|
33
33
|
package 'libffi-devel'
|
34
34
|
if node[:patform] == 'redhat' && node[:platform_version].to_f < 8.0
|
35
35
|
package 'libyaml-devel'
|
36
|
+
else
|
37
|
+
# rust package only provide after rhel 8
|
38
|
+
package 'rust' # for yjit
|
36
39
|
end
|
37
40
|
package 'ncurses-devel'
|
38
41
|
package 'openssl-devel'
|
39
42
|
package 'readline-devel'
|
40
|
-
package 'rust' # for yjit
|
41
43
|
package 'zlib-devel'
|
42
44
|
when 'osx', 'darwin'
|
43
45
|
package 'libffi'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-rbenv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takashi Kokubun
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -60,7 +60,6 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
|
-
- ".travis.yml"
|
64
63
|
- CHANGELOG.md
|
65
64
|
- Gemfile
|
66
65
|
- LICENSE.txt
|
data/.travis.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
language: c
|
2
|
-
services:
|
3
|
-
- docker
|
4
|
-
env:
|
5
|
-
- mitamae_version="1.7.1"
|
6
|
-
script:
|
7
|
-
# download mitamae
|
8
|
-
- curl -o "/tmp/mitamae-x86_64-linux.tar.gz" -fL "https://github.com/k0kubun/mitamae/releases/download/v${mitamae_version}/mitamae-x86_64-linux.tar.gz"
|
9
|
-
- tar xvzf "/tmp/mitamae-x86_64-linux.tar.gz" -C /tmp
|
10
|
-
- install -m 0555 /tmp/mitamae-x86_64-linux /tmp/mitamae
|
11
|
-
|
12
|
-
# prepare node.yml for testing
|
13
|
-
- |
|
14
|
-
cat <<YAML > /tmp/node.yml
|
15
|
-
rbenv:
|
16
|
-
global:
|
17
|
-
2.6.1
|
18
|
-
versions:
|
19
|
-
- 2.6.1
|
20
|
-
plugins:
|
21
|
-
rbenv-each:
|
22
|
-
revision: master
|
23
|
-
rkh/rbenv-update:
|
24
|
-
revision: master
|
25
|
-
ruby-build:
|
26
|
-
revision: master
|
27
|
-
rbenv-default-gems:
|
28
|
-
default-gems:
|
29
|
-
- bundler
|
30
|
-
install: true
|
31
|
-
YAML
|
32
|
-
|
33
|
-
# prepare recipe for testing
|
34
|
-
- |
|
35
|
-
cat <<RUBY > /tmp/default.rb
|
36
|
-
execute 'apt-get update'
|
37
|
-
package 'curl'
|
38
|
-
|
39
|
-
include_recipe 'rbenv::system'
|
40
|
-
RUBY
|
41
|
-
|
42
|
-
# run mitamae with the plugin
|
43
|
-
- |
|
44
|
-
docker run -it -v "$(pwd):/plugins/itamae-plugin-recipe-rbenv" -v "/tmp:/travis" ubuntu:18.04 \
|
45
|
-
bash -c "cd / && /travis/mitamae local -y /travis/node.yml /travis/default.rb"
|