rested 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rested/entity.rb +3 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.5
|
data/lib/rested/entity.rb
CHANGED
@@ -275,7 +275,9 @@ module Rested
|
|
275
275
|
def cleanup_temp_files(params)
|
276
276
|
params.each { |k,v|
|
277
277
|
if v.kind_of? File
|
278
|
-
FileUtils.rm_rf(
|
278
|
+
FileUtils.rm_rf(v.path)
|
279
|
+
d = File.dirname(v.path)
|
280
|
+
FileUtils.rm_rf(d) if d =~ /-origfile$/
|
279
281
|
end
|
280
282
|
}
|
281
283
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 5
|
9
|
+
version: 0.3.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Chetan Sarva
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-09-
|
17
|
+
date: 2010-09-20 00:00:00 -04:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|