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.
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Delphi
5
- VERSION = '0.0.19'
5
+ VERSION = '0.0.20'
6
6
  end
7
7
  end
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.19
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-24 00:00:00.000000000 Z
12
+ date: 2014-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler