itamae-plugin-recipe-rbenv 0.9.6 → 0.9.7

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: 07b9113a3e29c57caf2f06888884b293c33f04f716be99ca03c6c8e1ce17d40b
4
- data.tar.gz: 7d6e82cd021000c006393b3b6b6ac4d548ac2e9c7bd39bc76a21e0635d8566c8
3
+ metadata.gz: cab3b3b075c196b6240e56fcb0d0bd14d86b46e7c5f4eacb89dbc76abe37f1ca
4
+ data.tar.gz: 6d20c104e201339f20825070747b49c7cee569541018cd3ace7f6530d843f4fd
5
5
  SHA512:
6
- metadata.gz: e90f7f1450d4e77c9e003486757f2d2238db0240f63c43d4e3c877afb15c3cd75960e02cd15885696b376a52d071ac2a4ff702956936a06c9779acb380fbd397
7
- data.tar.gz: 98e7891c884c7c5df0e2e1b24ab86cfdd8190a084ff767ed8851107b70519e3744851bca93218b941778eeee4ffe48d031b22237b7c2a2fc66f57df7f14eaa85
6
+ metadata.gz: 6ac0306af41945f4ee85fb0b922e4c62ed4b1d5b680b407abda9bda629b59d51d67d686f28d0f86a8780acb0366e389f711530bf88a58e6d69ccd9f945050370
7
+ data.tar.gz: 6063e6ed76c7345ef9335c4f2cec4db34dfb50a02351d2f3eab2a7693795e8be74d2e0011ad13ce24b13d5f10211842601da69075e6cfdec845331be34b86aae
@@ -37,13 +37,18 @@ when 'redhat', 'fedora', 'amazon' # redhat includes CentOS
37
37
  package 'libffi-devel'
38
38
  package 'libyaml-devel'
39
39
  # rust package only provide after rhel 8
40
- if node[:platform] == 'redhat' && node[:platform_version].to_f > 8.0
40
+ if node[:platform] == 'redhat' && node[:platform_version].to_f > 8.0 ||
41
+ node[:platform] == 'fedora' && node[:platform_version].to_i >= 28
41
42
  package 'rust' # for yjit
42
43
  end
43
44
  package 'ncurses-devel'
44
45
  package 'openssl-devel'
45
46
  package 'readline-devel'
46
- package 'zlib-devel'
47
+ if node[:platform] == 'fedora' && node[:platform_version].to_i >= 40
48
+ package 'zlib-ng-compat-devel'
49
+ else
50
+ package 'zlib-devel'
51
+ end
47
52
  when 'osx', 'darwin'
48
53
  package 'libffi'
49
54
  package 'libyaml'
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module Rbenv
5
- VERSION = "0.9.6"
5
+ VERSION = "0.9.7"
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.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takashi Kokubun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.6.0.dev
97
+ rubygems_version: 3.4.19
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Itamae plugin to install ruby with rbenv