capobvious 0.3.pre12 → 0.3.pre14

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ Capistrano::Configuration.instance(:must_exist).load do
15
15
  end
16
16
  desc "Assets precompile"
17
17
  task :precompile, :roles => :web, :except => { :no_release => true } do
18
- if exists?(:turbo_sprockets_rails3) && fetch(:turbo_sprockets_rails3) && fetch(:previous_release) && previous_release != latest_release
18
+ if exists?(:turbo_sprockets_rails3) && fetch(:turbo_sprockets_rails3) && !previous_release.nil? && !latest_release.nil? && previous_release != latest_release
19
19
  logger.info "Copying assets folder of previous release for turbo-sprockets-rails3 gem"
20
20
  run("cp -r #{previous_release}/public/assets #{latest_release}/public/")
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Capobvious
2
- VERSION = '0.3.pre12'
2
+ VERSION = '0.3.pre14'
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 0.3.pre12
5
+ version: 0.3.pre14
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dmitry Gruzd
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-27 00:00:00.000000000 Z
12
+ date: 2013-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano