extended_email_reply_parser 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +16 -2
- data/lib/extended_email_reply_parser.rb +1 -0
- data/lib/extended_email_reply_parser/mail/message.rb +1 -1
- data/lib/extended_email_reply_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28188e56db27a6bcfda9da4b4e07b47d0b03f23b
|
4
|
+
data.tar.gz: e0235a53fff960d3a28f249e9af03c0ec5fb61bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b91056d876d0bdf911044af2d4fe42ab09f35bf2c15a2ed94d1038437b2aad3d549d50392539dead1e93ebc4b27c169d84e8551c6c2205f2e4babfdb5b87941e
|
7
|
+
data.tar.gz: 251e200710616e637acab72fa755f5db39fb672c0c569a441ee07fba200c5c1143ea89b65631355f329b67d7794aac6d3ad72e67de96556725e2f82bb17ac313
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
10
10
|
### Removed
|
11
11
|
### Fixed
|
12
12
|
|
13
|
+
## ExtendedEmailReplyParser 0.3.1 (2016-07-26)
|
14
|
+
### Fixed
|
15
|
+
- Fixing issue "undefined `body_in_utf8` for `nil`".
|
13
16
|
|
14
17
|
## ExtendedEmailReplyParser 0.3.0 (2016-07-22)
|
15
18
|
### Added
|
data/README.md
CHANGED
@@ -40,10 +40,17 @@ This gem extends [Mail::Message](https://github.com/mikel/mail/blob/master/lib/m
|
|
40
40
|
message.extract_text
|
41
41
|
```
|
42
42
|
|
43
|
-
|
43
|
+
Or, to see where this comes from:
|
44
44
|
|
45
45
|
```ruby
|
46
|
-
ExtendedEmailReplyParser.
|
46
|
+
ExtendedEmailReplyParser.extract_text message
|
47
|
+
ExtendedEmailReplyParser.extract_text '/path/to/email.eml'
|
48
|
+
```
|
49
|
+
|
50
|
+
Or, in two separate steps:
|
51
|
+
|
52
|
+
```ruby
|
53
|
+
ExtendedEmailReplyParser.read("/path/to/email.eml") # => Mail::Message
|
47
54
|
ExtendedEmailReplyParser.read("/path/to/email.eml").extract_text # => String
|
48
55
|
```
|
49
56
|
|
@@ -90,6 +97,13 @@ Add this line to your application's Gemfile:
|
|
90
97
|
gem 'extended_email_reply_parser'
|
91
98
|
```
|
92
99
|
|
100
|
+
Or, for the edge version:
|
101
|
+
|
102
|
+
```ruby
|
103
|
+
# Gemfile
|
104
|
+
gem 'extended_email_reply_parser', github: 'fiedl/extended_email_reply_parser'
|
105
|
+
```
|
106
|
+
|
93
107
|
And then execute:
|
94
108
|
|
95
109
|
➜ bundle
|
@@ -3,6 +3,7 @@ require 'charlock_holmes'
|
|
3
3
|
require 'email_reply_parser'
|
4
4
|
require 'active_support'
|
5
5
|
require 'active_support/core_ext/object/blank'
|
6
|
+
require 'active_support/core_ext/object/try'
|
6
7
|
|
7
8
|
require 'extended_email_reply_parser/mail/message'
|
8
9
|
require 'extended_email_reply_parser/email_reply_parser/email'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: extended_email_reply_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Fiedlschuster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|