threadify_procs 0.0.3 → 0.0.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: 18135b75775670b66f7d90ab2e9773f51d52a32b
4
- data.tar.gz: 6a0450536a488b92ec7d10c7532c2e7aa1c4c122
3
+ metadata.gz: bb372e84fc599f94d64457028fa111f204a78ee4
4
+ data.tar.gz: 8f75d617fc0f75fa6461332eb51f34dbee82d315
5
5
  SHA512:
6
- metadata.gz: 23de1e6bd2cb75f18507a60f7f3338fcbe1d7fa0e474533c29c18534a62f2958a81afb3bbd4863bdbd8d7d87869be87a99f241e2f9290cd76a3811655f74d1ce
7
- data.tar.gz: 3a5546534b77c61a517fdfe38f32aec4046868b720fa97fa3b3b675d7997257af2890bd571724642e07e911a1e7e1ac7513fed29768266b1ae3efffb1ff03567
6
+ metadata.gz: 60ce1e33aad21018b394347d0d515296dcb4dd69e4a0cbc678d757263dd9ac0518edd94e29cdb0aaf4bae5767d21c26bee100749b7b4f1ca9f3361649c49671f
7
+ data.tar.gz: 7f45bc5b363bd8abb97b05bb5f70aa543d38cc3a359ac9dcefa73357a7c370958543a88aaedd8d22af1eeef58e4f2b2bdfe2378e5054f108e44e32c358fde50a
data/.travis.yml CHANGED
@@ -3,3 +3,5 @@ rvm:
3
3
  - 2.0.0
4
4
  - 2.1.2
5
5
  script: bundle exec rspec
6
+ notifications:
7
+ email: false
@@ -1,3 +1,3 @@
1
1
  module ThreadifyProcs
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -4,7 +4,7 @@ module ThreadifyProcs
4
4
 
5
5
  def call_with_threads procs, options={}
6
6
  set_procs procs
7
- return if procs.blank?
7
+ return if procs.empty?
8
8
  set_options options
9
9
  with_writer_thread do
10
10
  launch_procs
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: threadify_procs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antoine Qu'hen