bmabey-fakefs 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -2,18 +2,19 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fakefs}
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Wanstrath", "Pat Nakajima"]
9
- s.date = %q{2009-08-07}
9
+ s.date = %q{2009-08-10}
10
10
  s.email = %q{chris@ozmm.org}
11
11
  s.extra_rdoc_files = [
12
12
  "LICENSE",
13
13
  "README.markdown"
14
14
  ]
15
15
  s.files = [
16
- "LICENSE",
16
+ ".gitignore",
17
+ "LICENSE",
17
18
  "README.markdown",
18
19
  "Rakefile",
19
20
  "VERSION",
@@ -28,6 +29,7 @@ Gem::Specification.new do |s|
28
29
  "lib/fakefs/file_system.rb",
29
30
  "lib/fakefs/fileutils.rb",
30
31
  "lib/fakefs/safe.rb",
32
+ "lib/fakefs/spec_helpers.rb",
31
33
  "test/fakefs_test.rb",
32
34
  "test/safe_test.rb",
33
35
  "test/verify.rb"
@@ -0,0 +1,14 @@
1
+ module FakeFS
2
+ module SpecHelpers
3
+ def use_fakefs
4
+ before(:each) do
5
+ FakeFS.activate!
6
+ end
7
+
8
+ after(:each) do
9
+ FakeFS.deactivate!
10
+ FakeFS::FileSystem.clear
11
+ end
12
+ end
13
+ end
14
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmabey-fakefs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-08-07 00:00:00 -07:00
13
+ date: 2009-08-10 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -24,6 +24,7 @@ extra_rdoc_files:
24
24
  - LICENSE
25
25
  - README.markdown
26
26
  files:
27
+ - .gitignore
27
28
  - LICENSE
28
29
  - README.markdown
29
30
  - Rakefile
@@ -39,6 +40,7 @@ files:
39
40
  - lib/fakefs/file_system.rb
40
41
  - lib/fakefs/fileutils.rb
41
42
  - lib/fakefs/safe.rb
43
+ - lib/fakefs/spec_helpers.rb
42
44
  - test/fakefs_test.rb
43
45
  - test/safe_test.rb
44
46
  - test/verify.rb