fakefs 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fakefs/fileutils.rb +4 -1
- data/lib/fakefs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ad6c6a8b8e37f4902227e29ec8440158b83a888
|
4
|
+
data.tar.gz: 69369bfb16c12cc091e9da9d701e48aa6dd0bbb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37734960786a62c9fce7e425c5869f1f8084fd82427d0b901f7f8c2dc6c787645ba06fbb50a0c5532fcd4dd9949208c6f0c02c1c82396801d90dcbd860c7fdab
|
7
|
+
data.tar.gz: 53654f93f29e9b7dc76bcf7e11f4086bca6a3e997c689ef58ca5fae6771295d1514acde28073b9da3a29e2090cd096c65d9c6d83f9e45666acb73cf5ce835dd9
|
data/lib/fakefs/fileutils.rb
CHANGED
@@ -64,9 +64,12 @@ module FakeFS
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
alias_method :rm_r, :rm
|
67
|
-
alias_method :rm_f, :rm
|
68
67
|
alias_method :remove, :rm
|
69
68
|
|
69
|
+
def rm_f(list, options = {})
|
70
|
+
rm(list, options.merge(force: true))
|
71
|
+
end
|
72
|
+
|
70
73
|
def rm_rf(list, options = {})
|
71
74
|
rm_r(list, options.merge(force: true))
|
72
75
|
end
|
data/lib/fakefs/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fakefs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|