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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b8fa38f1c49f4b933f6767c24c6bdb8ac787a72fa416d4ff6db53a1f8c53beb3
|
4
|
+
data.tar.gz: 25f2f13a1fa9f505cff19f3b6909223e902be70078172c9b80e279f946e5387e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cff15ab8cddc067935f35d5be38fca059dd26563cc71f1e028a6367bc0152f6123042794d726b903784bc7d07bda2aab2626f837c0f9937e1c4012487320dcf7
|
7
|
+
data.tar.gz: b1a219c564c6595ab0126621c881cf5237ba80239ff85df02f436bdad668986c76f9119cfea4cd49e85ba8a8c2c2fa46a6501e6cdb34023674354f66cb24b6d6
|
@@ -1,4 +1,4 @@
|
|
1
|
-
version = ENV['RUBY_VERSION'] || '2.
|
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.
|
31
|
-
'itamae' => '1.
|
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
|
data/lib/daddy/version.rb
CHANGED
data/lib/tasks/db_dump.rake
CHANGED
@@ -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.
|
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']
|
data/lib/tasks/db_load.rake
CHANGED
@@ -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.
|
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.
|
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:
|
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.
|
468
|
+
rubygems_version: 3.1.4
|
468
469
|
signing_key:
|
469
470
|
specification_version: 4
|
470
471
|
summary: My rails dad
|