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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 617aabc2ae7cdf58928c313804c2421a352b01d7260e0cf401f450f31af04181
4
- data.tar.gz: b0c97127fb9050ee7116dd0bfc0d07a22edec54e4587b65c251f3069bee9744c
3
+ metadata.gz: 209f38558ce3f3bbe0b82db310e13e2046003fec45a745bcd90a47b219f40539
4
+ data.tar.gz: c50cd3f0ea11e025f99b246d35bb474ca74fb06837371e5eab534408a050477e
5
5
  SHA512:
6
- metadata.gz: 40915eb55f06d3052bd619da9a1a9ae6dbf1544d5d7886343213d16c3c4462d2d53cbf16dd4dffd2d93aa176c89fb6952b221a185ae9de4ff3604dd760f42dea
7
- data.tar.gz: a07a24c5cb875035358e8c816b8173e180f29b4647585107f3fd50fe06b588d866280a24b79d0ed0fb824eff7ba4b4f35ab74ec4c43c0876b3d40adbe4781a59
6
+ metadata.gz: e38f244a879333499d2cf194bfc1374cd7057eeb11bcf9ee7b52efefddd9bd2845da94b7bdd29ba22bdaf33984d2bef7292a2e0d13b2cd550f1c5547ab578a90
7
+ data.tar.gz: 586a98c9f04e097749e0590d0f37b3558592e4d6fc53e6572d172df612cbf40f0eea1503bda54151435ae1e2268fc387b3393b35c328bd83aa8b51a232d31650
@@ -26,7 +26,6 @@ server {
26
26
  gzip_http_version 1.0;
27
27
  gzip_proxied any;
28
28
  gzip_min_length 500;
29
- gzip_disable "MSIE [1-6]\.";
30
29
  gzip_types text/plain text/xml text/css
31
30
  text/comma-separated-values
32
31
  text/javascript application/x-javascript
@@ -1,4 +1,4 @@
1
- version = ENV['RUBY_VERSION'] || '2.7.5'
1
+ version = ENV['RUBY_VERSION'] || '2.7.8'
2
2
  short_version = version.split('.')[0..1].join('.')
3
3
 
4
4
  execute "download ruby-#{version}" do
@@ -0,0 +1 @@
1
+ e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10 ruby-2.7.6.tar.gz
@@ -0,0 +1 @@
1
+ e7203b0cc09442ed2c08936d483f8ac140ec1c72e37bb5c401646b7866cb5d10 ruby-2.7.8.tar.gz
@@ -27,17 +27,31 @@ end
27
27
  if ENV['FORMAT']
28
28
  begin
29
29
  require 'minitest/reporters'
30
-
31
- case ENV['FORMAT'].to_s.downcase
32
- when 'junit'
33
- MiniTest::Reporters.use! [
34
- MiniTest::Reporters::DefaultReporter.new,
35
- MiniTest::Reporters::JUnitReporter.new
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
- MiniTest::Reporters.use! [
39
- MiniTest::Reporters::DefaultReporter.new(:color => true),
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
@@ -2,6 +2,6 @@ module Daddy
2
2
  VERSION = [
3
3
  VERSION_MAJOR = '0',
4
4
  VERSION_MINOR = '9',
5
- VERSION_REVISION = '4'
5
+ VERSION_REVISION = '6'
6
6
  ].join('.')
7
7
  end
@@ -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
@@ -3,7 +3,7 @@ require_relative 'task_helper'
3
3
  namespace :dad do
4
4
 
5
5
  desc 'Cucumberを使用してテストを実行します。'
6
- task :test => :environment do
6
+ task test: :environment do
7
7
  require 'closer/tasks'
8
8
  Rake::Task['close'].invoke
9
9
  end
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
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: 2022-08-03 00:00:00.000000000 Z
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.5'
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.2.16
472
+ rubygems_version: 3.3.10
471
473
  signing_key:
472
474
  specification_version: 4
473
475
  summary: My rails dad