fde-mail_crawler 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -3
- data/README.md +4 -0
- data/lib/fde/mail_crawler.rb +1 -1
- data/lib/fde/mail_crawler/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: de41a2eca528a53acae4aaef220444b83e319a9c
|
4
|
+
data.tar.gz: e128bbe06a8c8b54ffa4b1a634a8e859e660a810
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03dc6e37bca4c90bee2a4451bdd973c9c8a4979b5d323f8ec9fc19625357a331c3b20c9f8f7a05ac9411619ece9dbf6d524b21838e284f8c9d3938b69beb8cbf
|
7
|
+
data.tar.gz: ca1dba05d794bd2c5ee1981f1a661d7e3f0485378ccb78de7982cacfba4cab881beb64fecd092e53d4755607810bd7f98e0025f0cb85045b70d4f21c421956b6
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1 +1,5 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/fde-mail_crawler.svg)](https://badge.fury.io/rb/fde-mail_crawler)
|
2
|
+
[![Build Status](https://travis-ci.org/fashion-data-exchange/mail_crawler.svg?branch=master)](https://travis-ci.org/fashion-data-exchange/mail_crawler)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/fashion-data-exchange/mail_crawler/badges/gpa.svg)](https://codeclimate.com/github/fashion-data-exchange/mail_crawler)
|
4
|
+
|
1
5
|
# Mail::Crawler
|
data/lib/fde/mail_crawler.rb
CHANGED
@@ -53,7 +53,7 @@ module FDE
|
|
53
53
|
def self.delete(message_to_delete)
|
54
54
|
account = FDE::MailCrawler.imap_account
|
55
55
|
account.find_and_delete do |message|
|
56
|
-
|
56
|
+
unless message.subject == message_to_delete.subject
|
57
57
|
message.skip_deletion
|
58
58
|
end
|
59
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fde-mail_crawler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Langenegger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|