garaj 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/garaj/project.rb +2 -2
- data/lib/garaj/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/garaj/project.rb
CHANGED
@@ -44,7 +44,7 @@ module Garaj
|
|
44
44
|
def files_at(relative_path)
|
45
45
|
files = []
|
46
46
|
Dir.foreach(full_path_to(relative_path)) do |entry|
|
47
|
-
if !path_is_dir?("#{relative_path
|
47
|
+
if !path_is_dir?("#{relative_path}/#{entry}") and not_ignored?(entry)
|
48
48
|
files << entry
|
49
49
|
end
|
50
50
|
end
|
@@ -55,7 +55,7 @@ module Garaj
|
|
55
55
|
def dirs_at(relative_path)
|
56
56
|
dirs = []
|
57
57
|
Dir.foreach(full_path_to(relative_path)) do |entry|
|
58
|
-
if path_is_dir?("#{relative_path
|
58
|
+
if path_is_dir?("#{relative_path}/#{entry}") and not_ignored?(entry)
|
59
59
|
dirs << entry
|
60
60
|
end
|
61
61
|
end
|
data/lib/garaj/version.rb
CHANGED