daddy 0.11.3 → 0.12.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/itamae/environments/base/default.rb +6 -2
- data/itamae/environments/nodejs/default.rb +11 -11
- data/itamae/environments/ruby/default.rb +18 -10
- data/itamae/environments/ruby/ruby-3.4.8.tar.gz_sha256sum.txt +1 -0
- data/lib/daddy/rails/railtie.rb +0 -2
- data/lib/daddy/version.rb +2 -2
- metadata +3 -3
- data/itamae/environments/ruby/ruby-3.4.7.tar.gz_sha256sum.txt +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd77f32d1f89b47fc19d5c35efb4711c1e72fcce4e2dfa2984332278f86f6636
|
|
4
|
+
data.tar.gz: cecd83ad21bb9f8847b6e98f0aca8ffb6f333bad65d60ad9dbc1b13da174a991
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c14ae8d1ad86dc4a2c3bbaec528bd81b5d18183db95a155cf67dc699b5a7f1b64d12f00b963d659eab24085db7743a3a8bc3bbdcdb313b0860871b03dc9c82ce
|
|
7
|
+
data.tar.gz: 34c1733777d3560ae565002a31afa4af551b0ab733b183372e09bfc1171f16e33efddb9f2d7b28e1b99f75808c45de7e87d2adf91162137c141310985fcdb07d
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
gcc
|
|
6
6
|
gcc-c++
|
|
7
7
|
git
|
|
8
|
+
glibc-langpack-ja
|
|
8
9
|
make
|
|
9
10
|
libcurl-devel
|
|
10
11
|
libffi-devel
|
|
@@ -12,11 +13,15 @@
|
|
|
12
13
|
libxml2-devel
|
|
13
14
|
libxslt-devel
|
|
14
15
|
openssl-devel
|
|
16
|
+
patch
|
|
15
17
|
readline-devel
|
|
16
18
|
shared-mime-info
|
|
17
19
|
sudo
|
|
20
|
+
tar
|
|
21
|
+
unzip
|
|
18
22
|
wget
|
|
19
23
|
which
|
|
24
|
+
zip
|
|
20
25
|
zlib-devel
|
|
21
26
|
}.each do |name|
|
|
22
27
|
package name do
|
|
@@ -33,7 +38,6 @@ end
|
|
|
33
38
|
end
|
|
34
39
|
end
|
|
35
40
|
|
|
36
|
-
execute 'dnf clean all' do
|
|
41
|
+
execute 'dnf clean all --enablerepo=powertools' do
|
|
37
42
|
user 'root'
|
|
38
|
-
options '--enablerepo=powertools'
|
|
39
43
|
end
|
|
@@ -15,16 +15,16 @@ execute 'place /etc/yum.repos.d/nodesource-nodejs.repo' do
|
|
|
15
15
|
not_if "diff #{::File.join(::File.dirname(__FILE__), 'files/etc/yum.repos.d/nodesource-nodejs.repo')} /etc/yum.repos.d/nodesource-nodejs.repo"
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
package 'nodejs' do
|
|
19
19
|
user 'root'
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
version '22.21.1-1nodesource'
|
|
21
|
+
options '--enablerepo=nodesource-nodejs'
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
execute 'dnf clean all --enablerepo=nodesource-nodejs' do
|
|
25
25
|
user 'root'
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
action :nothing
|
|
27
|
+
subscribes :run, "package[nodejs]", :immediately
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
execute 'place /etc/yum.repos.d/yarn.repo' do
|
|
@@ -37,13 +37,13 @@ execute 'place /etc/yum.repos.d/yarn.repo' do
|
|
|
37
37
|
not_if "diff #{::File.join(::File.dirname(__FILE__), 'files/etc/yum.repos.d/yarn.repo')} /etc/yum.repos.d/yarn.repo"
|
|
38
38
|
end
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
package 'yarn' do
|
|
41
41
|
user 'root'
|
|
42
|
-
|
|
43
|
-
subscribes :run, "execute[place /etc/yum.repos.d/yarn.repo]", :immediately
|
|
42
|
+
options '--enablerepo=yarn'
|
|
44
43
|
end
|
|
45
44
|
|
|
46
|
-
|
|
45
|
+
execute 'dnf clean all --enablerepo=yarn' do
|
|
47
46
|
user 'root'
|
|
48
|
-
|
|
47
|
+
action :nothing
|
|
48
|
+
subscribes :run, "package[yarn]", :immediately
|
|
49
49
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
version = ENV['RUBY_VERSION'] || '3.4.
|
|
1
|
+
version = ENV['RUBY_VERSION'] || '3.4.8'
|
|
2
2
|
short_version = version.split('.')[0..1].join('.')
|
|
3
3
|
|
|
4
4
|
execute "download ruby-#{version}" do
|
|
@@ -15,7 +15,7 @@ execute "install ruby-#{version}" do
|
|
|
15
15
|
cwd '/var/daddy/tmp'
|
|
16
16
|
command <<-EOF
|
|
17
17
|
set -eu
|
|
18
|
-
rm -Rf ruby-#{version}/
|
|
18
|
+
sudo rm -Rf ruby-#{version}/
|
|
19
19
|
tar zxf ruby-#{version}.tar.gz
|
|
20
20
|
|
|
21
21
|
# avoid override confirmation when a different version of ruby was installed before
|
|
@@ -33,9 +33,23 @@ execute "install ruby-#{version}" do
|
|
|
33
33
|
not_if "ruby -v | egrep \"ruby #{version}(p[0-9]+)? \""
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
bundler_versions = case short_version
|
|
37
|
+
when '2.7'
|
|
38
|
+
['2.3.26', '2.4.22']
|
|
39
|
+
else
|
|
40
|
+
'2.7.2'
|
|
41
|
+
end
|
|
42
|
+
ohai_version = case short_version
|
|
43
|
+
when '2.7'
|
|
44
|
+
'19.0.3'
|
|
45
|
+
else
|
|
46
|
+
'19.1.16'
|
|
47
|
+
end
|
|
48
|
+
|
|
36
49
|
{
|
|
37
|
-
'bundler' =>
|
|
38
|
-
'itamae' => '1.14.
|
|
50
|
+
'bundler' => bundler_versions,
|
|
51
|
+
'itamae' => '1.14.2',
|
|
52
|
+
'ohai' => ohai_version
|
|
39
53
|
}.each do |name, versions|
|
|
40
54
|
versions = Array(versions)
|
|
41
55
|
versions.each do |version|
|
|
@@ -47,12 +61,6 @@ end
|
|
|
47
61
|
end
|
|
48
62
|
end
|
|
49
63
|
|
|
50
|
-
execute 'gem update --system 3.7.2 -N' do
|
|
51
|
-
user 'root'
|
|
52
|
-
action :nothing
|
|
53
|
-
subscribes :run, "gem_package[bundler]", :immediately
|
|
54
|
-
end
|
|
55
|
-
|
|
56
64
|
execute "bundle config set --global path ~/.gem/ruby/#{short_version}.0" do
|
|
57
65
|
user ENV['USER']
|
|
58
66
|
not_if "bundle config get path | grep -qE '\\.gem/ruby/#{short_version}.0'"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
53c4ddad41fbb6189f1f5ee0db57a51d54bd1f87f8755b3d68604156a35b045b ruby-3.4.8.tar.gz
|
data/lib/daddy/rails/railtie.rb
CHANGED
|
@@ -18,14 +18,12 @@ module Daddy
|
|
|
18
18
|
|
|
19
19
|
initializer 'carrierwave' do
|
|
20
20
|
if defined?(CarrierWave)
|
|
21
|
-
puts '[daddy] loading carrierwave configuration'
|
|
22
21
|
require 'daddy/carrierwave'
|
|
23
22
|
end
|
|
24
23
|
end
|
|
25
24
|
|
|
26
25
|
initializer 'sidekiq' do
|
|
27
26
|
if defined?(Sidekiq)
|
|
28
|
-
puts '[daddy] loading sidekiq configuration'
|
|
29
27
|
require 'daddy/sidekiq'
|
|
30
28
|
end
|
|
31
29
|
end
|
data/lib/daddy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: daddy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ichy
|
|
@@ -293,7 +293,7 @@ files:
|
|
|
293
293
|
- itamae/environments/ruby/default.rb
|
|
294
294
|
- itamae/environments/ruby/ruby-2.7.8.tar.gz_sha256sum.txt
|
|
295
295
|
- itamae/environments/ruby/ruby-3.2.9.tar.gz_sha256sum.txt
|
|
296
|
-
- itamae/environments/ruby/ruby-3.4.
|
|
296
|
+
- itamae/environments/ruby/ruby-3.4.8.tar.gz_sha256sum.txt
|
|
297
297
|
- itamae/locale/en.yml
|
|
298
298
|
- itamae/locale/ja.yml
|
|
299
299
|
- itamae/templates/etc/god/master.conf.erb
|
|
@@ -416,7 +416,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
416
416
|
version: '3.0'
|
|
417
417
|
- - "<"
|
|
418
418
|
- !ruby/object:Gem::Version
|
|
419
|
-
version: '3.
|
|
419
|
+
version: '3.6'
|
|
420
420
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
421
421
|
requirements:
|
|
422
422
|
- - ">="
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
23815a6d095696f7919090fdc3e2f9459b2c83d57224b2e446ce1f5f7333ef36 ruby-3.4.7.tar.gz
|