vfs 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vfs/entries/dir.rb +2 -0
- data/spec/dir_spec.rb +4 -0
- metadata +2 -2
data/lib/vfs/entries/dir.rb
CHANGED
data/spec/dir_spec.rb
CHANGED
|
@@ -138,6 +138,10 @@ describe 'Dir' do
|
|
|
138
138
|
@path.empty?.should be_false
|
|
139
139
|
@path.dir('empty_dir').create.empty?.should be_true
|
|
140
140
|
end
|
|
141
|
+
|
|
142
|
+
it "should threat ['**/*.rb'] as glob" do
|
|
143
|
+
@path['**/*nother*'].first.name.should == 'another_dir'
|
|
144
|
+
end
|
|
141
145
|
end
|
|
142
146
|
|
|
143
147
|
describe 'copying' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vfs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-09-
|
|
12
|
+
date: 2011-09-10 00:00:00.000000000Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description:
|
|
15
15
|
email:
|