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: dc59f3989349d41ca82714928ef7dac76b8de15e574957f1ba1e43ef4d9d5582
4
- data.tar.gz: ac02b231fc27d2d01d46df43cbcd21ef2942fcacca44b651e7d610fff0011b7f
3
+ metadata.gz: 85cc6d5cd7ef25487ecb960c67f12e287c5a2c28894c6cba0b075bd7f0511725
4
+ data.tar.gz: 39969678f5abf0104df8dce01dd6e30aeee2878fbe9082e7055f9ffd94c7ade5
5
5
  SHA512:
6
- metadata.gz: af08b7775a33f812b4eb1f3521ee50b5d909a29871699c033a7090949a1a557e366da54bb869cfc2f74bc4e0f2af995535c81328c627ac941cb77def96b44a71
7
- data.tar.gz: 54eac88a9005c840bfe1b0e289f2e063e9a9a40dfdf064c82bec51b7e985a5d911b59633ddffd2f37d4c605add8d9ae738bec886a21fc127c5c6efa364f069b3
6
+ metadata.gz: 50ac6a07fdc6324430a54a6739e7493b72583f2e35220b6a92c5949cc5731b6276aaea9fbebcac012f4f32e57ef34f10ad069bdda43afad9f3b9ee15a6e832ed
7
+ data.tar.gz: 32f9fb63a319f0b37745dc297d229dcf1113f68bef528d13a4dd21dfb4dd83d74a41ff38e906ff6dda284fb8d34b066cb7bfbcafa642ad7e190f56173fb6f018
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chronicle-email (0.1.0)
5
- chronicle-etl (~> 0.1.3)
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.1.3)
13
+ chronicle-etl (0.2.2)
14
14
  colorize (~> 0.8.1)
15
15
  thor (~> 0.20)
16
16
  tty-progressbar (~> 0.17)
@@ -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.1.3"
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::Etl::Transformer
9
- def transform data
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::Etl::Extractor
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}')
@@ -1,5 +1,5 @@
1
1
  module Chronicle
2
2
  module Email
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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-18 00:00:00.000000000 Z
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.1.3
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.1.3
26
+ version: 0.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mail
29
29
  requirement: !ruby/object:Gem::Requirement