has_moderated 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,10 +11,10 @@ module HasModerated
11
11
  end
12
12
 
13
13
  def self.photo_tmp_delete(value)
14
- FileUtils.rm(value) # remove temp file
15
14
  begin
15
+ FileUtils.rm(value) # remove temp file
16
16
  FileUtils.rmdir(File.expand_path("..", value)) # will only remove folder if empty
17
- rescue Errno::ENOTEMPTY
17
+ rescue
18
18
  end
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module HasModerated
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_moderated
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 12
10
- version: 0.0.12
9
+ - 13
10
+ version: 0.0.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jan Berdajs