cap-laravel 0.0.7 → 0.0.8

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: 6c22ff3755a44f407bb8a13d63ba38af332572ff
4
- data.tar.gz: 51995a0d7d6caeffbaa909c4aa04907d10664eab
3
+ metadata.gz: 037bf7d031faa3437de1fc4b4a82f05002b8e5d0
4
+ data.tar.gz: ec7bb42c3341d3d2063879647159473e2ed0da57
5
5
  SHA512:
6
- metadata.gz: c9007f55d71706ba000d16b4da076bbd65b2c9aa9a53e344aceb8c70db4ac244e77910fba5438edf5f2a18a94f6f4c88533ba418d8e5dc01eaad973608745d50
7
- data.tar.gz: d0b26e234a4b1506442c8774bd2a747d695f8e0bf202a21cc61a641b1f6059a298e388dd35ef068d6f3e3174894da296624a3a3b44eede698cc34085b15d4207
6
+ metadata.gz: d62ae37a186dfeec37f2015331b80b491a0d3a8ff00d34ca84dace50c07d74858f42e4182881dd242947d601c83c7fafbfde92182541ca85e295806f3ac0c3e9
7
+ data.tar.gz: b8dba3f535e633aadce14e89622c90abf0471c3a1b6ec55921889653191bdbaaba15df38c0385b79a45761cc8e359f510d65f4ea16b2134a8a96c13041624acc
@@ -1,5 +1,5 @@
1
1
  module Cap
2
2
  module Laravel
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
@@ -46,7 +46,7 @@ namespace :artisan do
46
46
  task :storage do
47
47
  on roles(:app) do
48
48
  within release_path do
49
- execute :sudo, "chmod -R 777 app/storage"
49
+ execute :sudo, :chmod, "-R 777 app/storage"
50
50
  end
51
51
  end
52
52
  end
@@ -1,10 +1,10 @@
1
1
  namespace :assets do
2
2
 
3
3
  desc "Install node components"
4
- task :npm do
4
+ task :run_npm do
5
5
  on roles(:app) do
6
6
  within release_path do
7
- if fetch(:run_assets) && test("[ -e #{release_path}/package.json ]")
7
+ if test("[ -e #{release_path}/package.json ]")
8
8
  execute :npm, :install, "--quiet"
9
9
  end
10
10
  end
@@ -12,15 +12,29 @@ namespace :assets do
12
12
  end
13
13
 
14
14
  desc "Run the grunt command"
15
- task :grunt do
15
+ task :run_grunt do
16
16
  on roles(:app) do
17
17
  within release_path do
18
- if fetch(:run_assets) && test("[ -e #{release_path}/Gruntfile.js ]")
18
+ if test("[ -e #{release_path}/Gruntfile.js ]")
19
19
  execute fetch(:grunt_cmd)
20
20
  end
21
21
  end
22
22
  end
23
23
  end
24
+
25
+ desc "Run npm"
26
+ task :npm do
27
+ if fetch(:run_assets)
28
+ invoke 'assets:run_npm'
29
+ end
30
+ end
31
+
32
+ desc "Run grunt"
33
+ task :grunt do
34
+ if fetch(:run_assets)
35
+ invoke 'assets:run_grunt'
36
+ end
37
+ end
24
38
 
25
39
  # probs wont work
26
40
  desc "Run the bower command"
@@ -4,7 +4,7 @@ namespace :composer do
4
4
  task :install do
5
5
  on roles(:app) do
6
6
  within release_path do
7
- execute :composer, "install --no-dev --quiet"
7
+ execute :composer, :install, "--no-dev --quiet"
8
8
  end
9
9
  end
10
10
  end
@@ -13,7 +13,7 @@ namespace :composer do
13
13
  task :update do
14
14
  on roles(:app) do
15
15
  within release_path do
16
- execute :composer, "update --no-dev"
16
+ execute :composer, :update, "--no-dev --quiet"
17
17
  end
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-laravel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gareth Bishop
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano