capistrano-af83 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/af83/bower.rb +7 -0
- data/lib/capistrano/af83/bundler.rb +1 -0
- data/lib/capistrano/af83/stages.rb +1 -1
- data/lib/capistrano/af83/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b191c3f12e94f4103163ea3ed5c79729bc964555
|
4
|
+
data.tar.gz: b47f79d2a95fe9a76ba02ae31c407fc974240afe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f497535958c5412b7e28e31c009d4b3ba4428f8b0d8d929d0f841c3700c8464a1134270c61e428d085157bd538e421fb0640ade50d370a391f4f3520889f748
|
7
|
+
data.tar.gz: 1130059c19859d5ea10b5ed557fdd682dca88a4851294837be1558b8dc466b0499576d6e1d76bbcbca449852b29c64e9b0824200acc3dc7e8c2bd439c40a953e
|
@@ -1,5 +1,10 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
namespace :bower do
|
3
|
+
desc 'Install bower executable on the server'
|
4
|
+
task :check_install do
|
5
|
+
run 'command -v bower >/dev/null 2>&1 || npm install bower -g'
|
6
|
+
end
|
7
|
+
|
3
8
|
desc "Install JS/CSS assets using bower"
|
4
9
|
task :install do
|
5
10
|
run "cd #{release_path} && bower --no-color install --production"
|
@@ -15,3 +20,5 @@ namespace :bower do
|
|
15
20
|
run "cd #{release_path} && bower --no-color cache clean"
|
16
21
|
end
|
17
22
|
end
|
23
|
+
|
24
|
+
before 'deploy:update_code', 'bower:check_install'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file was taken from https://github.com/TechnoGate/capistrano-exts
|
2
2
|
|
3
3
|
# By default, we have 3 stages (dev, staging and production)
|
4
|
-
# and we detect other stages if they have a file in
|
4
|
+
# and we detect other stages if they have a file in `config/deploy/*`.
|
5
5
|
set :default_stage, :dev
|
6
6
|
default_stages = [default_stage, :staging, :prod]
|
7
7
|
location = fetch(:stage_dir, "config/deploy")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-af83
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Michel
|
@@ -9,48 +9,48 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-10-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '2.14'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '2.14'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: capistrano-notification
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - ~>
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0.1'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - ~>
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0.1'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: capistrano-custom-maintenance
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - ~>
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
48
|
version: 0.1.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - ~>
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 0.1.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
@@ -71,14 +71,14 @@ dependencies:
|
|
71
71
|
name: sushi
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - ~>
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 0.0.2
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - ~>
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: 0.0.2
|
84
84
|
description: Capistrano recipes for af83, mongoid, thin, faye and others
|
@@ -123,17 +123,17 @@ require_paths:
|
|
123
123
|
- lib
|
124
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- -
|
126
|
+
- - ">="
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
130
130
|
requirements:
|
131
|
-
- -
|
131
|
+
- - ">="
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project:
|
136
|
-
rubygems_version: 2.
|
136
|
+
rubygems_version: 2.2.0.preview.1
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Capistrano recipes for af83
|