gearman-ruby 4.0.2 → 4.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZWIzNDljYTkyOTdjY2ZlMmJmYzMzNTIwMTlmOTdkMmQwZGE1MGViNw==
5
- data.tar.gz: !binary |-
6
- ODc1MGU0ZjM2OWQ4ZmYxZjlmYTNkOTNhZjk1OGEyZDlkNDRhYjYzZQ==
2
+ SHA1:
3
+ metadata.gz: 2549af4db82515db032fd209b69d14581d0f4874
4
+ data.tar.gz: d53770255855d94b70ff47554e2bc1ffd08e6b6b
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YThkMjM1NGY4NGRlM2M4MGE0ODg5YzRiZDJlYWZkNzU2YmViNDlkZjhmZDk3
10
- NjQ5MWE4YmNmOTJlNzM2OGI5ODI2NzBjNTAxZTRhNGY1MWU5ZWM4NTA4MDQy
11
- MjI2MTk3YzNkZWNlNzkzZjFlMjAzOWIxZmZiNGY4MDYwNGI3ZTE=
12
- data.tar.gz: !binary |-
13
- MmE3MmU0OTVkNDljMGEwODg2YWQ4OGQ1MjI3YWVhZWEyMDZlZjliYzIzYTk2
14
- ZGUxNjkzZjgwNDRlMWY5OTAwMTM5NzI0NThiYmFhM2NkOWQ3YmUzODhhYzY2
15
- NWZkODg5YjgzMzEyMDNhY2QwYzAxZTM3MmNhMTk1OWNkODMzOTM=
6
+ metadata.gz: 3965b0ea6f6706ccfca686b68e56bdc18f7e2704778e53a165600296c05a9fa88e8b73522f8ab454a8bee5b47c8670c5329d726721be0b71782247dfd87934eb
7
+ data.tar.gz: 6d2466dff2c3dd6ff723c87b10a724b95d7453730900842b2fee16f5125b55c9c61fc368233b313b945de580fd85aeac7f9f24d90dfe034c27484a7db13ae33a
data/README.md CHANGED
@@ -73,39 +73,22 @@ loop { w.work }
73
73
 
74
74
  * John Ewart <john@johnewart.net> (current maintainer, author of re-write)
75
75
 
76
- <<<<<<< HEAD
77
76
  ## Contributors (past and present)
78
77
 
79
78
  * Kim Altintop
80
- =======
81
- ## Contributors
82
-
83
- >>>>>>> New version (4.0) -- substantial rewrite
84
79
  * Josh Black (raskchanky)
85
80
  * Colin Curtin (perplexes)
86
81
  * Brian Cobb (bcobb)
87
82
  * Pablo A. Delgado (pablete)
88
- <<<<<<< HEAD
89
83
  * Daniel Erat
90
84
  * Antonio Garrote
91
85
  * Stefan Kaes (skaes)
92
86
  * Ladislav Martincik
93
- =======
94
- * Stefan Kaes (skaes)
95
- >>>>>>> New version (4.0) -- substantial rewrite
96
87
  * Mauro Pompilio (malditogeek)
97
88
  * Lee Reilly (leereilly)
98
89
  * Clint Shryock (catsby)
99
90
  * Andy Triggs (andyt)
100
91
 
101
-
102
- <<<<<<< HEAD
103
-
104
92
  ## License
105
93
 
106
94
  Released under the MIT license, originally developed by XING AG. See the LICENSE file for further details.
107
- =======
108
- ## License
109
-
110
- Released under the MIT license. See the file LICENSE for further details.
111
- >>>>>>> New version (4.0) -- substantial rewrite
@@ -30,7 +30,7 @@ module Gearman
30
30
  nil
31
31
  end
32
32
 
33
- while not @tasks_in_progress.empty?
33
+ while @tasks_in_progress.length > 0
34
34
  remaining = if end_time
35
35
  (t = end_time - Time.now.to_f) > 0 ? t : 0
36
36
  else
@@ -50,7 +50,7 @@ module Gearman
50
50
 
51
51
  @finished_tasks.each do |t|
52
52
  if ( (t.background.nil? || t.background == false) && !t.successful)
53
- logger.warn "GearmanRuby: TaskSet failed"
53
+ logger.warn 'GearmanRuby: TaskSet failed'
54
54
  return false
55
55
  end
56
56
  end
@@ -59,7 +59,7 @@ module Gearman
59
59
 
60
60
  # Wait for all tasks in set to finish, with no timeout
61
61
  def wait_forever
62
- wait(nil)
62
+ wait(nil)
63
63
  end
64
64
 
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module Gearman
2
- VERSION = "4.0.2"
2
+ VERSION = "4.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gearman-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Ewart
@@ -67,12 +67,12 @@ require_paths:
67
67
  - lib
68
68
  required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ! '>='
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ! '>='
75
+ - - '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []