fileman 0.1.33525 → 0.1.33724

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9dcec2bfd1d11f42aff3cd815419a41f5025d047
4
- data.tar.gz: e987df5ffcf039de6feac2c5dcdcfb4a50c3412a
3
+ metadata.gz: 9a97d3d68e380dc222da25666d9f9d87b46ed101
4
+ data.tar.gz: 275f0d82887117a14ca9ab92460a01b90949e10c
5
5
  SHA512:
6
- metadata.gz: b0587f81587352c738c33ae3279207e56669b649b11070e5db57a649fb4b6b0546f695e473f967e890511dddce8413d910c8d4ccaaa9033448504df5e530e11a
7
- data.tar.gz: c33c67169261d471ad5058fadc23007729543a8707da5f3d6f6fba85e242f44ebc51288f015ace75e5e8f13c545d938f60b441c071b7853d879ec46956911c2f
6
+ metadata.gz: 1341d5351868dad30e979cd0a6528b5acc2291ef99d94944787930ffd1d156d7b2304411cb48b0940ab63db4b865cf228a416f944cd1f07eaeb1540b05c8565a
7
+ data.tar.gz: cdb46ec5b92cff03754f8300c9be9674f2ad8cd9b327c59c4a52f883b932419223bf4f74c93f9532a174ab212faf7a4f7128ac900fdeb70f1909996b3c8ebad0
@@ -7,6 +7,7 @@ module Fileman
7
7
  def remove(folder_path)
8
8
  new_path = Fileman.rename(folder_path, 'a', {:include_files => true, :ignore_ext => true, :recursive => true})
9
9
  FileUtils.rm_rf new_path
10
- FileUtils.remove_dir new_path
10
+ # based on different environment, you may need to remove the folder a second time
11
+ FileUtils.remove_dir new_path if File.exists? new_path
11
12
  end
12
13
  end
@@ -1 +1 @@
1
- module Fileman
2
1
  VERSION ="0.1.33525"
2
+ module Fileman
3
3
  VERSION ="0.1.33724"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fileman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.33525
4
+ version: 0.1.33724
5
5
  platform: ruby
6
6
  authors:
7
7
  - nicolasdao