daddy 0.9.4 → 0.9.6
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/ruby/default.rb +1 -1
- data/itamae/environments/ruby/ruby-2.7.6.tar.gz_sha256sum.txt +1 -0
- data/itamae/environments/ruby/ruby-2.7.8.tar.gz_sha256sum.txt +1 -0
- data/lib/daddy/test_help.rb +24 -10
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/rails_erd.rake +2 -2
- data/lib/tasks/test.rake +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 209f38558ce3f3bbe0b82db310e13e2046003fec45a745bcd90a47b219f40539
|
4
|
+
data.tar.gz: c50cd3f0ea11e025f99b246d35bb474ca74fb06837371e5eab534408a050477e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38f244a879333499d2cf194bfc1374cd7057eeb11bcf9ee7b52efefddd9bd2845da94b7bdd29ba22bdaf33984d2bef7292a2e0d13b2cd550f1c5547ab578a90
|
7
|
+
data.tar.gz: 586a98c9f04e097749e0590d0f37b3558592e4d6fc53e6572d172df612cbf40f0eea1503bda54151435ae1e2268fc387b3393b35c328bd83aa8b51a232d31650
|
@@ -0,0 +1 @@
|
|
1
|
+
e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10 ruby-2.7.6.tar.gz
|
@@ -0,0 +1 @@
|
|
1
|
+
e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10 ruby-2.7.8.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/rails_erd.rake
CHANGED
@@ -7,7 +7,7 @@ if defined?(RailsERD)
|
|
7
7
|
excludes = ['ActiveRecord::SchemaMigration']
|
8
8
|
excludes << 'ActiveRecord::SessionStore::Session' if defined?(ActiveRecord::SessionStore)
|
9
9
|
case Rails::VERSION::MAJOR
|
10
|
-
when 5
|
10
|
+
when 5, 6
|
11
11
|
excludes << 'ActiveRecord::InternalMetadata'
|
12
12
|
excludes << 'ActiveStorage::Blob'
|
13
13
|
excludes << 'ActiveStorage::Attachment'
|
@@ -17,7 +17,7 @@ if defined?(RailsERD)
|
|
17
17
|
excludes << 'Nostalgic::Attr'
|
18
18
|
end
|
19
19
|
|
20
|
-
ENV['exclude'] = excludes.join(',')
|
20
|
+
ENV['exclude'] = (ENV['rails_erd.exclude'].to_s.split(',') + excludes).join(',')
|
21
21
|
|
22
22
|
Rake::Task['erd'].invoke
|
23
23
|
end if Rails.env.development?
|
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.6
|
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: 2024-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -333,6 +333,8 @@ files:
|
|
333
333
|
- itamae/environments/ruby/ruby-2.7.2.tar.gz_sha256sum.txt
|
334
334
|
- itamae/environments/ruby/ruby-2.7.3.tar.gz_sha256sum.txt
|
335
335
|
- itamae/environments/ruby/ruby-2.7.5.tar.gz_sha256sum.txt
|
336
|
+
- itamae/environments/ruby/ruby-2.7.6.tar.gz_sha256sum.txt
|
337
|
+
- itamae/environments/ruby/ruby-2.7.8.tar.gz_sha256sum.txt
|
336
338
|
- itamae/locale/en.yml
|
337
339
|
- itamae/locale/ja.yml
|
338
340
|
- itamae/templates/etc/god/master.conf.erb
|
@@ -460,14 +462,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
460
462
|
requirements:
|
461
463
|
- - "~>"
|
462
464
|
- !ruby/object:Gem::Version
|
463
|
-
version: '2.
|
465
|
+
version: '2.7'
|
464
466
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
465
467
|
requirements:
|
466
468
|
- - ">="
|
467
469
|
- !ruby/object:Gem::Version
|
468
470
|
version: '0'
|
469
471
|
requirements: []
|
470
|
-
rubygems_version: 3.
|
472
|
+
rubygems_version: 3.3.10
|
471
473
|
signing_key:
|
472
474
|
specification_version: 4
|
473
475
|
summary: My rails dad
|