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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0eadb2a4c7c0979839b8071a127c7b4b3105469e
4
- data.tar.gz: d4b5a43b23fbd764e30c09b52a991eb3d1a0513d
3
+ metadata.gz: abe5904136624505af5a6fd4796231f4d17d681d
4
+ data.tar.gz: 3c4c3287bf45a1a87c466ec5d439c24bf7f1bc5e
5
5
  SHA512:
6
- metadata.gz: 92b51005d14db37725b7f4b8e88dac35a4570576030bbe7edf89bdf57f382faadf4f1f7f4427ab25d5957cda668e62d7af6ad5d3bd94dad70f1be83025dd5596
7
- data.tar.gz: 60c76f810f20cf21c5c300e08910b6f235c4f7e35f38c1455bcc89e1a0f982394ee4c637440940556e3f5c550097ac9fa0571934db85ce52aaa427798c757bf6
6
+ metadata.gz: 86e7f4dba67970f22237279d7845705594e795b56a1abc22ca1627bb667e4f7b7f7ad67b0e78174209babf31a601f2ddaa2713722b415cb70bd50c797727eac4
7
+ data.tar.gz: 3c8f7fdba3a9cb4d11f78c8afc49776b20f01064fff2885ee4e241cbd490203b5b7fc3eaaaf5d77e9e8a104b7886f3032a3cb671f14ed20fca3c53675d4cd0fc
@@ -1,3 +1,3 @@
1
1
  module Daddy
2
- VERSION = '0.5.6'
2
+ VERSION = '0.5.7'
3
3
  end
@@ -3,15 +3,9 @@ require_relative 'task_helper'
3
3
  namespace :dad do
4
4
 
5
5
  task :app_base_dir do
6
- case Rails.env
7
- when 'production', 'development'
8
- app_base_dir = File.join('/var/lib', Daddy.config.application, Rails.env)
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.6
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-13 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara