buff-ignore 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/buff/ignore/ignore_file.rb +2 -2
- data/lib/buff/ignore/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -17,10 +17,10 @@ module Buff
|
|
17
17
|
# @raise [IgnoreFileNotFound]
|
18
18
|
# if the given filepath does not exist
|
19
19
|
#
|
20
|
-
# @param [
|
20
|
+
# @param [String, Pathname] filepath
|
21
21
|
# the path to the ignore file
|
22
22
|
def initialize(filepath)
|
23
|
-
@filepath = File.expand_path(filepath
|
23
|
+
@filepath = File.expand_path(filepath)
|
24
24
|
raise IgnoreFileNotFound.new(filepath) unless File.exists?(filepath)
|
25
25
|
end
|
26
26
|
|
data/lib/buff/ignore/version.rb
CHANGED