rox-rollout 0.1.3 → 0.1.4

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: 5f41922c6dd20fbbadc0522358c446887112b503
4
- data.tar.gz: ff48ba25bfb7eedf8327cb665089b0e73bf9b424
3
+ metadata.gz: fb6b55b9392aad02d9110570e339c3ba52b08f67
4
+ data.tar.gz: bb74dcf2e3340c48bbaf230ea30867386a246057
5
5
  SHA512:
6
- metadata.gz: 4ec8cc7159065fb67fc56b2b1ac6f1973d76d44d93719e5d1f35c01a7ab6b3974cbd60c44e5ba9688239270404a461354051442c5da9a9b4a22e16cc7ec22388
7
- data.tar.gz: 2588175877bdd95f062c840ac0aca9bb625979bd7c3274b015966b679bbb93a9beb0b13e0871ec7546fd2b7f3498852aeb89a70c184deea07d4bc340a6552adc
6
+ metadata.gz: 2e29d4a8ee02b306e43b4200595b31e1ae080ddbc3a141348ac76278c22ec7bce89edfeea9ba23757c141863ec353f769dd5049f1f61659a9305ad0a5fd54753
7
+ data.tar.gz: a142e81c8f69e73420a7b443d99c70f8c5fa1ae4f812eb71ecf85f1f94a212ee66d2cd18d8f7d9dad31a38cbf81401478d0e7435b5c4e68079d8645481b928b1
@@ -3,8 +3,10 @@ module Rox
3
3
  module PeriodicTask
4
4
  def self.run(period)
5
5
  Thread.new do
6
- sleep(period)
7
- yield
6
+ loop do
7
+ sleep(period)
8
+ yield
9
+ end
8
10
  end
9
11
  end
10
12
  end
data/lib/rox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rox
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rox-rollout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rollout.io
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2018-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler