fakefs-require 0.2.0 → 0.2.1
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/README.markdown +2 -2
- data/VERSION +1 -1
- data/fakefs-require.gemspec +52 -0
- data/lib/fakefs-require.rb +1 -0
- data/lib/fakefs/require.rb +1 -1
- metadata +5 -4
- data/TODO +0 -3
data/README.markdown
CHANGED
@@ -87,8 +87,8 @@ There are two known limitations to FakeFS::Require (besides ones to FakeFS).
|
|
87
87
|
2. If a class/module that calls #autoload defines #const_missing the faked
|
88
88
|
autoload won't work. Maybe this is a WONTFIX, I don't know... any ideas?
|
89
89
|
|
90
|
-
3. #require does only work with .rb files. Binary files like .so and
|
91
|
-
not be loaded.
|
90
|
+
3. The faked #require does only work with .rb files. Binary files like .so and
|
91
|
+
.dll will not be loaded.
|
92
92
|
|
93
93
|
|
94
94
|
Contributing
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{fakefs-require}
|
8
|
+
s.version = "0.2.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Lars Gierth"]
|
12
|
+
s.date = %q{2010-04-20}
|
13
|
+
s.email = %q{lars.gierth@altefeuerwachekoeln.de}
|
14
|
+
s.extra_rdoc_files = [
|
15
|
+
"README.markdown"
|
16
|
+
]
|
17
|
+
s.files = [
|
18
|
+
".gitignore",
|
19
|
+
"LICENSE",
|
20
|
+
"README.markdown",
|
21
|
+
"Rakefile",
|
22
|
+
"VERSION",
|
23
|
+
"fakefs-require.gemspec",
|
24
|
+
"lib/fakefs-require.rb",
|
25
|
+
"lib/fakefs/require.rb",
|
26
|
+
"test/helper.rb",
|
27
|
+
"test/require_test.rb"
|
28
|
+
]
|
29
|
+
s.homepage = %q{http://github.com/lgierth/fakefs-require}
|
30
|
+
s.rdoc_options = ["--charset=UTF-8", "--main", "README.markdown"]
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
s.rubygems_version = %q{1.3.6}
|
33
|
+
s.summary = %q{Faked #require and #autoload for defunkt's FakeFS}
|
34
|
+
s.test_files = [
|
35
|
+
"test/require_test.rb",
|
36
|
+
"test/helper.rb"
|
37
|
+
]
|
38
|
+
|
39
|
+
if s.respond_to? :specification_version then
|
40
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
41
|
+
s.specification_version = 3
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<fakefs>, [">= 0"])
|
45
|
+
else
|
46
|
+
s.add_dependency(%q<fakefs>, [">= 0"])
|
47
|
+
end
|
48
|
+
else
|
49
|
+
s.add_dependency(%q<fakefs>, [">= 0"])
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require "fakefs/require"
|
data/lib/fakefs/require.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 1
|
9
|
+
version: 0.2.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Lars Gierth
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-20 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -42,8 +42,9 @@ files:
|
|
42
42
|
- LICENSE
|
43
43
|
- README.markdown
|
44
44
|
- Rakefile
|
45
|
-
- TODO
|
46
45
|
- VERSION
|
46
|
+
- fakefs-require.gemspec
|
47
|
+
- lib/fakefs-require.rb
|
47
48
|
- lib/fakefs/require.rb
|
48
49
|
- test/helper.rb
|
49
50
|
- test/require_test.rb
|