shell-utils 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shellutils/session_zipper.rb +1 -1
- metadata +3 -3
@@ -9,7 +9,7 @@ class SessionZipper
|
|
9
9
|
FileUtils.rm archive, :force=>true
|
10
10
|
|
11
11
|
Zip::ZipFile.open(archive, 'w') do |zipfile|
|
12
|
-
Dir["#{path}
|
12
|
+
Dir["#{path}/**/{*,.*}"].reject{|f|f==archive}.each do |file|
|
13
13
|
zipfile.add(file.sub(path+'/',''),file)
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 7
|
9
|
+
version: 0.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- CodersDojo-Team
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-09-
|
17
|
+
date: 2011-09-23 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|