nsweb_deployment 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ configuration.load do
60
60
  namespace :assets do
61
61
  task :precompile, :roles => :web, :except => { :no_release => true } do
62
62
  from = source.next_revision(current_revision) if File.exists?(current_path)
63
- if from.nil? || releases.length <= 1 || capture("cd #{latest_release} && #{source.local.log(from)} vendor/assets app/assets lib/assets | wc -l").to_i > 0
63
+ if from.nil? || capture("cd #{latest_release} && #{source.local.log(from)} vendor/assets app/assets lib/assets | wc -l").to_i > 0
64
64
  run %Q{cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} #{asset_env} assets:precompile}
65
65
  else
66
66
  logger.info "Skipping asset pre-compilation because there were no asset changes."
@@ -1,3 +1,3 @@
1
1
  module NswebDeployment
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nsweb_deployment
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.5
5
+ version: 2.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Josh Williams
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-09 00:00:00 Z
13
+ date: 2012-07-12 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano
@@ -75,7 +75,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - ">="
77
77
  - !ruby/object:Gem::Version
78
- hash: 531861501
78
+ hash: -885792333
79
79
  segments:
80
80
  - 0
81
81
  version: "0"
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- hash: 531861501
87
+ hash: -885792333
88
88
  segments:
89
89
  - 0
90
90
  version: "0"