rested 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rested/entity.rb +3 -1
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.4
1
+ 0.3.5
@@ -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([v.path, File.dirname(v.path)])
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
- - 4
9
- version: 0.3.4
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-10 00:00:00 -04:00
17
+ date: 2010-09-20 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency