writefully 0.4.6 → 0.4.7

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: 832656945bc5cc34af638ecae7e0fe4181c7fa77
4
- data.tar.gz: a1aea987e095394806e6a0d049ce0fba3c926a2b
3
+ metadata.gz: 8580c8cc43be8e2a3afe18254dc391b57ccb1479
4
+ data.tar.gz: cfbbb50acd8d980ee5cc01877410e57ccfe9f597
5
5
  SHA512:
6
- metadata.gz: af637e9fe64da5d7d9e7f327a7c9b8d4202d81ca076152430930582d794bd41a9784988ed47404671acd5420699270e0d083712ffd48fb0f84e2f8f9a4db73fb
7
- data.tar.gz: 9bb23d80392b39991430d5a3187e48a42e2071c3723b8e5928c6632cf4fb03dde1ea7da3874e2d94c001cdc154d7dd1d2e171003bb43f5e00d8be3267acd83c2
6
+ metadata.gz: f4c56d89bbf8cafd6f05913095b30de39dad10ca675d75c6af98021a45e7d455029e376aa1169f2773f53e74e4346aa81669eb10d1379b349760a5e7489625d2
7
+ data.tar.gz: e1370d730615c87584f8a7b96e55fae416481fc0017101d80f8bd9bb217b4d07dd09c6426c6769aeb431f890e478469f914ed39f91c622836a3473d9d0fa2a1e
@@ -1,3 +1,3 @@
1
1
  module Writefully
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
@@ -17,7 +17,7 @@ module Writefully
17
17
  end
18
18
 
19
19
  def actor_died(actor, reason)
20
- Writefully.logger.error "An error occured #{reason.message}"
20
+ Writefully.logger.error "An error occured #{reason.class} #{reason.message}"
21
21
  on_death(actor, reason) if self.respond_to?(:on_death)
22
22
  end
23
23
  end
@@ -32,13 +32,6 @@ module Writefully
32
32
  @synchronizer.terminate
33
33
  end
34
34
 
35
- def on_death actor, reason
36
- if site
37
- Writefully.redis.with { |c| s.sadd "site:#{site.id}:errors", reason.message }
38
- site.update_attributes(processing: false, healty: false)
39
- end
40
- end
41
-
42
35
  end
43
36
  end
44
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: writefully
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Siri