cap-laravel 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/cap-laravel.gemspec +2 -2
- data/lib/cap/laravel.rb +0 -3
- data/lib/cap/laravel/version.rb +1 -1
- data/lib/cap/tasks/assets.rake +8 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc2e96c30a8cf79a321f4a8507065fc3ac44bb3a
|
4
|
+
data.tar.gz: 0fcf356b05132562ed89879ee7a84a02e5c3e392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f971a751942458301802955722bfdeb4a84a3838dacc5cef64feec670d208a4fad166dc93b888d4948648931ba02df566d5f3fce48fcd86ad089117c22092dfe
|
7
|
+
data.tar.gz: 7f92b5dad39235997f414a3164e8a5f4825f6823d48fb7ebc27f154c5f930e7f64124c795c357d13abaa815ff598d64581ddda421736c9ed79ce913afd5f09a0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Cap::Laravel
|
2
2
|
|
3
|
-
|
3
|
+
A collection of tasks for deploying a Laravel app via Capistrano.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,11 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Add it to your Capfile:
|
22
|
+
|
23
|
+
require 'cap/laravel'
|
24
|
+
|
25
|
+
Bask in the glory of Capistrano.
|
22
26
|
|
23
27
|
## Contributing
|
24
28
|
|
data/cap-laravel.gemspec
CHANGED
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Cap::Laravel::VERSION
|
9
9
|
spec.authors = ["Gareth Bishop"]
|
10
10
|
spec.email = ["gbishop@wearearchitect.com"]
|
11
|
-
spec.summary = %q{Architect Laravel Capistrano.}
|
11
|
+
spec.summary = %q{Architect Laravel Capistrano tasks.}
|
12
12
|
spec.description = %q{Capistrano tasks for deploying Laravel apps at Architect.}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/wearearchitect/cap-laravel"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/cap/laravel.rb
CHANGED
data/lib/cap/laravel/version.rb
CHANGED
data/lib/cap/tasks/assets.rake
CHANGED
@@ -3,8 +3,8 @@ namespace :assets do
|
|
3
3
|
desc "Install node components"
|
4
4
|
task :npm do
|
5
5
|
on roles(:app) do
|
6
|
-
within
|
7
|
-
execute
|
6
|
+
within release_path do
|
7
|
+
execute "if [[ -e package.json ]]; then npm install; fi"
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
@@ -12,8 +12,8 @@ namespace :assets do
|
|
12
12
|
desc "Run the grunt command"
|
13
13
|
task :grunt do
|
14
14
|
on roles(:app) do
|
15
|
-
within
|
16
|
-
execute
|
15
|
+
within release_path do
|
16
|
+
execute "if [[ -e Gruntfile ]]; then grunt; fi"
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -21,10 +21,13 @@ namespace :assets do
|
|
21
21
|
desc "Run the bower command"
|
22
22
|
task :bower do
|
23
23
|
on roles(:app) do
|
24
|
-
within
|
24
|
+
within release_path do
|
25
25
|
execute :bower, "install"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
29
|
+
|
30
|
+
before 'deploy:publishing', 'assets:npm'
|
31
|
+
before 'deploy:publishing', 'assets:grunt'
|
29
32
|
|
30
33
|
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.
|
4
|
+
version: 0.0.3
|
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-
|
11
|
+
date: 2014-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -73,7 +73,7 @@ files:
|
|
73
73
|
- lib/cap/tasks/artisan.rake
|
74
74
|
- lib/cap/tasks/assets.rake
|
75
75
|
- lib/cap/tasks/composer.rake
|
76
|
-
homepage:
|
76
|
+
homepage: https://github.com/wearearchitect/cap-laravel
|
77
77
|
licenses:
|
78
78
|
- MIT
|
79
79
|
metadata: {}
|
@@ -96,5 +96,5 @@ rubyforge_project:
|
|
96
96
|
rubygems_version: 2.2.2
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
|
-
summary: Architect Laravel Capistrano.
|
99
|
+
summary: Architect Laravel Capistrano tasks.
|
100
100
|
test_files: []
|