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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f935ded0b0ef1a0144458f529f537f010d7a375a4a1a352dd326d728a88582a4
4
- data.tar.gz: f81f9e9f1108f2804ff47bacd371aeea5a0e41db865c49da0481c447ba7cbc79
3
+ metadata.gz: adf01b5056104636f8f6d99219e801b1de4e3696435282ca06873562d4840059
4
+ data.tar.gz: 3327ea2566c85ed611d8799d841c7e44c8c676384c192a8fd6d4f0a9fb1bd309
5
5
  SHA512:
6
- metadata.gz: ee41565f47a17d243fe35b5b25746930e60933b210e023be775b2d30ce4c4d4dfc171179a3a446d6bb7447b81983f9e79c091a69bb7d8ef36ddcee684aeb3828
7
- data.tar.gz: 4586453ac48aed8812d73f4e9f3b18e99d57c11bf438fb3b1af8ed185a3c2d8252131dc081567b700ad83b5d00189d171064b534c65802cd3088760e2bc92a3d
6
+ metadata.gz: d516fa92886925b18161ed6178b07f457c1c950e74046576a3b2af3e390f48de655202629675491c81f4885e43440849dad78f674ecd73d28efb4e68d3da9c9c
7
+ data.tar.gz: 401e9a536d68554f0c0d67d05f3c6c8cf589333d9ea3c2a5b37f76ec5e68762f7ece898067d8aa62879ee276b95c389e61e04d4639ea42c8d3d655fece663cb6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.9.2
2
+ ### Fixed
3
+ - Fixed the condition to install rust on CentOS
4
+
1
5
  ## v0.9.1
2
6
  ### Added
3
7
  - Added gmp and rustc as dependencies
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Itamae::Plugin::Recipe::Rbenv [![Build Status](https://travis-ci.org/k0kubun/itamae-plugin-recipe-rbenv.svg?branch=master)](https://travis-ci.org/k0kubun/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'
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Rbenv
5
- VERSION = "0.9.1"
5
+ VERSION = "0.9.2"
6
6
  end
7
7
  end
8
8
  end
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.1
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-03 00:00:00.000000000 Z
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"