capistrano-ash 1.1.3 → 1.1.4

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano-ash}
8
- s.version = "1.1.2"
8
+ s.version = "1.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["August Ash"]
@@ -174,7 +174,7 @@ configuration.load do
174
174
  if previous_release
175
175
  puts "Backing up web files (user uploaded content and previous release)"
176
176
 
177
- if backup_exclude.present?
177
+ if !backup_exclude.nil? && !backup_exclude.empty?
178
178
  logger.debug "processing backup exclusions..."
179
179
  backup_exclude.each do |pattern|
180
180
  exclude_string << "--exclude '#{pattern}' "
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-ash
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.3
5
+ version: 1.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - August Ash