langrove 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/functional/lib/handler/socket_to_file.rb +6 -0
- data/lib/langrove/daemon_base.rb +4 -4
- data/lib/langrove/version.rb +1 -1
- metadata +16 -16
data/lib/langrove/daemon_base.rb
CHANGED
@@ -40,9 +40,9 @@ module LanGrove::Daemon class Base
|
|
40
40
|
|
41
41
|
def schedule
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
@logger.info "#{self} Scheduling periodic ...TODO..."
|
44
|
+
|
45
|
+
EM::add_periodic_timer( @my_config[ :periodic ] ) do
|
46
46
|
|
47
47
|
#
|
48
48
|
# TODO: This can be a lot more usefull than
|
@@ -51,7 +51,7 @@ module LanGrove::Daemon class Base
|
|
51
51
|
|
52
52
|
@handler.periodic
|
53
53
|
|
54
|
-
end if @my_config.has_key?
|
54
|
+
end if @my_config.has_key? :periodic
|
55
55
|
|
56
56
|
end
|
57
57
|
|
data/lib/langrove/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: langrove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -16,7 +16,7 @@ date: 2012-04-23 00:00:00.000000000Z
|
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: watchr
|
19
|
-
requirement: &
|
19
|
+
requirement: &2157042240 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: '0'
|
25
25
|
type: :development
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *2157042240
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rspec
|
30
|
-
requirement: &
|
30
|
+
requirement: &2157041740 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ~>
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: '2.9'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *2157041740
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rake
|
41
|
-
requirement: &
|
41
|
+
requirement: &2157041220 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
@@ -49,10 +49,10 @@ dependencies:
|
|
49
49
|
version: 0.8.7
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
|
-
version_requirements: *
|
52
|
+
version_requirements: *2157041220
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: eventmachine
|
55
|
-
requirement: &
|
55
|
+
requirement: &2157040480 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ~>
|
@@ -63,10 +63,10 @@ dependencies:
|
|
63
63
|
version: 0.12.10
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
|
-
version_requirements: *
|
66
|
+
version_requirements: *2157040480
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: em-http-request
|
69
|
-
requirement: &
|
69
|
+
requirement: &2157039740 !ruby/object:Gem::Requirement
|
70
70
|
none: false
|
71
71
|
requirements:
|
72
72
|
- - ~>
|
@@ -77,10 +77,10 @@ dependencies:
|
|
77
77
|
version: 0.3.0
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
80
|
+
version_requirements: *2157039740
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: daemon-kit
|
83
|
-
requirement: &
|
83
|
+
requirement: &2157039000 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
85
|
requirements:
|
86
86
|
- - ~>
|
@@ -91,10 +91,10 @@ dependencies:
|
|
91
91
|
version: 0.1.8.2
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
|
-
version_requirements: *
|
94
|
+
version_requirements: *2157039000
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: resque
|
97
|
-
requirement: &
|
97
|
+
requirement: &2157038260 !ruby/object:Gem::Requirement
|
98
98
|
none: false
|
99
99
|
requirements:
|
100
100
|
- - ~>
|
@@ -105,7 +105,7 @@ dependencies:
|
|
105
105
|
version: 1.20.0
|
106
106
|
type: :runtime
|
107
107
|
prerelease: false
|
108
|
-
version_requirements: *
|
108
|
+
version_requirements: *2157038260
|
109
109
|
description: ''
|
110
110
|
email: richard@clue.co.za
|
111
111
|
executables: []
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: '0'
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 1.8.
|
196
|
+
rubygems_version: 1.8.8
|
197
197
|
signing_key:
|
198
198
|
specification_version: 3
|
199
199
|
summary: eventmachine based networked daemon framework
|