faketree 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/faketree.gemspec +1 -1
- data/lib/faketree.rb +2 -0
- data/lib/faketree/base.rb +3 -5
- data/lib/faketree/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab73fc98166f868a164260f4bf2c159e4e083239
|
4
|
+
data.tar.gz: c00fc0618e90f1bab8c9460897d0cd945d4c848a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59c460858947be1b5c54a89bdc1f60bedd27d62796b779055af562f80e3a2ad89ce294877825a9b6224a2818e3fe420bb2a06ca1bf85092a45960bf141937b50
|
7
|
+
data.tar.gz: 4a28bd5c71d8d003b97da3c691faaac97e137719e070b529e793057e600edcfdc6b76846eab6e5ccad19641be29babbdb69fcdcd81c412a4da03767a91bc2da1
|
data/faketree.gemspec
CHANGED
data/lib/faketree.rb
CHANGED
data/lib/faketree/base.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
require 'fakefs/safe'
|
2
|
-
|
3
1
|
module FakeTree
|
4
2
|
def self.start!(path_to_yaml)
|
5
|
-
|
3
|
+
tree_hash = YAML.load(File.read(path_to_yaml))
|
6
4
|
|
7
|
-
|
8
|
-
FakeTree::Runner.new.
|
5
|
+
FakeFS.activate!
|
6
|
+
FakeTree::Runner.new.start(tree_hash)
|
9
7
|
end
|
10
8
|
|
11
9
|
def self.stop!
|
data/lib/faketree/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION = '0.1.
|
1
|
+
module FakeTree
|
2
|
+
VERSION = '0.1.1'
|
3
3
|
end
|