capobvious 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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', 'assets:precompile'
65
- before 'deploy:finalize_update', 'assets:symlink'
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;
@@ -1,3 +1,3 @@
1
1
  module Capobvious
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-15 00:00:00.000000000 Z
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: &70170581011280 !ruby/object:Gem::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: *70170581011280
24
+ version_requirements: *70364684518120
25
25
  description: Capfile that we use every day
26
26
  email:
27
27
  - donotsendhere@gmail.com