zscheduler 0.0.6 → 0.0.7

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
- NzY2ZTA1ZDBhMWMwYzQ5ZjJhMTVmZjMzMjAxZGU2ZDA5MTFjNGViZg==
5
- data.tar.gz: !binary |-
6
- ZjcwZWZjNjAyYjgzZGU1MWY5MWE3M2QyZThmYjNlM2E3NWU4OTgyZg==
2
+ SHA1:
3
+ metadata.gz: 562203898edca53d3c2f91753e1725c7697c9c05
4
+ data.tar.gz: 8f0e2e187e27e842dac04dbc042c0d5a05120cfb
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzQ4ZGNiMmU3NmJlZWU4YjE3MGM1YTA0NmZlZGZmZTllMmVmMTRiYzdlODIx
10
- NGFmZmYxY2U1ZmViMzVmODVmZDVjNWMwMmExZDRmMTk5MWYyZjdjNDQ0MjAz
11
- OWQ1MDI3MDBmZTQ5ZDRlMDdjYjI0ZTFhNTJkZTYyMzk4YTkzZTk=
12
- data.tar.gz: !binary |-
13
- NjE3NzE2NWRkZTVkYmY4NGMxMjlmZDY0MTEzNTAwOTRlOTFiOTJkZDM3NTE2
14
- MDRjNDgyYjllN2I5YTI2ODcyZDFlZmY5ZmUwODgyZWFlYWIzYjcwNzRjMjAy
15
- ZDRlNmQwNGY1N2JlMTg5MTgwNWYyZmEwYjkyZDEyMjhkNGIyZDM=
6
+ metadata.gz: 14aef601a9f01879be5a3f04b38d15ad4fcc0a3e1268b4d17bc4e4a4f3cdaa20cdb07c1dfcaf4063ac14d398fabfab5e376a7332543e125833facce3715b9c45
7
+ data.tar.gz: d92b50e4d96953b14ff28cb3953c5519e44daaa8b0f63c52a74ff16e0a4dadf0af7faf86a3b5c095e08d8d624f48c702ac19c76cf3058ad0923b45aed492ff76
data/lib/zscheduler.rb CHANGED
@@ -116,6 +116,10 @@ module Zscheduler
116
116
  (wrapper or EM.reactor_thread).join
117
117
  end
118
118
 
119
+ def init_reactor?
120
+ !!wrapper
121
+ end
122
+
119
123
  private
120
124
 
121
125
  def start_reactor
@@ -1,3 +1,3 @@
1
1
  module Zscheduler
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,30 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zscheduler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eran Barak Levi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2017-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eventmachine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
- description: ! 'minimalistic scheduler on top of event-machine '
27
+ description: 'minimalistic scheduler on top of event-machine '
28
28
  email: wtf@wtf.com
29
29
  executables: []
30
30
  extensions: []
@@ -44,17 +44,17 @@ require_paths:
44
44
  - lib
45
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ! '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: 1.8.5
50
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project: zscheduler
57
- rubygems_version: 2.2.2
57
+ rubygems_version: 2.6.12
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: minimalistic scheduler on top of event-machine