fakefs 0.6.0 → 0.6.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.
- checksums.yaml +13 -5
- data/Gemfile +0 -2
- data/README.markdown +1 -1
- data/Rakefile +16 -6
- data/etc/git-rank-contributors +57 -0
- data/fakefs.gemspec +2 -2
- data/lib/fakefs/file.rb +15 -3
- data/lib/fakefs/file_system.rb +3 -1
- data/lib/fakefs/file_test.rb +4 -0
- data/lib/fakefs/fileutils.rb +23 -2
- data/lib/fakefs/kernel.rb +2 -0
- data/lib/fakefs/pathname.rb +2 -2
- data/lib/fakefs/version.rb +1 -1
- data/spec/fakefs/fakefs_bug_ruby_2.1.0-preview2_spec.rb +2 -1
- data/spec/fakefs/spec_helpers_spec.rb +13 -13
- data/test/fake/file_test.rb +14 -0
- data/test/fakefs_test.rb +31 -1
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZDg1ODBmOTkwMzAxY2RjNzU1YzFmOTJlZDU4MmQ5YTZiMWIyMzZiMg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2Y3OGI0ZDY4YjRmNTA1ZmYyZDcyMmI5MjE0NjI2Y2Y0NDQ2NjM2OA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTE1NTY1NDM0ZWE5NGViNjdjNTU3M2Y4MTNjZTcwMTdiN2I3ODYxZmMyNjg5
|
10
|
+
ZGNkNjliOGQ2OWUxZGE0MDY4OTgwMjljN2M4MmQwYjMzOWM5MDdjZDgzYmJi
|
11
|
+
Mzc5NGYyN2M0YWEzZjhlMDM2NTU1YTExYTJiOWZiZDljNmJiODM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NTNiZTFjNjU5YWRjZDA3MzZiZDY3ZmQ0YjhlMDY3NWVjMjM3MzY1NGNjMjQ0
|
14
|
+
ZDA0OWNmNzRmMTRmYTg5YjI1NzNjZDg4Yjc4YjAyZGUyZjc1ZWY5NTBlN2Q0
|
15
|
+
NWNjMTQxYmJkYzMzZGNlMjRhNjdkMDI5MWFjOTJlZGJlNzA4ODk=
|
data/Gemfile
CHANGED
data/README.markdown
CHANGED
data/Rakefile
CHANGED
@@ -26,15 +26,25 @@ rescue LoadError
|
|
26
26
|
puts "Rubocop task can't be loaded. `gem install rubocop`"
|
27
27
|
end
|
28
28
|
|
29
|
-
task default: [:
|
29
|
+
task default: [:test, :spec]
|
30
30
|
|
31
31
|
desc 'Push a new version to rubygems.org'
|
32
|
-
task :publish
|
33
|
-
abort('Tests failed!') unless system('rake test')
|
34
|
-
Rake::Task[:release].invoke
|
35
|
-
end
|
32
|
+
task :publish => [:test, :spec, :update_contributors, :release]
|
36
33
|
|
37
34
|
desc 'Update contributors'
|
38
35
|
task :update_contributors do
|
39
|
-
|
36
|
+
git_rank_contributors = "#{File.dirname(File.expand_path(__FILE__))}/etc/git-rank-contributors"
|
37
|
+
|
38
|
+
sh "#{git_rank_contributors} > CONTRIBUTORS"
|
39
|
+
if `git status | grep CONTRIBUTORS`.strip.length > 0
|
40
|
+
sh "git add CONTRIBUTORS"
|
41
|
+
sh "git commit -m 'Updates contributors for release'"
|
42
|
+
end
|
40
43
|
end
|
44
|
+
|
45
|
+
desc 'Release a new version'
|
46
|
+
task :release do
|
47
|
+
sh "gem build fakefs.gemspec"
|
48
|
+
|
49
|
+
sh "gem push fakefs-*.gem"
|
50
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
## git-rank-contributors: a simple script to trace through the logs and
|
4
|
+
## rank contributors by the total size of the diffs they're responsible for.
|
5
|
+
## A change counts twice as much as a plain addition or deletion.
|
6
|
+
##
|
7
|
+
## Output may or may not be suitable for inclusion in a CREDITS file.
|
8
|
+
## Probably not without some editing, because people often commit from more
|
9
|
+
## than one address.
|
10
|
+
##
|
11
|
+
## git-rank-contributors Copyright 2008 William Morgan <wmorgan-git-wt-add@masanjin.net>.
|
12
|
+
## This program is free software: you can redistribute it and/or modify
|
13
|
+
## it under the terms of the GNU General Public License as published by
|
14
|
+
## the Free Software Foundation, either version 3 of the License, or (at
|
15
|
+
## your option) any later version.
|
16
|
+
##
|
17
|
+
## This program is distributed in the hope that it will be useful,
|
18
|
+
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
+
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20
|
+
## GNU General Public License for more details.
|
21
|
+
##
|
22
|
+
## You can find the GNU General Public License at:
|
23
|
+
## http://www.gnu.org/licenses/
|
24
|
+
|
25
|
+
class String
|
26
|
+
def obfuscate; gsub(/@/, " at the ").gsub(/\.(\w+)(>|$)/, ' dot \1s\2') end
|
27
|
+
end
|
28
|
+
|
29
|
+
lines = {}
|
30
|
+
verbose = ARGV.delete("-v")
|
31
|
+
obfuscate = ARGV.delete("-o")
|
32
|
+
|
33
|
+
author = nil
|
34
|
+
state = :pre_author
|
35
|
+
`git log -p --no-color`.lines.each do |l|
|
36
|
+
case
|
37
|
+
when (state == :pre_author || state == :post_author) && l =~ /Author: (.*)$/
|
38
|
+
author = $1
|
39
|
+
state = :post_author
|
40
|
+
lines[author] ||= 0
|
41
|
+
when state == :post_author && l =~ /^\+\+\+/
|
42
|
+
state = :in_diff
|
43
|
+
when state == :in_diff && l =~ /^[\+\-]/
|
44
|
+
lines[author] += 1
|
45
|
+
when state == :in_diff && l =~ /^commit /
|
46
|
+
state = :pre_author
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
lines.sort_by { |a, c| -c }.each do |a, c|
|
51
|
+
a = a.obfuscate if obfuscate
|
52
|
+
if verbose
|
53
|
+
puts "#{a}: #{c} lines of diff"
|
54
|
+
else
|
55
|
+
puts a
|
56
|
+
end
|
57
|
+
end
|
data/fakefs.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
-
spec.add_development_dependency "rake", "~> 10.
|
23
|
-
spec.add_development_dependency "rspec", "~>
|
22
|
+
spec.add_development_dependency "rake", "~> 10.3"
|
23
|
+
spec.add_development_dependency "rspec", "~> 3.1"
|
24
24
|
spec.add_development_dependency 'rubocop', '~>0.25'
|
25
25
|
end
|
data/lib/fakefs/file.rb
CHANGED
@@ -517,14 +517,26 @@ module FakeFS
|
|
517
517
|
def advise(_advice, _offset = 0, _len = 0)
|
518
518
|
end
|
519
519
|
|
520
|
-
def self.write(filename, contents, offset = nil)
|
520
|
+
def self.write(filename, contents, offset = nil, open_args = {})
|
521
|
+
offset, open_args = nil, offset if offset.is_a?(Hash)
|
522
|
+
mode = offset ? 'a' : 'w'
|
523
|
+
if open_args.size > 0
|
524
|
+
if open_args[:open_args]
|
525
|
+
args = [filename, *open_args[:open_args]]
|
526
|
+
else
|
527
|
+
mode = open_args[:mode] || mode
|
528
|
+
args = [filename, mode, open_args]
|
529
|
+
end
|
530
|
+
else
|
531
|
+
args = [filename, mode]
|
532
|
+
end
|
521
533
|
if offset
|
522
|
-
open(
|
534
|
+
open(*args) do |f|
|
523
535
|
f.seek(offset)
|
524
536
|
f.write(contents)
|
525
537
|
end
|
526
538
|
else
|
527
|
-
open(
|
539
|
+
open(*args) do |f|
|
528
540
|
f << contents
|
529
541
|
end
|
530
542
|
end
|
data/lib/fakefs/file_system.rb
CHANGED
@@ -131,7 +131,8 @@ module FakeFS
|
|
131
131
|
parts = [] # end recursion
|
132
132
|
directories_under(dir).map do |d|
|
133
133
|
d.entries.select do |f|
|
134
|
-
f.is_a?(FakeFile) || f.is_a?(FakeDir)
|
134
|
+
(f.is_a?(FakeFile) || f.is_a?(FakeDir)) &&
|
135
|
+
f.name.match(/\A(?!\.)/)
|
135
136
|
end
|
136
137
|
end.flatten.uniq
|
137
138
|
when []
|
@@ -149,6 +150,7 @@ module FakeFS
|
|
149
150
|
.gsub(/\{(.*?)\}/) do
|
150
151
|
"(#{Regexp.last_match[1].gsub(',', '|')})"
|
151
152
|
end
|
153
|
+
.gsub(/\A\./, '(?!\.).')
|
152
154
|
dir.matches(/\A#{regex_body}\Z/)
|
153
155
|
end
|
154
156
|
|
data/lib/fakefs/file_test.rb
CHANGED
data/lib/fakefs/fileutils.rb
CHANGED
@@ -6,7 +6,26 @@ module FakeFS
|
|
6
6
|
def mkdir_p(list, _options = {})
|
7
7
|
list = [list] unless list.is_a?(Array)
|
8
8
|
list.each do |path|
|
9
|
+
# FileSystem.add call adds all the necessary parent directories but
|
10
|
+
# can't set their mode. Thus, we have to collect created directories
|
11
|
+
# here and set the mode later.
|
12
|
+
if _options[:mode]
|
13
|
+
created_dirs = []
|
14
|
+
dir = path
|
15
|
+
|
16
|
+
until Dir.exists?(dir)
|
17
|
+
created_dirs << dir
|
18
|
+
dir = File.dirname(dir)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
9
22
|
FileSystem.add(path, FakeDir.new)
|
23
|
+
|
24
|
+
if _options[:mode]
|
25
|
+
created_dirs.each do |dir|
|
26
|
+
File.chmod(_options[:mode], dir)
|
27
|
+
end
|
28
|
+
end
|
10
29
|
end
|
11
30
|
end
|
12
31
|
|
@@ -44,11 +63,13 @@ module FakeFS
|
|
44
63
|
(!options[:force] && fail(Errno::ENOENT, path))
|
45
64
|
end
|
46
65
|
end
|
47
|
-
|
48
|
-
alias_method :rm_rf, :rm
|
49
66
|
alias_method :rm_r, :rm
|
50
67
|
alias_method :rm_f, :rm
|
51
68
|
alias_method :remove, :rm
|
69
|
+
|
70
|
+
def rm_rf(list, options = {})
|
71
|
+
rm_r(list, options.merge(:force => true))
|
72
|
+
end
|
52
73
|
alias_method :rmtree, :rm_rf
|
53
74
|
alias_method :safe_unlink, :rm_f
|
54
75
|
alias_method :remove_entry_secure, :rm_rf
|
data/lib/fakefs/kernel.rb
CHANGED
@@ -9,12 +9,14 @@ module FakeFS
|
|
9
9
|
|
10
10
|
def self.hijack!
|
11
11
|
captives[:hijacked].each do |name, prc|
|
12
|
+
::Kernel.send(:remove_method, name.to_sym)
|
12
13
|
::Kernel.send(:define_method, name.to_sym, &prc)
|
13
14
|
end
|
14
15
|
end
|
15
16
|
|
16
17
|
def self.unhijack!
|
17
18
|
captives[:original].each do |name, _prc|
|
19
|
+
::Kernel.send(:remove_method, name.to_sym)
|
18
20
|
::Kernel.send(:define_method, name.to_sym, proc do |*args, &block|
|
19
21
|
::FakeFS::Kernel.captives[:original][name].call(*args, &block)
|
20
22
|
end)
|
data/lib/fakefs/pathname.rb
CHANGED
@@ -587,13 +587,13 @@ module FakeFS
|
|
587
587
|
base_directory = base_directory.cleanpath.to_s
|
588
588
|
dest_prefix = dest_directory
|
589
589
|
dest_names = []
|
590
|
-
while (r = chop_basename(dest_prefix))
|
590
|
+
while (r = chop_basename(dest_prefix))
|
591
591
|
dest_prefix, basename = r
|
592
592
|
dest_names.unshift basename if basename != '.'
|
593
593
|
end
|
594
594
|
base_prefix = base_directory
|
595
595
|
base_names = []
|
596
|
-
while (r = chop_basename(base_prefix))
|
596
|
+
while (r = chop_basename(base_prefix))
|
597
597
|
base_prefix, basename = r
|
598
598
|
base_names.unshift basename if basename != '.'
|
599
599
|
end
|
data/lib/fakefs/version.rb
CHANGED
@@ -4,10 +4,11 @@ require 'fakefs/spec_helpers'
|
|
4
4
|
RSpec.configure do |c|
|
5
5
|
c.mock_with(:rspec)
|
6
6
|
c.include(FakeFS::SpecHelpers, fakefs: true)
|
7
|
+
c.disable_monkey_patching!
|
7
8
|
end
|
8
9
|
|
9
10
|
if RUBY_VERSION >= '2.1'
|
10
|
-
describe 'Find.find', fakefs: true do
|
11
|
+
RSpec.describe 'Find.find', fakefs: true do
|
11
12
|
it 'does not give an ArgumentError' do
|
12
13
|
FileUtils.mkdir_p('/tmp/foo')
|
13
14
|
found = Find.find('/tmp').to_a
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
# FakeFs module for tests
|
4
4
|
module FakeFS
|
5
|
-
describe SpecHelpers do
|
5
|
+
RSpec.describe SpecHelpers do
|
6
6
|
before do
|
7
7
|
@rspec_example_group = Class.new do
|
8
8
|
def self.before(_sym = :each)
|
@@ -18,29 +18,29 @@ module FakeFS
|
|
18
18
|
describe 'when extending' do
|
19
19
|
context 'before each' do
|
20
20
|
it 'should call it' do
|
21
|
-
@rspec_example_group.
|
21
|
+
expect(@rspec_example_group).to receive(:before).with(:each)
|
22
22
|
@rspec_example_group.extend FakeFS::SpecHelpers
|
23
23
|
end
|
24
24
|
|
25
25
|
it 'should call FakeFS.activate!' do
|
26
|
-
FakeFS.
|
26
|
+
expect(FakeFS).to receive(:activate!)
|
27
27
|
@rspec_example_group.extend FakeFS::SpecHelpers
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
31
|
context 'after each' do
|
32
32
|
it 'should call it' do
|
33
|
-
@rspec_example_group.
|
33
|
+
expect(@rspec_example_group).to receive(:after).with(:each)
|
34
34
|
@rspec_example_group.extend FakeFS::SpecHelpers
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should deactivate fakefs' do
|
38
|
-
FakeFS.
|
38
|
+
expect(FakeFS).to receive(:deactivate!)
|
39
39
|
@rspec_example_group.extend FakeFS::SpecHelpers
|
40
40
|
end
|
41
41
|
|
42
42
|
it 'should clear the fakefs filesystem for the next run' do
|
43
|
-
FakeFS::FileSystem.
|
43
|
+
expect(FakeFS::FileSystem).to receive(:clear)
|
44
44
|
@rspec_example_group.extend FakeFS::SpecHelpers
|
45
45
|
end
|
46
46
|
end
|
@@ -48,7 +48,7 @@ module FakeFS
|
|
48
48
|
|
49
49
|
describe 'when including' do
|
50
50
|
it 'should call before :each' do
|
51
|
-
@rspec_example_group.
|
51
|
+
expect(@rspec_example_group).to receive(:before)
|
52
52
|
@rspec_example_group.class_eval do
|
53
53
|
include FakeFS::SpecHelpers
|
54
54
|
end
|
@@ -59,29 +59,29 @@ module FakeFS
|
|
59
59
|
describe 'when extending' do
|
60
60
|
context 'before :all' do
|
61
61
|
it 'should call it' do
|
62
|
-
@rspec_example_group.
|
62
|
+
expect(@rspec_example_group).to receive(:before).with(:all)
|
63
63
|
@rspec_example_group.extend FakeFS::SpecHelpers::All
|
64
64
|
end
|
65
65
|
|
66
66
|
it 'should call FakeFS.activate!' do
|
67
|
-
FakeFS.
|
67
|
+
expect(FakeFS).to receive(:activate!)
|
68
68
|
@rspec_example_group.extend FakeFS::SpecHelpers::All
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
72
|
context 'after :all' do
|
73
73
|
it 'should call it' do
|
74
|
-
@rspec_example_group.
|
74
|
+
expect(@rspec_example_group).to receive(:after).with(:all)
|
75
75
|
@rspec_example_group.extend FakeFS::SpecHelpers::All
|
76
76
|
end
|
77
77
|
|
78
78
|
it 'should call FakeFS.deactivate!' do
|
79
|
-
FakeFS.
|
79
|
+
expect(FakeFS).to receive(:deactivate!)
|
80
80
|
@rspec_example_group.extend FakeFS::SpecHelpers::All
|
81
81
|
end
|
82
82
|
|
83
83
|
it 'should not call FakeFS::FileSystem.clear' do
|
84
|
-
FakeFS::FileSystem.
|
84
|
+
expect(FakeFS::FileSystem).to_not receive(:clear)
|
85
85
|
@rspec_example_group.extend FakeFS::SpecHelpers::All
|
86
86
|
end
|
87
87
|
end
|
@@ -90,7 +90,7 @@ module FakeFS
|
|
90
90
|
describe 'when including' do
|
91
91
|
context 'before :all' do
|
92
92
|
it 'should call it' do
|
93
|
-
@rspec_example_group.
|
93
|
+
expect(@rspec_example_group).to receive(:before)
|
94
94
|
@rspec_example_group.class_eval do
|
95
95
|
include FakeFS::SpecHelpers::All
|
96
96
|
end
|
data/test/fake/file_test.rb
CHANGED
@@ -95,4 +95,18 @@ class FakeFileTest < Test::Unit::TestCase
|
|
95
95
|
end
|
96
96
|
assert_equal "No such file or directory - #{path}", msg
|
97
97
|
end
|
98
|
+
|
99
|
+
def test_file_size_question_works
|
100
|
+
assert_nil FileTest.size?("does-not-exist.txt")
|
101
|
+
|
102
|
+
File.open("empty.txt", 'w') do |f|
|
103
|
+
f << ''
|
104
|
+
end
|
105
|
+
assert_nil FileTest.size?("empty.txt")
|
106
|
+
|
107
|
+
File.open("one-char.txt", 'w') do |f|
|
108
|
+
f << 'a'
|
109
|
+
end
|
110
|
+
assert_equal 1, FileTest.size?("one-char.txt")
|
111
|
+
end
|
98
112
|
end
|
data/test/fakefs_test.rb
CHANGED
@@ -117,6 +117,12 @@ class FakeFSTest < Test::Unit::TestCase
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
+
def test_unlink_doesnt_error_on_file_not_found_with_rm_rf
|
121
|
+
assert_nothing_raised do
|
122
|
+
FileUtils.rm_rf("/foo")
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
120
126
|
def test_can_delete_directories
|
121
127
|
FileUtils.mkdir_p('/path/to/dir')
|
122
128
|
FileUtils.rmdir('/path/to/dir')
|
@@ -136,7 +142,6 @@ class FakeFSTest < Test::Unit::TestCase
|
|
136
142
|
assert FileUtils.respond_to?(:rm_f)
|
137
143
|
assert FileUtils.respond_to?(:rm_r)
|
138
144
|
assert FileUtils.respond_to?(:rm)
|
139
|
-
assert FileUtils.respond_to?(:rm_rf)
|
140
145
|
assert FileUtils.respond_to?(:symlink)
|
141
146
|
assert FileUtils.respond_to?(:move)
|
142
147
|
assert FileUtils.respond_to?(:copy)
|
@@ -867,6 +872,27 @@ class FakeFSTest < Test::Unit::TestCase
|
|
867
872
|
assert File.file?(path)
|
868
873
|
end
|
869
874
|
|
875
|
+
def test_size_returns_size
|
876
|
+
first_file = 'first.txt'
|
877
|
+
File.open(first_file, 'w') do |f|
|
878
|
+
f.write '12345678'
|
879
|
+
end
|
880
|
+
|
881
|
+
assert_equal File.size?(first_file), 8
|
882
|
+
|
883
|
+
File.open(first_file, 'w') do |f|
|
884
|
+
f.write 'abcd'
|
885
|
+
end
|
886
|
+
|
887
|
+
assert_equal File.size?(first_file), 4
|
888
|
+
|
889
|
+
second_file = 'second.txt'
|
890
|
+
File.open(second_file, 'w') do |f|
|
891
|
+
f.write '1'
|
892
|
+
end
|
893
|
+
assert_equal File.size?(second_file), 1
|
894
|
+
end
|
895
|
+
|
870
896
|
def test_File_io_returns_self
|
871
897
|
f = File.open('foo', 'w')
|
872
898
|
assert_equal f, f.to_io
|
@@ -1002,6 +1028,7 @@ class FakeFSTest < Test::Unit::TestCase
|
|
1002
1028
|
FileUtils.mkdir_p '/path'
|
1003
1029
|
File.open('/path/foo', 'w') { |f| f.write 'foo' }
|
1004
1030
|
File.open('/path/foobar', 'w') { |f| f.write 'foo' }
|
1031
|
+
File.open('/path/.bar', 'w') { |f| f.write 'foo' }
|
1005
1032
|
|
1006
1033
|
FileUtils.mkdir_p '/path/bar'
|
1007
1034
|
File.open('/path/bar/baz', 'w') { |f| f.write 'foo' }
|
@@ -1009,6 +1036,9 @@ class FakeFSTest < Test::Unit::TestCase
|
|
1009
1036
|
FileUtils.cp_r '/path/bar', '/path/bar2'
|
1010
1037
|
|
1011
1038
|
assert_equal ['/path'], Dir['/path']
|
1039
|
+
assert_equal ['/path/.bar'], Dir['**/{.*}']
|
1040
|
+
assert_equal ['/path/.bar'], Dir['/path**/{.*}']
|
1041
|
+
assert_equal ['/path/.bar'], Dir['/path/{.*}']
|
1012
1042
|
assert_equal %w( /path/bar /path/bar2 /path/foo /path/foobar ), Dir['/path/*']
|
1013
1043
|
|
1014
1044
|
assert_equal ['/path/bar/baz'], Dir['/path/bar/*']
|
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
@@ -12,62 +12,62 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2015-01-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- -
|
21
|
+
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '1.3'
|
24
24
|
type: :development
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '1.3'
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
32
|
name: rake
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: '10.
|
37
|
+
version: '10.3'
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '10.
|
44
|
+
version: '10.3'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
46
|
name: rspec
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
|
-
- -
|
49
|
+
- - ~>
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '3.1'
|
52
52
|
type: :development
|
53
53
|
prerelease: false
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
55
55
|
requirements:
|
56
|
-
- -
|
56
|
+
- - ~>
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '3.1'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
60
|
name: rubocop
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
|
-
- -
|
63
|
+
- - ~>
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0.25'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
|
-
- -
|
70
|
+
- - ~>
|
71
71
|
- !ruby/object:Gem::Version
|
72
72
|
version: '0.25'
|
73
73
|
description: A fake filesystem. Use it in your tests.
|
@@ -77,16 +77,17 @@ executables: []
|
|
77
77
|
extensions: []
|
78
78
|
extra_rdoc_files: []
|
79
79
|
files:
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
80
|
+
- .autotest
|
81
|
+
- .gitignore
|
82
|
+
- .rspec
|
83
|
+
- .rubocop.yml
|
84
|
+
- .travis.yml
|
85
85
|
- CONTRIBUTORS
|
86
86
|
- Gemfile
|
87
87
|
- LICENSE
|
88
88
|
- README.markdown
|
89
89
|
- Rakefile
|
90
|
+
- etc/git-rank-contributors
|
90
91
|
- fakefs.gemspec
|
91
92
|
- lib/fakefs.rb
|
92
93
|
- lib/fakefs/base.rb
|
@@ -131,17 +132,17 @@ require_paths:
|
|
131
132
|
- lib
|
132
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
133
134
|
requirements:
|
134
|
-
- -
|
135
|
+
- - ! '>='
|
135
136
|
- !ruby/object:Gem::Version
|
136
137
|
version: '0'
|
137
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
139
|
requirements:
|
139
|
-
- -
|
140
|
+
- - ! '>='
|
140
141
|
- !ruby/object:Gem::Version
|
141
142
|
version: '0'
|
142
143
|
requirements: []
|
143
144
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.4.2
|
145
146
|
signing_key:
|
146
147
|
specification_version: 4
|
147
148
|
summary: A fake filesystem. Use it in your tests.
|