capobvious 1.3.pre13 → 1.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) && !previous_release.blank? && !latest_release.blank? && 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 = '1.3.pre13'
2
+ VERSION = '1.3.pre14'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 1.3.pre13
5
+ version: 1.3.pre14
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dmitry Gruzd