rake-delphi 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rake/common/ziptask.rb +3 -1
- data/lib/rake/delphi/version.rb +1 -1
- metadata +2 -2
data/lib/rake/common/ziptask.rb
CHANGED
@@ -73,7 +73,6 @@ module Rake
|
|
73
73
|
filename = File.basename(file)
|
74
74
|
end
|
75
75
|
return if ! File.exists?(file)
|
76
|
-
@task.out "Zipping '#{file}' as '#{filename}'..."
|
77
76
|
if @options[:preserve_paths] && ! filename_set
|
78
77
|
dir = File.dirname(file)
|
79
78
|
# avoid "./<filename>" entries (instead of "<filename>")
|
@@ -82,6 +81,9 @@ module Rake
|
|
82
81
|
# remove leading slash (for absolute paths)
|
83
82
|
filename.gsub!(/^\//, '')
|
84
83
|
end
|
84
|
+
# do not add directory entries
|
85
|
+
return if File.directory?(file)
|
86
|
+
@task.out "Zipping '#{file}' as '#{filename}'..."
|
85
87
|
zipfile.add(filename, file)
|
86
88
|
end
|
87
89
|
end
|
data/lib/rake/delphi/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rake-delphi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
12
|
+
date: 2014-12-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|