fast_ignore 0.15.1 → 0.15.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4899762ee54c59acb1fa001e7f36a3aada9299dd3896814def76605f1af88bb0
4
- data.tar.gz: adec5396184fa9a6012c7292726783ea7c823866f7223894de6eec8c199b9679
3
+ metadata.gz: 9992ae13ee95ee05f55cceda56e5bd1c4210d5817be17d9116193787ac658d38
4
+ data.tar.gz: '093e221a737476e92c0c6cf1b6632abb4da103ea01ee3d0f66acf067011f092c'
5
5
  SHA512:
6
- metadata.gz: 664b6792d6205c3f15b3f0e045d01cff9540a6bf2b88e76ea10ea3b606cb9ba7d8be1ee48873bf96c162e8f1446fc93d491d01888410da8fb5d55fc26ae74290
7
- data.tar.gz: 01fec165029777a3f0065a2362b1acba9ef9b745d53cb06c26760184597a1155a535e8c60c3b3879a5b09635ec6670bbfa49504285e740909d61e249d2556bcc
6
+ metadata.gz: 78db62b2bfa57b7b509b6f326f3b4f3f7371336bf30caa46c2d1b3ccc4086e2bbdb7abf3cc843700d4a93ff82f368a829e0c05da0ceae52f0e8ab2af4eaa32bd
7
+ data.tar.gz: c0df1d280a71bb7140076d39774a96728f2a1c8e29b756216211467a05eb93f7a3001c4472dc47155d0b57ec40d4d65f83c0f4f813014c01f55f7b9e03ffac67
@@ -1,3 +1,6 @@
1
+ # v0.15.2
2
+ - Updated methods with multiple `_` arguments to have different names to make sorbet happy
3
+
1
4
  # v0.15.1
2
5
  - Updated dependencies to allow running on ruby 3.0.0.preview1
3
6
 
@@ -58,7 +58,7 @@ class FastIgnore
58
58
  end
59
59
  # :nocov:
60
60
 
61
- def match?(relative_path, _, _, _)
61
+ def match?(relative_path, _full_path, _filename, _content)
62
62
  @rule.match?(relative_path)
63
63
  end
64
64
  end
@@ -46,9 +46,9 @@ class FastIgnore
46
46
  end
47
47
  # :nocov:
48
48
 
49
- def match?(path, full_path, filename, content)
49
+ def match?(relative_path, full_path, filename, content)
50
50
  return false if filename.include?('.')
51
- return false unless (not @file_path_pattern) || @file_path_pattern.match?(path)
51
+ return false unless (not @file_path_pattern) || @file_path_pattern.match?(relative_path)
52
52
 
53
53
  (content || first_line(full_path))&.match?(@rule)
54
54
  end
@@ -33,7 +33,7 @@ class FastIgnore
33
33
  end
34
34
  # :nocov:
35
35
 
36
- def match?(_, _, _, _)
36
+ def match?(_relative_path, _full_path, _filename, _content)
37
37
  false
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class FastIgnore
4
- VERSION = '0.15.1'
4
+ VERSION = '0.15.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_ignore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dana Sherson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-25 00:00:00.000000000 Z
11
+ date: 2020-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.2
33
+ version: 0.4.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.2
40
+ version: 0.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement