email_reply_parser 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 98e1bac1674bba91651df57c7b452bb9c6cfb584
4
+ data.tar.gz: f15b7f55825c920d92e596b5300b0b9bc4c00400
5
+ SHA512:
6
+ metadata.gz: d5d9ebf41085d9013eac3b200fc649c6204a2fa78174034fb5349eeb16458d2ed10ca79f4890d8530d5755a2c2edbd0b02fdabef7a93bd9cb6affec2942c3fad
7
+ data.tar.gz: d383f84811b6efca820978119d961df0a375ce6c9294a792a8818f7e8b3ec5f13b08985a5abd1d75478934eef074f7769e7e8dcc2d7c89846128a7a7f7867bdd
data/README.md CHANGED
@@ -11,6 +11,12 @@ See more at the [Rocco docs][rocco].
11
11
 
12
12
  [rocco]: http://help.github.com/code/email_reply_parser/
13
13
 
14
+ ##Usage
15
+
16
+ To parse reply body:
17
+
18
+ `parsed_body = EmailReplyParser.parse_reply(email_body)`
19
+
14
20
  ## Problem?
15
21
 
16
22
  If you have a question about the behavior and formatting of email replies on GitHub, check out [support][support]. If you have a specific issue regarding this library, then hit up the [Issues][issues].
@@ -86,18 +92,3 @@ Not everyone follows this convention:
86
92
  * Note: blah blah blah *
87
93
  **********************DISCLAIMER***********************************
88
94
 
89
-
90
-
91
- ### Strange Quoting
92
-
93
- Apparently, prefixing lines with `>` isn't universal either:
94
-
95
- Hello
96
-
97
- --
98
- Rick
99
-
100
- ________________________________________
101
- From: Bob [reply@reply.github.com]
102
- Sent: Monday, March 14, 2011 6:16 PM
103
- To: Rick
@@ -75,11 +75,13 @@ Gem::Specification.new do |s|
75
75
  test/emails/email_1_4.txt
76
76
  test/emails/email_1_5.txt
77
77
  test/emails/email_1_6.txt
78
+ test/emails/email_1_7.txt
78
79
  test/emails/email_2_1.txt
79
80
  test/emails/email_BlackBerry.txt
80
81
  test/emails/email_bullets.txt
81
82
  test/emails/email_iPhone.txt
82
83
  test/emails/email_multi_word_sent_from_my_mobile_device.txt
84
+ test/emails/email_one_is_not_on.txt
83
85
  test/emails/email_sent_from_my_not_signature.txt
84
86
  ]
85
87
  # = MANIFEST =
@@ -30,7 +30,7 @@ require 'strscan'
30
30
  #
31
31
  # [mail]: https://github.com/mikel/mail
32
32
  class EmailReplyParser
33
- VERSION = "0.5.3"
33
+ VERSION = "0.5.4"
34
34
 
35
35
  # Public: Splits an email body into a list of Fragments.
36
36
  #
@@ -262,4 +262,3 @@ class EmailReplyParser
262
262
  end
263
263
  end
264
264
  end
265
-
@@ -0,0 +1,12 @@
1
+ :+1:
2
+
3
+ On Tue, Sep 25, 2012 at 8:59 AM, Chris Wanstrath
4
+ <notifications@github.com>wrote:
5
+
6
+ > Steps 0-2 are in prod. Gonna let them sit for a bit then start cleaning up
7
+ > the old code with 3 & 4.
8
+ >
9
+ >
10
+ > Reply to this email directly or view it on GitHub.
11
+ >
12
+ >
@@ -0,0 +1,10 @@
1
+ Thank, this is really helpful.
2
+
3
+ One outstanding question I had:
4
+
5
+ Locally (on development), when I run...
6
+
7
+ On Oct 1, 2012, at 11:55 PM, Dave Tapley wrote:
8
+
9
+ > The good news is that I've found a much better query for lastLocation.
10
+ >
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email_reply_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
5
- prerelease:
4
+ version: 0.5.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rick Olson
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
11
+ date: 2013-12-09 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Long description. Maybe copied from the README.
15
14
  email: technoweenie@gmail.com
@@ -32,34 +31,35 @@ files:
32
31
  - test/emails/email_1_4.txt
33
32
  - test/emails/email_1_5.txt
34
33
  - test/emails/email_1_6.txt
34
+ - test/emails/email_1_7.txt
35
35
  - test/emails/email_2_1.txt
36
36
  - test/emails/email_BlackBerry.txt
37
37
  - test/emails/email_bullets.txt
38
38
  - test/emails/email_iPhone.txt
39
39
  - test/emails/email_multi_word_sent_from_my_mobile_device.txt
40
+ - test/emails/email_one_is_not_on.txt
40
41
  - test/emails/email_sent_from_my_not_signature.txt
41
42
  homepage: http://github.com/github/email_reply_parser
42
43
  licenses: []
44
+ metadata: {}
43
45
  post_install_message:
44
46
  rdoc_options:
45
47
  - --charset=UTF-8
46
48
  require_paths:
47
49
  - lib
48
50
  required_ruby_version: !ruby/object:Gem::Requirement
49
- none: false
50
51
  requirements:
51
- - - ! '>='
52
+ - - '>='
52
53
  - !ruby/object:Gem::Version
53
54
  version: '0'
54
55
  required_rubygems_version: !ruby/object:Gem::Requirement
55
- none: false
56
56
  requirements:
57
- - - ! '>='
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '0'
60
60
  requirements: []
61
61
  rubyforge_project: email_reply_parser
62
- rubygems_version: 1.8.23
62
+ rubygems_version: 2.0.3
63
63
  signing_key:
64
64
  specification_version: 2
65
65
  summary: Short description used in Gem listings.