lp_email_reply_parser 0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +22 -0
- data/README.md +68 -0
- data/Rakefile +135 -0
- data/lib/email_reply_parser.rb +448 -0
- data/lp_email_reply_parser.gemspec +77 -0
- data/test/email_reply_parser_test.rb +431 -0
- data/test/emails/correct_sig.txt +4 -0
- data/test/emails/email_1_1.txt +13 -0
- data/test/emails/email_1_2.txt +51 -0
- data/test/emails/email_1_3.txt +55 -0
- data/test/emails/email_1_4.txt +5 -0
- data/test/emails/email_1_5.txt +15 -0
- data/test/emails/email_1_6.txt +15 -0
- data/test/emails/email_1_7.txt +12 -0
- data/test/emails/email_1_8.txt +6 -0
- data/test/emails/email_1_9.txt +9 -0
- data/test/emails/email_2_1.txt +25 -0
- data/test/emails/email_2_2.txt +10 -0
- data/test/emails/email_2_3.txt +14 -0
- data/test/emails/email_2_4.txt +14 -0
- data/test/emails/email_2_5.txt +15 -0
- data/test/emails/email_2_6.txt +11 -0
- data/test/emails/email_2_7.txt +5 -0
- data/test/emails/email_2_8.txt +4 -0
- data/test/emails/email_2_9.txt +9 -0
- data/test/emails/email_2nd_paragraph_starting_with_on.txt +12 -0
- data/test/emails/email_BlackBerry.txt +3 -0
- data/test/emails/email_bullets.txt +22 -0
- data/test/emails/email_from_address_in_quote_header.txt +12 -0
- data/test/emails/email_from_name_in_quote_header.txt +12 -0
- data/test/emails/email_hyphens.txt +5 -0
- data/test/emails/email_iPhone.txt +3 -0
- data/test/emails/email_mentions_own_email_address.txt +6 -0
- data/test/emails/email_mentions_own_name.txt +6 -0
- data/test/emails/email_multi_word_sent_from_my_mobile_device.txt +3 -0
- data/test/emails/email_multiline_quote_header_es_mx.txt +8 -0
- data/test/emails/email_multiline_quote_header_fr.txt +8 -0
- data/test/emails/email_multiline_quote_header_from_first.txt +11 -0
- data/test/emails/email_multiline_quote_header_from_replyto_date_to_subject.txt +12 -0
- data/test/emails/email_multiline_quote_header_from_to_date_subject.txt +11 -0
- data/test/emails/email_multiline_quote_header_none.txt +11 -0
- data/test/emails/email_multiline_quote_header_pt_br.txt +8 -0
- data/test/emails/email_multiline_quote_header_with_asterisks.txt +21 -0
- data/test/emails/email_multiline_quote_header_with_cc.txt +9 -0
- data/test/emails/email_multiline_quote_header_with_multiline_headers.txt +14 -0
- data/test/emails/email_no_signature_deliminator.txt +7 -0
- data/test/emails/email_no_signature_deliminator_adds_a_middle_initial.txt +7 -0
- data/test/emails/email_one_is_not_on.txt +10 -0
- data/test/emails/email_sent_from_my_not_signature.txt +3 -0
- data/test/emails/email_was_showing_as_nothing_visible.txt +13 -0
- metadata +143 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
I have gained valuable experience from working with students from other cultures. They bring a significantly different perspective to the work we do. I have also had the opportunity to practice making myself very clear in discussion, so that everyone understands. I've also seen how different our culture is to them, in their reactions to what I think is a normal approach to assignments, and to life in general.
|
2
|
+
|
3
|
+
From: john@example.com
|
4
|
+
Sent: Tue, 2 Oct 2012 02:35:10 +0000
|
5
|
+
To: shelly@example.com
|
6
|
+
Subject: Tell us what you learned.
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,12 @@
|
|
1
|
+
Foo!
|
2
|
+
|
3
|
+
From: john@example.com
|
4
|
+
Reply-To: john@example.com
|
5
|
+
Sent: Tue, 2 Oct 2012 02:35:10 +0000
|
6
|
+
To: shelly@example.com
|
7
|
+
Subject: Tell us what you learned.
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Outlook with a reply
|
2
|
+
|
3
|
+
*From:* Google Apps Sync Team [mailto:mail-noreply@google.com]
|
4
|
+
*Sent:* Thursday, February 09, 2012 1:36 PM
|
5
|
+
*To:* jow@xxxx.com
|
6
|
+
*Subject:* Google Apps Sync was updated!
|
7
|
+
|
8
|
+
|
9
|
+
Dear Google Apps Sync user,
|
10
|
+
|
11
|
+
Google Apps Sync for Microsoft Outlook® was recently updated. Your computer
|
12
|
+
now has the latest version (version 2.5). This release includes bug fixes
|
13
|
+
to improve product reliability. For more information about these and other
|
14
|
+
changes, please see the help article here:
|
15
|
+
|
16
|
+
http://www.google.com/support/a/bin/answer.py?answer=153463
|
17
|
+
|
18
|
+
Sincerely,
|
19
|
+
|
20
|
+
The Google Apps Sync Team.
|
21
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
Foo
|
2
|
+
|
3
|
+
Subject: [ERROR] Example unavailable:
|
4
|
+
(ExampleClassName::SomeError) "Etiam dignissim imperdiet metus.
|
5
|
+
error, unexpected $duh near 't'"
|
6
|
+
Date: Fri, 01 Feb 2013 07:50:06 +0000
|
7
|
+
cc: esther@example.com
|
8
|
+
mathias@example.com
|
9
|
+
ok@example.com
|
10
|
+
From: Application Error <noreply@example.com>
|
11
|
+
Reply-To: Example <noreply@example.com>
|
12
|
+
To: alert@example.com
|
13
|
+
|
14
|
+
Thank you for recently participating in our class. We're interested in feedback. Please reply to this email.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
On Friday, one achievement I had was learning a new technology that allows us
|
2
|
+
to keep UI elements and events separated from the software on the
|
3
|
+
server side, which should allow for more flexible UI code and
|
4
|
+
decreased chances of code becoming a swarm of angry hornets. I've
|
5
|
+
been transparent about the initial increased development time while
|
6
|
+
learning the technology.
|
7
|
+
|
8
|
+
On Wed, Apr 4, 2012 at 9:32 AM, Bob Jones <bjones@gmail.com> wrote:
|
9
|
+
> We are still very interested in achievements you’ve had from participating
|
10
|
+
> in our initiative. When you have a chance, please reply to this
|
11
|
+
> email and describe what you have done.
|
12
|
+
>
|
13
|
+
|
metadata
ADDED
@@ -0,0 +1,143 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lp_email_reply_parser
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.6'
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Rick Olson
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-02-02 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: EmailReplyParser is a small library to parse plain text email content
|
15
|
+
to return only the reply.
|
16
|
+
email: technoweenie@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files:
|
20
|
+
- README.md
|
21
|
+
- LICENSE
|
22
|
+
files:
|
23
|
+
- lib/email_reply_parser.rb
|
24
|
+
- LICENSE
|
25
|
+
- README.md
|
26
|
+
- Rakefile
|
27
|
+
- lp_email_reply_parser.gemspec
|
28
|
+
- test/email_reply_parser_test.rb
|
29
|
+
- test/emails/correct_sig.txt
|
30
|
+
- test/emails/email_1_1.txt
|
31
|
+
- test/emails/email_1_2.txt
|
32
|
+
- test/emails/email_1_3.txt
|
33
|
+
- test/emails/email_1_4.txt
|
34
|
+
- test/emails/email_1_5.txt
|
35
|
+
- test/emails/email_1_6.txt
|
36
|
+
- test/emails/email_1_7.txt
|
37
|
+
- test/emails/email_1_8.txt
|
38
|
+
- test/emails/email_1_9.txt
|
39
|
+
- test/emails/email_2_1.txt
|
40
|
+
- test/emails/email_2_2.txt
|
41
|
+
- test/emails/email_2_3.txt
|
42
|
+
- test/emails/email_2_4.txt
|
43
|
+
- test/emails/email_2_5.txt
|
44
|
+
- test/emails/email_2_6.txt
|
45
|
+
- test/emails/email_2_7.txt
|
46
|
+
- test/emails/email_2_8.txt
|
47
|
+
- test/emails/email_2_9.txt
|
48
|
+
- test/emails/email_2nd_paragraph_starting_with_on.txt
|
49
|
+
- test/emails/email_BlackBerry.txt
|
50
|
+
- test/emails/email_bullets.txt
|
51
|
+
- test/emails/email_from_address_in_quote_header.txt
|
52
|
+
- test/emails/email_from_name_in_quote_header.txt
|
53
|
+
- test/emails/email_hyphens.txt
|
54
|
+
- test/emails/email_iPhone.txt
|
55
|
+
- test/emails/email_mentions_own_email_address.txt
|
56
|
+
- test/emails/email_mentions_own_name.txt
|
57
|
+
- test/emails/email_multi_word_sent_from_my_mobile_device.txt
|
58
|
+
- test/emails/email_multiline_quote_header_es_mx.txt
|
59
|
+
- test/emails/email_multiline_quote_header_fr.txt
|
60
|
+
- test/emails/email_multiline_quote_header_from_first.txt
|
61
|
+
- test/emails/email_multiline_quote_header_from_replyto_date_to_subject.txt
|
62
|
+
- test/emails/email_multiline_quote_header_from_to_date_subject.txt
|
63
|
+
- test/emails/email_multiline_quote_header_none.txt
|
64
|
+
- test/emails/email_multiline_quote_header_pt_br.txt
|
65
|
+
- test/emails/email_multiline_quote_header_with_asterisks.txt
|
66
|
+
- test/emails/email_multiline_quote_header_with_cc.txt
|
67
|
+
- test/emails/email_multiline_quote_header_with_multiline_headers.txt
|
68
|
+
- test/emails/email_no_signature_deliminator.txt
|
69
|
+
- test/emails/email_no_signature_deliminator_adds_a_middle_initial.txt
|
70
|
+
- test/emails/email_one_is_not_on.txt
|
71
|
+
- test/emails/email_sent_from_my_not_signature.txt
|
72
|
+
- test/emails/email_was_showing_as_nothing_visible.txt
|
73
|
+
homepage: http://github.com/github/email_reply_parser
|
74
|
+
licenses: []
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options:
|
77
|
+
- --charset=UTF-8
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ! '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
|
+
requirements: []
|
93
|
+
rubyforge_project: email_reply_parser
|
94
|
+
rubygems_version: 1.8.25
|
95
|
+
signing_key:
|
96
|
+
specification_version: 2
|
97
|
+
summary: Email Reply Parser
|
98
|
+
test_files:
|
99
|
+
- test/email_reply_parser_test.rb
|
100
|
+
- test/emails/correct_sig.txt
|
101
|
+
- test/emails/email_1_1.txt
|
102
|
+
- test/emails/email_1_2.txt
|
103
|
+
- test/emails/email_1_3.txt
|
104
|
+
- test/emails/email_1_4.txt
|
105
|
+
- test/emails/email_1_5.txt
|
106
|
+
- test/emails/email_1_6.txt
|
107
|
+
- test/emails/email_1_7.txt
|
108
|
+
- test/emails/email_1_8.txt
|
109
|
+
- test/emails/email_1_9.txt
|
110
|
+
- test/emails/email_2_1.txt
|
111
|
+
- test/emails/email_2_2.txt
|
112
|
+
- test/emails/email_2_3.txt
|
113
|
+
- test/emails/email_2_4.txt
|
114
|
+
- test/emails/email_2_5.txt
|
115
|
+
- test/emails/email_2_6.txt
|
116
|
+
- test/emails/email_2_7.txt
|
117
|
+
- test/emails/email_2_8.txt
|
118
|
+
- test/emails/email_2_9.txt
|
119
|
+
- test/emails/email_2nd_paragraph_starting_with_on.txt
|
120
|
+
- test/emails/email_BlackBerry.txt
|
121
|
+
- test/emails/email_bullets.txt
|
122
|
+
- test/emails/email_from_address_in_quote_header.txt
|
123
|
+
- test/emails/email_from_name_in_quote_header.txt
|
124
|
+
- test/emails/email_hyphens.txt
|
125
|
+
- test/emails/email_iPhone.txt
|
126
|
+
- test/emails/email_mentions_own_email_address.txt
|
127
|
+
- test/emails/email_mentions_own_name.txt
|
128
|
+
- test/emails/email_multi_word_sent_from_my_mobile_device.txt
|
129
|
+
- test/emails/email_multiline_quote_header_es_mx.txt
|
130
|
+
- test/emails/email_multiline_quote_header_fr.txt
|
131
|
+
- test/emails/email_multiline_quote_header_from_first.txt
|
132
|
+
- test/emails/email_multiline_quote_header_from_replyto_date_to_subject.txt
|
133
|
+
- test/emails/email_multiline_quote_header_from_to_date_subject.txt
|
134
|
+
- test/emails/email_multiline_quote_header_none.txt
|
135
|
+
- test/emails/email_multiline_quote_header_pt_br.txt
|
136
|
+
- test/emails/email_multiline_quote_header_with_asterisks.txt
|
137
|
+
- test/emails/email_multiline_quote_header_with_cc.txt
|
138
|
+
- test/emails/email_multiline_quote_header_with_multiline_headers.txt
|
139
|
+
- test/emails/email_no_signature_deliminator.txt
|
140
|
+
- test/emails/email_no_signature_deliminator_adds_a_middle_initial.txt
|
141
|
+
- test/emails/email_one_is_not_on.txt
|
142
|
+
- test/emails/email_sent_from_my_not_signature.txt
|
143
|
+
- test/emails/email_was_showing_as_nothing_visible.txt
|