chronicle-email 0.1.0 → 0.1.1
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85cc6d5cd7ef25487ecb960c67f12e287c5a2c28894c6cba0b075bd7f0511725
|
4
|
+
data.tar.gz: 39969678f5abf0104df8dce01dd6e30aeee2878fbe9082e7055f9ffd94c7ade5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50ac6a07fdc6324430a54a6739e7493b72583f2e35220b6a92c5949cc5731b6276aaea9fbebcac012f4f32e57ef34f10ad069bdda43afad9f3b9ee15a6e832ed
|
7
|
+
data.tar.gz: 32f9fb63a319f0b37745dc297d229dcf1113f68bef528d13a4dd21dfb4dd83d74a41ff38e906ff6dda284fb8d34b066cb7bfbcafa642ad7e190f56173fb6f018
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
chronicle-email (0.1.
|
5
|
-
chronicle-etl (~> 0.
|
4
|
+
chronicle-email (0.1.1)
|
5
|
+
chronicle-etl (~> 0.2.2)
|
6
6
|
email_reply_parser (~> 0.5)
|
7
7
|
mail (~> 2.7)
|
8
8
|
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
byebug (11.1.3)
|
13
|
-
chronicle-etl (0.
|
13
|
+
chronicle-etl (0.2.2)
|
14
14
|
colorize (~> 0.8.1)
|
15
15
|
thor (~> 0.20)
|
16
16
|
tty-progressbar (~> 0.17)
|
data/chronicle-email.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
37
|
spec.require_paths = ["lib"]
|
38
38
|
|
39
|
-
spec.add_dependency "chronicle-etl", "~> 0.
|
39
|
+
spec.add_dependency "chronicle-etl", "~> 0.2.2"
|
40
40
|
spec.add_dependency "mail", "~> 2.7"
|
41
41
|
spec.add_dependency 'email_reply_parser', '~> 0.5'
|
42
42
|
|
@@ -5,9 +5,9 @@ require 'email_reply_parser'
|
|
5
5
|
|
6
6
|
module Chronicle
|
7
7
|
module Email
|
8
|
-
class ChronicleTransformer < Chronicle::
|
9
|
-
def transform
|
10
|
-
message = Mail.new(data.b)
|
8
|
+
class ChronicleTransformer < Chronicle::ETL::Transformer
|
9
|
+
def transform
|
10
|
+
message = Mail.new(@data.b)
|
11
11
|
build_messaged(message)
|
12
12
|
end
|
13
13
|
|
@@ -4,7 +4,7 @@ require 'tempfile'
|
|
4
4
|
|
5
5
|
module Chronicle
|
6
6
|
module Email
|
7
|
-
class MboxExtractor < Chronicle::
|
7
|
+
class MboxExtractor < Chronicle::ETL::Extractor
|
8
8
|
# mbox format is a bunch of emails concatanated together, separated
|
9
9
|
# by a line that starts with "From "
|
10
10
|
NEW_EMAIL_REGEX = Regexp.new('^From [^\s]+ .{24}')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chronicle-email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Louis
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronicle-etl
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: mail
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|