harri 0.1.6 → 0.1.8
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 +7 -11
- 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: 676b5f59c0afcc971b046b3c32b0787580bb5456012b95f481ccfe3746870ddd
|
|
4
|
+
data.tar.gz: be2f5cbd37312c23f2aaf73535e3912fa70baee1ed33f3c5c1882bc684425d2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eab1ee5025d960fc602f13b2490638bf32e15b0e778fb31c4ff7bf8d3795a5ebba98c40da4b59764d5495cecc81d3d554e240a600208ee679f4601903c7bac18
|
|
7
|
+
data.tar.gz: db94cfda327cae87a4df58e38a9b29a8d6508a585abdc4ac36a4c3ef163d27c2337101b7da952c9faefdabfd43a13b471cbf4e10817893ae6ea4d45711c235f6
|
data/Gemfile.lock
CHANGED
data/lib/harri/regexes.rb
CHANGED
|
@@ -2,23 +2,19 @@ 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
|
-
|
|
10
|
-
|
|
11
|
-
\s # space
|
|
12
|
-
error:.* # literal "error:" with possible marker
|
|
5
|
+
(.*\.hs) # filename
|
|
6
|
+
: # literal colon
|
|
7
|
+
(?:[:\(\),\d-]+?) # line and column number(s), with optional parens, dashes, and colons
|
|
8
|
+
: # literal colon
|
|
9
|
+
\s # space
|
|
10
|
+
error:.* # literal "error:" with possible marker
|
|
13
11
|
}x
|
|
14
12
|
|
|
15
13
|
# Intended to capture an unused import error within GHC's output.
|
|
16
14
|
UNUSED_IMPORT_ERROR_REGEX = %r{
|
|
17
15
|
.*\.hs # filename
|
|
18
16
|
: # literal colon
|
|
19
|
-
\d
|
|
20
|
-
: # literal colon
|
|
21
|
-
(\d+)(?:-(\d+))? # column number
|
|
17
|
+
(?:[:\(\),\d-]+?) # line and column number(s), with optional parens, dashes, and colons
|
|
22
18
|
: # literal colon
|
|
23
19
|
\s # space
|
|
24
20
|
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.8
|
|
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-04-02 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: []
|