exegesis 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,21 +29,19 @@ module Exegesis
29
29
  def directories
30
30
  content.
31
31
  select { |s| fs_interface.directory?(s) }.
32
- map { |s| Directory.create(parent, fs_interface.basename(s), fs_interface) }
32
+ map { |s| Directory.create(parent, fs_interface.basename(s)) }
33
33
  end
34
34
 
35
35
  #All of the files in the given path
36
36
  def files
37
37
  content.
38
38
  select { |s| fs_interface.file?(s) }.
39
- map { |s| SourceFile.create(parent, fs_interface.basename(s), fs_interface) }
39
+ map { |s| SourceFile.create(parent, fs_interface.basename(s)) }
40
40
  end
41
41
 
42
42
  #All of the content from the given path
43
43
  def content
44
- #XXX: this is toast. should probably be defined per includer, or it just
45
- #proxies up to the parent, which is always a [Directory]
46
- Dir[fs_interface.join(parent.path, '*')]
44
+ Dir[File.join(parent.path, '*')]
47
45
  end
48
46
 
49
47
  def inspect
@@ -1,4 +1,4 @@
1
1
  module Exegesis
2
2
  #@private
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: exegesis
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.6
5
+ version: 0.0.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Joe Fredette