mail_room 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86c8cfc70ff25a195a9e59c4bc175eb68b107874
4
- data.tar.gz: 3bc4c8778f7ff9e14233986a922033243482902e
3
+ metadata.gz: 6b5c7ee5327fe4bf1a8f3b5743ad5c39e274430a
4
+ data.tar.gz: 0a4d4858b8c82da1fb27a3915906adc270bce87e
5
5
  SHA512:
6
- metadata.gz: 1f84614429adeb0e94e6b22bc053861ad10f939e551d370cbfa8e091306737628616a999ce1c42c7a879d4b67f8bea3d58e6620657e0d01676e1c8fe673d9c5b
7
- data.tar.gz: ce3e8a096c013bda86d20e86f31fae1753fb2fff7da7fb74b5db72e59bb76325086bce87505ceeb7b7927b9f49efdae28c88c0d8af9732a3f12f90eab328d73a
6
+ metadata.gz: 42c2777a6056a5a555a184eadcd4c603419a03f90eb2a5d3ebcd46e496fe395fcf29a238506f26f26271a1e079217aa398b561ce2019c1d95a6010a349141e6a
7
+ data.tar.gz: 2cb1c45b90cbf2d1b35533db8bcfd153db3b0b019a25ce70df0b31f342f6e1326441c7904fba4f4fcc6521ebc2f01c8da85340685e992f372c8a363590e0a9db
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## mail_room 0.8.1 ##
2
+
3
+ * Check watching thread exists before joining - PR#78
4
+
5
+ *Michal Galet <@galet>*
6
+
1
7
  ## mail_room 0.8.0 ##
2
8
 
3
9
  * Rework the mailbox watcher and handler into a new Connection class to abstract away IMAP handling details
@@ -47,7 +47,9 @@ module MailRoom
47
47
  @connection = nil
48
48
  end
49
49
 
50
- watching_thread.join
50
+ if self.watching_thread
51
+ self.watching_thread.join
52
+ end
51
53
  end
52
54
 
53
55
  private
@@ -1,4 +1,4 @@
1
1
  module MailRoom
2
2
  # Current version of MailRoom gem
3
- VERSION = "0.8.0"
3
+ VERSION = "0.8.1"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_room
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Pitale
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-21 00:00:00.000000000 Z
11
+ date: 2016-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake