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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/harri/regexes.rb +9 -9
- data/lib/harri/version.rb +1 -1
- metadata +3 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d816e0f90383b05e539f97379a4d10ddd8fb7a8f732e8bbcc8dbcdf3d74a5cce
|
|
4
|
+
data.tar.gz: 19dfa8b758eee350ff322830c74e90fbb4e0f0acf96e21ee019e7046d6318434
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b324c7e83d089a2e52cb76525bbe6e3f2ce51049f80b97191f38a7560cd4c1c55127877230302beedc2abf91e2a35d213a926dd44f7cc35e36dc4a1be250369
|
|
7
|
+
data.tar.gz: ae5e636af74479c371021a093610b5171708328514bfc418e41941cbc35235489499bee3aea79f79d73600ad5ae99c27e987fdf5db6b9a3b2cac3c3ce0121542
|
data/Gemfile.lock
CHANGED
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)
|
|
6
|
-
:
|
|
7
|
-
\d+
|
|
8
|
-
:
|
|
9
|
-
(\d+)(?:-(\d+))?
|
|
10
|
-
:
|
|
11
|
-
\s
|
|
12
|
-
error:.*
|
|
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+))?
|
|
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
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.
|
|
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:
|
|
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.
|
|
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: []
|