buff-ignore 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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