daddy 0.9.2 → 0.9.3

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: 3fea26f1c248e27a42e6544f622b4828545bc2a17fe3419fc0ff298868076017
4
- data.tar.gz: 525371f333ba82139f8ec2ad5df70d47c7f6ca385281681c917247a7f18e3033
3
+ metadata.gz: b8fa38f1c49f4b933f6767c24c6bdb8ac787a72fa416d4ff6db53a1f8c53beb3
4
+ data.tar.gz: 25f2f13a1fa9f505cff19f3b6909223e902be70078172c9b80e279f946e5387e
5
5
  SHA512:
6
- metadata.gz: ad56483b746f0c33f0c6c3a45dc03f601a7f6b1656744e8bf42e417b436ca4ce1ce1ebf725b2d7e5f593864f1a435c58fe9995dc365843a40060b252a090b365
7
- data.tar.gz: 7b9c50bfe426c24b8cd9b7d169bb1ef78e303c6b408adb75d746244ff2355f840ffcbf18874bb28aca44b322c0561070ca952aa050f687ffbf58db5533619d8d
6
+ metadata.gz: cff15ab8cddc067935f35d5be38fca059dd26563cc71f1e028a6367bc0152f6123042794d726b903784bc7d07bda2aab2626f837c0f9937e1c4012487320dcf7
7
+ data.tar.gz: b1a219c564c6595ab0126621c881cf5237ba80239ff85df02f436bdad668986c76f9119cfea4cd49e85ba8a8c2c2fa46a6501e6cdb34023674354f66cb24b6d6
@@ -1,4 +1,4 @@
1
- version = ENV['RUBY_VERSION'] || '2.6.6'
1
+ version = ENV['RUBY_VERSION'] || '2.7.2'
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.0.2',
31
- 'itamae' => '1.10.6',
30
+ 'bundler' => '2.1.4',
31
+ 'itamae' => '1.11.1',
32
32
  'daddy' => nil
33
33
  }.each do |name, version|
34
34
  gem_package name do
@@ -0,0 +1 @@
1
+ 6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4 ruby-2.7.2.tar.gz
@@ -2,6 +2,6 @@ module Daddy
2
2
  VERSION = [
3
3
  VERSION_MAJOR = '0',
4
4
  VERSION_MINOR = '9',
5
- VERSION_REVISION = '2'
5
+ VERSION_REVISION = '3'
6
6
  ].join('.')
7
7
  end
@@ -7,7 +7,8 @@ namespace :dad do
7
7
  task :dump do
8
8
  dump_dir = ENV['DUMP_DIR'] || ask('出力先ディレクトリ', :required => true)
9
9
 
10
- config = YAML.load_file(File.join('config', 'database.yml'))[Rails.env]
10
+ config = YAML.load(ERB.new(File.read('config/database.yml'), 0, '-').result)[Rails.env]
11
+
11
12
  host = config['host'] || 'localhost'
12
13
  database = config['database']
13
14
  user = config['username']
@@ -7,7 +7,8 @@ namespace :dad do
7
7
  task :load do
8
8
  dump_file = ENV['DUMP_FILE'] || ask('ダンプファイル', :required => true)
9
9
 
10
- config = YAML.load_file(File.join('config', 'database.yml'))[Rails.env]
10
+ config = YAML.load(ERB.new(File.read('config/database.yml'), 0, '-').result)[Rails.env]
11
+
11
12
  host = config['host'] || 'localhost'
12
13
  database = config['database']
13
14
  user = config['username']
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.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-05 00:00:00.000000000 Z
11
+ date: 2021-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api
@@ -330,6 +330,7 @@ files:
330
330
  - itamae/environments/ruby/ruby-2.6.3.tar.gz_sha256sum.txt
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
+ - itamae/environments/ruby/ruby-2.7.2.tar.gz_sha256sum.txt
333
334
  - itamae/locale/en.yml
334
335
  - itamae/locale/ja.yml
335
336
  - itamae/templates/etc/god/master.conf.erb
@@ -464,7 +465,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
464
465
  - !ruby/object:Gem::Version
465
466
  version: '0'
466
467
  requirements: []
467
- rubygems_version: 3.0.3
468
+ rubygems_version: 3.1.4
468
469
  signing_key:
469
470
  specification_version: 4
470
471
  summary: My rails dad