buff-ignore 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/buff/ignore/errors.rb +4 -2
- data/lib/buff/ignore/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/buff/ignore/errors.rb
CHANGED
@@ -7,11 +7,13 @@ module Buff::Ignore
|
|
7
7
|
# @param [String] path
|
8
8
|
# the path where the ignore file was not found
|
9
9
|
def initialize(path)
|
10
|
-
@path =
|
10
|
+
@path = path
|
11
11
|
end
|
12
12
|
|
13
13
|
# @return [String]
|
14
|
-
def
|
14
|
+
def to_s
|
15
|
+
"No ignore file found at '#{File.expand_path(@path)}'!"
|
16
|
+
rescue
|
15
17
|
"No ignore file found at '#{@path}'!"
|
16
18
|
end
|
17
19
|
end
|
data/lib/buff/ignore/version.rb
CHANGED