email_reply_trimmer 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +3 -3
- data/lib/email_reply_trimmer.rb +1 -1
- data/lib/email_reply_trimmer/embedded_email_matcher.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7394892053e17114efa7dfb63444527df829dc6c
|
4
|
+
data.tar.gz: f598839360be70ef5c0ce255c4a00f1b1b73b2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f27fda91801b09d266821ffa643421832efb3c729872b4e65ed1d7122858ff08bef7745be6216e8ab0b870a07b4ef0c7eeb87e3b1252cef60f52e2f1e0a31ac9
|
7
|
+
data.tar.gz: 1bd713d10c0294a6dd9fc1865e3d31a8c76dd4025807b1ca554c58bd52176f1d262eaf57ee029484c6c0dd0a700d071714c7c83d2a1b112820894846269b4eed
|
data/Gemfile.lock
CHANGED
@@ -6,14 +6,14 @@ PATH
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
ast (2.
|
10
|
-
minitest (5.
|
9
|
+
ast (2.4.0)
|
10
|
+
minitest (5.11.3)
|
11
11
|
parallel (1.12.1)
|
12
12
|
parser (2.4.0.2)
|
13
13
|
ast (~> 2.3)
|
14
14
|
powerpack (0.1.1)
|
15
15
|
rainbow (3.0.0)
|
16
|
-
rake (12.
|
16
|
+
rake (12.3.0)
|
17
17
|
rubocop (0.52.1)
|
18
18
|
parallel (~> 1.10)
|
19
19
|
parser (>= 2.4.0.2, < 3.0)
|
data/lib/email_reply_trimmer.rb
CHANGED
@@ -67,8 +67,8 @@ class EmbeddedEmailMatcher
|
|
67
67
|
|
68
68
|
DATE_SOMEONE_WROTE_REGEXES = DATE_SOMEONE_WROTE_MARKERS.map do |user, wrote|
|
69
69
|
user.size == 0 ?
|
70
|
-
/^.*\d{4}.+\
|
71
|
-
/^.*\d{4}
|
70
|
+
/^.*\d{4}.+\n?.*#{wrote}:/ :
|
71
|
+
/^.*\d{4}.+#{user}.*\n?.*#{wrote}:/
|
72
72
|
end
|
73
73
|
|
74
74
|
# Max Mustermann <try_discourse@discoursemail.com> schrieb am Fr., 28. Apr. 2017 um 11:53 Uhr:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: email_reply_trimmer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Régis Hanol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -289,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
289
|
version: '0'
|
290
290
|
requirements: []
|
291
291
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.
|
292
|
+
rubygems_version: 2.6.14
|
293
293
|
signing_key:
|
294
294
|
specification_version: 4
|
295
295
|
summary: Library to trim replies from plain text email.
|