daddy 0.9.3 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/itamae/cookbooks/nginx/config/templates/unicorn.conf.erb +0 -1
- data/itamae/environments/nodejs/default.rb +8 -0
- data/itamae/environments/nodejs/templates/etc/yum.repos.d/nodesource-el7.repo.erb +2 -2
- data/itamae/environments/ruby/default.rb +3 -3
- data/itamae/environments/ruby/ruby-2.7.3.tar.gz_sha256sum.txt +1 -0
- data/itamae/environments/ruby/ruby-2.7.5.tar.gz_sha256sum.txt +1 -0
- data/itamae/environments/ruby/ruby-2.7.6.tar.gz_sha256sum.txt +1 -0
- data/lib/daddy/test_help.rb +24 -10
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/test.rake +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 167bc38d9f0daeae0ba78d75dd89970b646041323dc9706fcc5207a888edbe09
|
4
|
+
data.tar.gz: 6e71aec03a86bce754ee11a74c0f9954887f6b089e91c710d8bc6bbc7d122a0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4cccc429c7f0dec552428ae9bfd76c2d2dc187af82c98e4820489e7f6af8ac7901a9fef201eb06c5e59c1679b418693f223d44b29153f707103000003dd5b6f
|
7
|
+
data.tar.gz: d055e32d91800b37d38435a1a5567369894bdaf3b68ade0ff1b0a3973694a50af8a856f9e98828aa2ef76dee8ef08ba17080dcc67fef3d5e20dea6924c7c40c5
|
@@ -5,6 +5,12 @@ template '/etc/yum.repos.d/nodesource-el7.repo' do
|
|
5
5
|
mode '644'
|
6
6
|
end
|
7
7
|
|
8
|
+
execute 'yum clean all --enablerepo=nodesource' do
|
9
|
+
user 'root'
|
10
|
+
action :nothing
|
11
|
+
subscribes :run, "template[/etc/yum.repos.d/nodesource-el7.repo]", :immediately
|
12
|
+
end
|
13
|
+
|
8
14
|
template '/etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL' do
|
9
15
|
user 'root'
|
10
16
|
owner 'root'
|
@@ -14,6 +20,8 @@ end
|
|
14
20
|
|
15
21
|
package 'nodejs' do
|
16
22
|
user 'root'
|
23
|
+
version "16.16.0-1nodesource"
|
24
|
+
options '--enablerepo=nodesource'
|
17
25
|
end
|
18
26
|
|
19
27
|
template '/etc/yum.repos.d/yarn.repo' do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[nodesource]
|
2
2
|
name=Node.js Packages for Enterprise Linux 7 - $basearch
|
3
|
-
baseurl=https://rpm.nodesource.com/
|
3
|
+
baseurl=https://rpm.nodesource.com/pub_16.x/el/7/$basearch
|
4
4
|
failovermethod=priority
|
5
5
|
enabled=1
|
6
6
|
gpgcheck=1
|
@@ -8,7 +8,7 @@ gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
|
|
8
8
|
|
9
9
|
[nodesource-source]
|
10
10
|
name=Node.js for Enterprise Linux 7 - $basearch - Source
|
11
|
-
baseurl=https://rpm.nodesource.com/
|
11
|
+
baseurl=https://rpm.nodesource.com/pub_16.x/el/7/SRPMS
|
12
12
|
failovermethod=priority
|
13
13
|
enabled=0
|
14
14
|
gpgkey=file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL
|
@@ -1,4 +1,4 @@
|
|
1
|
-
version = ENV['RUBY_VERSION'] || '2.7.
|
1
|
+
version = ENV['RUBY_VERSION'] || '2.7.6'
|
2
2
|
short_version = version.split('.')[0..1].join('.')
|
3
3
|
|
4
4
|
execute "download ruby-#{version}" do
|
@@ -27,8 +27,8 @@ end
|
|
27
27
|
|
28
28
|
{
|
29
29
|
'rubygems-update' => nil,
|
30
|
-
'bundler' => '2.
|
31
|
-
'itamae' => '1.
|
30
|
+
'bundler' => '2.3.4',
|
31
|
+
'itamae' => '1.12.5',
|
32
32
|
'daddy' => nil
|
33
33
|
}.each do |name, version|
|
34
34
|
gem_package name do
|
@@ -0,0 +1 @@
|
|
1
|
+
8925a95e31d8f2c81749025a52a544ea1d05dad18794e6828709268b92e55338 ruby-2.7.3.tar.gz
|
@@ -0,0 +1 @@
|
|
1
|
+
2755b900a21235b443bb16dadd9032f784d4a88f143d852bc5d154f22b8781f1 ruby-2.7.5.tar.gz
|
@@ -0,0 +1 @@
|
|
1
|
+
e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10 ruby-2.7.6.tar.gz
|
data/lib/daddy/test_help.rb
CHANGED
@@ -27,17 +27,31 @@ end
|
|
27
27
|
if ENV['FORMAT']
|
28
28
|
begin
|
29
29
|
require 'minitest/reporters'
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
30
|
+
|
31
|
+
if Gem::Version.new(Minitest::VERSION) >= Gem::Version.new('5.16.0')
|
32
|
+
case ENV['FORMAT'].to_s.downcase
|
33
|
+
when 'junit'
|
34
|
+
Minitest::Reporters.use! [
|
35
|
+
Minitest::Reporters::DefaultReporter.new,
|
36
|
+
Minitest::Reporters::JUnitReporter.new
|
37
|
+
]
|
38
|
+
else
|
39
|
+
Minitest::Reporters.use! [
|
40
|
+
Minitest::Reporters::DefaultReporter.new(:color => true),
|
41
|
+
]
|
42
|
+
end
|
37
43
|
else
|
38
|
-
|
39
|
-
|
40
|
-
|
44
|
+
case ENV['FORMAT'].to_s.downcase
|
45
|
+
when 'junit'
|
46
|
+
MiniTest::Reporters.use! [
|
47
|
+
MiniTest::Reporters::DefaultReporter.new,
|
48
|
+
MiniTest::Reporters::JUnitReporter.new
|
49
|
+
]
|
50
|
+
else
|
51
|
+
MiniTest::Reporters.use! [
|
52
|
+
MiniTest::Reporters::DefaultReporter.new(:color => true),
|
53
|
+
]
|
54
|
+
end
|
41
55
|
end
|
42
56
|
rescue LoadError => e
|
43
57
|
raise 'minitest-reporters not found.'
|
data/lib/daddy/version.rb
CHANGED
data/lib/tasks/test.rake
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -331,6 +331,9 @@ files:
|
|
331
331
|
- itamae/environments/ruby/ruby-2.6.5.tar.gz_sha256sum.txt
|
332
332
|
- itamae/environments/ruby/ruby-2.6.6.tar.gz_sha256sum.txt
|
333
333
|
- itamae/environments/ruby/ruby-2.7.2.tar.gz_sha256sum.txt
|
334
|
+
- itamae/environments/ruby/ruby-2.7.3.tar.gz_sha256sum.txt
|
335
|
+
- itamae/environments/ruby/ruby-2.7.5.tar.gz_sha256sum.txt
|
336
|
+
- itamae/environments/ruby/ruby-2.7.6.tar.gz_sha256sum.txt
|
334
337
|
- itamae/locale/en.yml
|
335
338
|
- itamae/locale/ja.yml
|
336
339
|
- itamae/templates/etc/god/master.conf.erb
|
@@ -458,14 +461,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
458
461
|
requirements:
|
459
462
|
- - "~>"
|
460
463
|
- !ruby/object:Gem::Version
|
461
|
-
version: '2.
|
464
|
+
version: '2.7'
|
462
465
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
463
466
|
requirements:
|
464
467
|
- - ">="
|
465
468
|
- !ruby/object:Gem::Version
|
466
469
|
version: '0'
|
467
470
|
requirements: []
|
468
|
-
rubygems_version: 3.
|
471
|
+
rubygems_version: 3.2.16
|
469
472
|
signing_key:
|
470
473
|
specification_version: 4
|
471
474
|
summary: My rails dad
|