bumbleworks 0.0.80 → 0.0.81

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: e27f853f94df55278dbd7ab57a0b1e1262da1832
4
- data.tar.gz: 0a7955815956096b8913b885394d4af19788e9b1
3
+ metadata.gz: ba5107c8d92ddb8478fb30368178febaf26f6a0d
4
+ data.tar.gz: 845838859128ba26395fd1da45b4938051885123
5
5
  SHA512:
6
- metadata.gz: ea67332cfec383527cc707c6d555bb5b1d9ce8f0668f3edf56c0df3fbae3250d9aa7f13025fd32d0c29132028d247e9dc73e355dd365fad21c60420d5a1623b4
7
- data.tar.gz: 61f87c4a8453dc3c9379cae0e9a8542cb02f3689e3d9ead1ed90bbcd40a9c353b05970b3deda913541098d4323b8450398ac1fa0d4e6bd6e90df71cafc7d9c94
6
+ metadata.gz: e8bb0121ed0b8216b4499ac35f281c29bf74b686caf0a3dbd8b80cb2e923ed3a864a1be95d9e822fbb67e0a5c140a63b6818a3f7d0227759bc8959588ddcfbda
7
+ data.tar.gz: 744f4cf5217a6fe39b414feb2aa2eb3daabfb54469f9fc1533edd210866d3080a76a75f9aceebf0b92ded794cc122eea46e5b186d144fd3c73ee984e7ecabd35
@@ -1,3 +1,3 @@
1
1
  module Bumbleworks
2
- VERSION = "0.0.80"
2
+ VERSION = "0.0.81"
3
3
  end
@@ -103,8 +103,9 @@ class Bumbleworks::Worker < Ruote::Worker
103
103
 
104
104
  class Info < Ruote::Worker::Info
105
105
  def <<(msg)
106
+ last_save = @last_save
106
107
  super
107
- cleanup_saved_info if Time.now > @last_save + 60
108
+ cleanup_saved_info if Time.now > last_save + 60
108
109
  end
109
110
 
110
111
  def save_with_cleanup
@@ -1,5 +1,3 @@
1
- require 'pry'
2
-
3
1
  describe Bumbleworks::Worker do
4
2
  let(:context) { Bumbleworks.dashboard.context }
5
3
  subject { described_class.new(context) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bumbleworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.80
4
+ version: 0.0.81
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maher Hawash
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-08-10 00:00:00.000000000 Z
14
+ date: 2014-08-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: ruote