harri 0.1.6 → 0.1.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 418f9dc38e28192e52c70ac1416ae7d2ae00ec65d08e3fee77393642b405b495
4
- data.tar.gz: 6dd40495bcca7ce62e5cfeb47df2febc0a7dff074e2313de376a1442f07f4fb6
3
+ metadata.gz: d816e0f90383b05e539f97379a4d10ddd8fb7a8f732e8bbcc8dbcdf3d74a5cce
4
+ data.tar.gz: 19dfa8b758eee350ff322830c74e90fbb4e0f0acf96e21ee019e7046d6318434
5
5
  SHA512:
6
- metadata.gz: f69050e2667d8f87cbc73a92d6facb8404852047a9caa92e746c54e07747817cef73d6b4b63755eaff80fa20640a2499209ba91f8560130d7c2bc2bfec2f0e49
7
- data.tar.gz: 63bc4062146d29e047559a217deecc9c4ef1da0011de3295f35c12a702e803e686c685faae4ce6fd031697b472bdfb28458306e0068a8b2eaabcc6b7984c3d9f
6
+ metadata.gz: 4b324c7e83d089a2e52cb76525bbe6e3f2ce51049f80b97191f38a7560cd4c1c55127877230302beedc2abf91e2a35d213a926dd44f7cc35e36dc4a1be250369
7
+ data.tar.gz: ae5e636af74479c371021a093610b5171708328514bfc418e41941cbc35235489499bee3aea79f79d73600ad5ae99c27e987fdf5db6b9a3b2cac3c3ce0121542
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- harri (0.1.6)
4
+ harri (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/harri/regexes.rb CHANGED
@@ -2,14 +2,14 @@ module Harri
2
2
  module Regexes
3
3
  # Intended to capture the first line of an error within GHC's output.
4
4
  START_ERROR_REGEX = %r{
5
- (.*\.hs) # filename
6
- : # literal colon
7
- \d+ # line number
8
- : # literal colon
9
- (\d+)(?:-(\d+))? # column number
10
- : # literal colon
11
- \s # space
12
- error:.* # literal "error:" with possible marker
5
+ (.*\.hs) # filename
6
+ : # literal colon
7
+ \d+ # line number
8
+ : # literal colon
9
+ (\d+)(?:-(?:\d+:)?(\d+))? # column number, with optional span (col-endCol or col-endLine:endCol)
10
+ : # literal colon
11
+ \s # space
12
+ error:.* # literal "error:" with possible marker
13
13
  }x
14
14
 
15
15
  # Intended to capture an unused import error within GHC's output.
@@ -18,7 +18,7 @@ module Harri
18
18
  : # literal colon
19
19
  \d+ # line number
20
20
  : # literal colon
21
- (\d+)(?:-(\d+))? # column number
21
+ (\d+)(?:-(?:\d+:)?(\d+))? # column number, with optional span (col-endCol or col-endLine:endCol)
22
22
  : # literal colon
23
23
  \s # space
24
24
  error: # literal "error:"
data/lib/harri/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Harri
4
4
  module Version
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,18 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - rhizomic
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-02-14 00:00:00.000000000 Z
10
+ date: 2026-03-30 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: 'Harri: HAskell Remove Redundant Imports. A way to get GHC to stop harrying
14
13
  you about them.'
15
- email:
16
14
  executables:
17
15
  - harri
18
16
  extensions: []
@@ -35,13 +33,11 @@ files:
35
33
  - lib/harri/regexes.rb
36
34
  - lib/harri/version.rb
37
35
  - sig/harri.rbs
38
- homepage:
39
36
  licenses:
40
37
  - MIT
41
38
  metadata:
42
39
  source_code_uri: https://github.com/rhizomic/harri
43
40
  changelog_uri: https://github.com/rhizomic/harri/blob/master/CHANGELOG.md
44
- post_install_message:
45
41
  rdoc_options: []
46
42
  require_paths:
47
43
  - lib
@@ -56,8 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
52
  - !ruby/object:Gem::Version
57
53
  version: '0'
58
54
  requirements: []
59
- rubygems_version: 3.5.22
60
- signing_key:
55
+ rubygems_version: 3.6.6
61
56
  specification_version: 4
62
57
  summary: Removes redundant Haskell imports.
63
58
  test_files: []