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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a21e2ffbc7843b1255ea295153e5b375c5262b3d
4
- data.tar.gz: 2db5a19d68a54da3680153a0ee874bc21889b060
3
+ metadata.gz: de41a2eca528a53acae4aaef220444b83e319a9c
4
+ data.tar.gz: e128bbe06a8c8b54ffa4b1a634a8e859e660a810
5
5
  SHA512:
6
- metadata.gz: f0e5cb9643b8c043492af9b21c7b364c8ab75bb98afbf75fab0bece8805ac9e928a115e0241bfcd7605cb4dc125c2cbcceea3cea38e3c7856dfc7addf1da42fd
7
- data.tar.gz: b6582876e228154b2ac4d348884b7c4507eba8c2068a1135e860960379dcca359e74e8a9e5fd76728f295353dec6d430d9afc0aedfd27ef4737298d9704281bf
6
+ metadata.gz: 03dc6e37bca4c90bee2a4451bdd973c9c8a4979b5d323f8ec9fc19625357a331c3b20c9f8f7a05ac9411619ece9dbf6d524b21838e284f8c9d3938b69beb8cbf
7
+ data.tar.gz: ca1dba05d794bd2c5ee1981f1a661d7e3f0485378ccb78de7982cacfba4cab881beb64fecd092e53d4755607810bd7f98e0025f0cb85045b70d4f21c421956b6
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source "https://rubygems.org"
2
-
3
2
  git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in mail-cralwer.gemspec
6
3
  gemspec
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
@@ -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
- if message.subject == message_to_delete.subject
56
+ unless message.subject == message_to_delete.subject
57
57
  message.skip_deletion
58
58
  end
59
59
  end
@@ -1,5 +1,5 @@
1
1
  module FDE
2
2
  module MailCrawler
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  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.1.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-24 00:00:00.000000000 Z
11
+ date: 2017-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail