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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 4aa7c4007da60bdb125dbed5bf50f5dc670df248b48cfba659496e4786b2a3de
4
- data.tar.gz: b53b76897a46032659c18d2ee93e7caaca091f0947bfc54fb11d37927422fa07
2
+ SHA1:
3
+ metadata.gz: 7394892053e17114efa7dfb63444527df829dc6c
4
+ data.tar.gz: f598839360be70ef5c0ce255c4a00f1b1b73b2dd
5
5
  SHA512:
6
- metadata.gz: 693ca6d64b49e15d1c105d1bfe1f59d92a636445772e6bd155585aa918ca552bcfa287535da016e36cbc094511fb772410c641a3323e888bce4ee8ebe7d321c2
7
- data.tar.gz: 68dc13b60f16a15c336f0de4ca8df43e754548834fddb8afb582776b97612c39c4ca85a8bb455835b1322c0cc5437e1f42df905293dd0a5df4740a7833d98be2
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.3.0)
10
- minitest (5.10.3)
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.0.0)
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)
@@ -6,7 +6,7 @@ require_relative "email_reply_trimmer/email_header_matcher"
6
6
  require_relative "email_reply_trimmer/quote_matcher"
7
7
 
8
8
  class EmailReplyTrimmer
9
- VERSION = "0.1.9"
9
+ VERSION = "0.1.10"
10
10
 
11
11
  DELIMITER = "d"
12
12
  EMBEDDED = "b"
@@ -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}.+\s?[^@<>]+@[^@<>.]+\.[^@<>]+(?:[\s\S]{2})#{wrote}:/ :
71
- /^.*\d{4}.*?#{user}.*?(?:(?!#{wrote})[\s\S])*#{wrote}:/
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.9
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-01-17 00:00:00.000000000 Z
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.7.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.