runger_email_reply_trimmer 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +44 -24
- data/bin/release +2 -2
- data/bin/rubocop +2 -2
- data/lib/runger_email_reply_trimmer/email_header_matcher.rb +2 -2
- data/lib/runger_email_reply_trimmer/version.rb +1 -1
- data/personal/installer_executables/ruby.sh +3 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2742b02c24184bd347830c2f3921efe6708c6477233fe415f87c271504fc007f
|
4
|
+
data.tar.gz: 99c8b9f24bcd69a4c6a57f95a61436204fbd3e511f40349c19243ac7350e8c40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53c85b000ddda6c4b289f764f1c8002f9c717fd7d6139df4afeef921bc16e559c78322db145cb0f69dcecc81e8951e6b76f3bb0edf6c0df4b06fd386f6f7bf0c
|
7
|
+
data.tar.gz: 21a1cc3fad038e21cebc45af4e489452f6ba2e89e12721d33946f4da53fbdc9642de7e0447490b9029b49b78c8dbc1a9e23e4b68c1e6f59ea0927f1846922f14
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
ruby file: '.ruby-version'
|
4
|
+
|
3
5
|
source 'https://rubygems.org'
|
4
6
|
|
5
7
|
# Specify your gem's dependencies in runger_email_reply_trimmer.gemspec
|
@@ -11,7 +13,7 @@ end
|
|
11
13
|
|
12
14
|
group :development, :test do
|
13
15
|
gem 'minitest', '~> 5', require: false
|
14
|
-
gem 'rake', '~>
|
16
|
+
gem 'rake', '~> 13', require: false
|
15
17
|
gem 'rubocop', require: false
|
16
18
|
gem 'runger_style', require: false
|
17
19
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,55 +1,72 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
runger_email_reply_trimmer (0.
|
4
|
+
runger_email_reply_trimmer (0.3.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
activesupport (7.
|
9
|
+
activesupport (7.1.3.4)
|
10
|
+
base64
|
11
|
+
bigdecimal
|
10
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
connection_pool (>= 2.2.5)
|
14
|
+
drb
|
11
15
|
i18n (>= 1.6, < 2)
|
12
16
|
minitest (>= 5.1)
|
17
|
+
mutex_m
|
13
18
|
tzinfo (~> 2.0)
|
14
19
|
ast (2.4.2)
|
15
|
-
|
16
|
-
|
17
|
-
|
20
|
+
base64 (0.2.0)
|
21
|
+
bigdecimal (3.1.8)
|
22
|
+
concurrent-ruby (1.3.3)
|
23
|
+
connection_pool (2.4.1)
|
24
|
+
drb (2.2.1)
|
25
|
+
i18n (1.14.5)
|
18
26
|
concurrent-ruby (~> 1.0)
|
19
|
-
json (2.
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
27
|
+
json (2.7.2)
|
28
|
+
language_server-protocol (3.17.0.3)
|
29
|
+
memo_wise (1.9.0)
|
30
|
+
minitest (5.23.1)
|
31
|
+
mutex_m (0.2.0)
|
32
|
+
parallel (1.25.1)
|
33
|
+
parser (3.3.3.0)
|
24
34
|
ast (~> 2.4.1)
|
35
|
+
racc
|
36
|
+
prism (0.30.0)
|
37
|
+
racc (1.8.0)
|
25
38
|
rainbow (3.1.1)
|
26
|
-
rake (
|
27
|
-
regexp_parser (2.
|
28
|
-
rexml (3.
|
29
|
-
|
39
|
+
rake (13.2.1)
|
40
|
+
regexp_parser (2.9.2)
|
41
|
+
rexml (3.3.0)
|
42
|
+
strscan
|
43
|
+
rubocop (1.64.1)
|
30
44
|
json (~> 2.3)
|
45
|
+
language_server-protocol (>= 3.17.0)
|
31
46
|
parallel (~> 1.10)
|
32
|
-
parser (>= 3.
|
47
|
+
parser (>= 3.3.0.2)
|
33
48
|
rainbow (>= 2.2.2, < 4.0)
|
34
49
|
regexp_parser (>= 1.8, < 3.0)
|
35
50
|
rexml (>= 3.2.5, < 4.0)
|
36
|
-
rubocop-ast (>= 1.
|
51
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
37
52
|
ruby-progressbar (~> 1.7)
|
38
53
|
unicode-display_width (>= 2.4.0, < 3.0)
|
39
|
-
rubocop-ast (1.
|
40
|
-
parser (>= 3.
|
54
|
+
rubocop-ast (1.31.3)
|
55
|
+
parser (>= 3.3.1.0)
|
41
56
|
ruby-progressbar (1.13.0)
|
42
|
-
runger_release_assistant (0.
|
57
|
+
runger_release_assistant (0.8.0)
|
43
58
|
activesupport (>= 6, < 8)
|
44
|
-
colorize (~> 0.8)
|
45
59
|
memo_wise (>= 1.7, < 2)
|
60
|
+
rainbow (>= 3.0, < 4)
|
46
61
|
slop (~> 4.8)
|
47
|
-
runger_style (
|
62
|
+
runger_style (2.6.0)
|
63
|
+
prism (>= 0.24.0)
|
48
64
|
rubocop (>= 1.38.0, < 2)
|
49
65
|
slop (4.10.1)
|
66
|
+
strscan (3.1.0)
|
50
67
|
tzinfo (2.0.6)
|
51
68
|
concurrent-ruby (~> 1.0)
|
52
|
-
unicode-display_width (2.
|
69
|
+
unicode-display_width (2.5.0)
|
53
70
|
|
54
71
|
PLATFORMS
|
55
72
|
x86_64-darwin-20
|
@@ -57,11 +74,14 @@ PLATFORMS
|
|
57
74
|
|
58
75
|
DEPENDENCIES
|
59
76
|
minitest (~> 5)
|
60
|
-
rake (~>
|
77
|
+
rake (~> 13)
|
61
78
|
rubocop
|
62
79
|
runger_email_reply_trimmer!
|
63
80
|
runger_release_assistant
|
64
81
|
runger_style
|
65
82
|
|
83
|
+
RUBY VERSION
|
84
|
+
ruby 3.3.3p89
|
85
|
+
|
66
86
|
BUNDLED WITH
|
67
|
-
2.
|
87
|
+
2.5.11
|
data/bin/release
CHANGED
@@ -16,8 +16,8 @@ if File.file?(bundle_binstub)
|
|
16
16
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
|
-
abort(
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
19
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
data/bin/rubocop
CHANGED
@@ -16,8 +16,8 @@ if File.file?(bundle_binstub)
|
|
16
16
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
|
-
abort(
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
19
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -30,7 +30,7 @@ module EmailHeaderMatcher
|
|
30
30
|
|
31
31
|
EMAIL_HEADERS_WITH_DATE_REGEXES =
|
32
32
|
EMAIL_HEADERS_WITH_DATE_MARKERS.map do |header|
|
33
|
-
/^[[:blank:]*]*(?:#{header.join(
|
33
|
+
/^[[:blank:]*]*(?:#{header.join('|')})[[:blank:]*]*:.*\d+/
|
34
34
|
end
|
35
35
|
|
36
36
|
EMAIL_HEADERS_WITH_TEXT_MARKERS = [
|
@@ -58,7 +58,7 @@ module EmailHeaderMatcher
|
|
58
58
|
|
59
59
|
EMAIL_HEADERS_WITH_TEXT_REGEXES =
|
60
60
|
EMAIL_HEADERS_WITH_TEXT_MARKERS.map do |header|
|
61
|
-
/^[[:blank:]*]*(?:#{header.join(
|
61
|
+
/^[[:blank:]*]*(?:#{header.join('|')})[[:blank:]*]*:.*[[:word:]]+/i
|
62
62
|
end
|
63
63
|
|
64
64
|
EMAIL_HEADER_REGEXES = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: runger_email_reply_trimmer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-06-16 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: RungerEmailReplyTrimmer is a library to trim replies from plain text
|
15
15
|
email.
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- lib/runger_email_reply_trimmer/quote_matcher.rb
|
37
37
|
- lib/runger_email_reply_trimmer/signature_matcher.rb
|
38
38
|
- lib/runger_email_reply_trimmer/version.rb
|
39
|
+
- personal/installer_executables/ruby.sh
|
39
40
|
- runger_email_reply_trimmer.gemspec
|
40
41
|
- test/before/email_headers_1.txt
|
41
42
|
- test/before/email_headers_2.txt
|
@@ -269,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
270
|
- !ruby/object:Gem::Version
|
270
271
|
version: '0'
|
271
272
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.5.11
|
273
274
|
signing_key:
|
274
275
|
specification_version: 4
|
275
276
|
summary: Library to trim replies from plain text email.
|