capobvious 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/capistrano/ext/capobvious.rb +8 -2
- data/lib/capobvious/version.rb +1 -1
- metadata +4 -4
|
@@ -61,8 +61,13 @@ Capistrano::Configuration.instance.load do
|
|
|
61
61
|
|
|
62
62
|
# load 'deploy/assets'
|
|
63
63
|
|
|
64
|
-
after 'deploy:update_code', 'bundle:install'
|
|
65
|
-
|
|
64
|
+
after 'deploy:update_code', 'bundle:install'
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
if !exists?(:assets) || fetch(:assets) == true
|
|
68
|
+
after 'deploy:update_code', 'assets:precompile'
|
|
69
|
+
before 'deploy:finalize_update', 'assets:symlink'
|
|
70
|
+
end
|
|
66
71
|
before "deploy:restart", "auto:run"
|
|
67
72
|
|
|
68
73
|
namespace :assets do
|
|
@@ -291,6 +296,7 @@ Capistrano::Configuration.instance.load do
|
|
|
291
296
|
# add_header ETag "";
|
|
292
297
|
# break;
|
|
293
298
|
# }
|
|
299
|
+
#{exists?(:nginx_add)? fetch(:nginx_add) : ""}
|
|
294
300
|
|
|
295
301
|
location ~ ^/(assets)/ {
|
|
296
302
|
root #{current_path}/public;
|
data/lib/capobvious/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capobvious
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-04-
|
|
12
|
+
date: 2012-04-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &70364684518120 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *70364684518120
|
|
25
25
|
description: Capfile that we use every day
|
|
26
26
|
email:
|
|
27
27
|
- donotsendhere@gmail.com
|