daddy 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/app_base_dir.rake +3 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abe5904136624505af5a6fd4796231f4d17d681d
|
4
|
+
data.tar.gz: 3c4c3287bf45a1a87c466ec5d439c24bf7f1bc5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86e7f4dba67970f22237279d7845705594e795b56a1abc22ca1627bb667e4f7b7f7ad67b0e78174209babf31a601f2ddaa2713722b415cb70bd50c797727eac4
|
7
|
+
data.tar.gz: 3c8f7fdba3a9cb4d11f78c8afc49776b20f01064fff2885ee4e241cbd490203b5b7fc3eaaaf5d77e9e8a104b7886f3032a3cb671f14ed20fca3c53675d4cd0fc
|
data/lib/daddy/version.rb
CHANGED
data/lib/tasks/app_base_dir.rake
CHANGED
@@ -3,15 +3,9 @@ require_relative 'task_helper'
|
|
3
3
|
namespace :dad do
|
4
4
|
|
5
5
|
task :app_base_dir do
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
run "sudo mkdir -p #{app_base_dir}",
|
10
|
-
"sudo chown #{ENV['USER']}:#{ENV['USER']} #{app_base_dir}"
|
11
|
-
when 'test'
|
12
|
-
app_base_dir = File.join('/tmp', Daddy.config.application, Rails.env)
|
13
|
-
run "mkdir -p #{app_base_dir}"
|
14
|
-
end
|
6
|
+
app_base_dir = File.join('/var/lib', Daddy.config.application)
|
7
|
+
run "sudo mkdir -p #{app_base_dir}",
|
8
|
+
"sudo chown #{ENV['USER']}:#{ENV['USER']} #{app_base_dir}"
|
15
9
|
end
|
16
10
|
|
17
11
|
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.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|