daikon 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/daikon.gemspec +4 -3
- data/lib/daikon.rb +1 -1
- data/lib/daikon/daemon.rb +2 -2
- data/spec/daemon_spec.rb +1 -1
- metadata +41 -53
data/daikon.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{daikon}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Nick Quaranto"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-02-09}
|
13
13
|
s.default_executable = %q{daikon}
|
14
14
|
s.description = %q{daikon, a radishapp.com client}
|
15
15
|
s.email = %q{nick@quaran.to}
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |s|
|
|
47
47
|
s.licenses = ["MIT"]
|
48
48
|
s.require_paths = ["lib"]
|
49
49
|
s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
|
50
|
-
s.rubygems_version = %q{1.
|
50
|
+
s.rubygems_version = %q{1.3.7}
|
51
51
|
s.summary = %q{daikon, a radishapp.com client}
|
52
52
|
s.test_files = [
|
53
53
|
"spec/client_spec.rb",
|
@@ -58,6 +58,7 @@ Gem::Specification.new do |s|
|
|
58
58
|
]
|
59
59
|
|
60
60
|
if s.respond_to? :specification_version then
|
61
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
61
62
|
s.specification_version = 3
|
62
63
|
|
63
64
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/daikon.rb
CHANGED
data/lib/daikon/daemon.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
module Daikon
|
2
2
|
class Daemon
|
3
3
|
INFO_INTERVAL = ENV["INFO_INTERVAL"] || 5
|
4
|
-
SUMMARY_INTERVAL = ENV["SUMMARY_INTERVAL"] ||
|
4
|
+
SUMMARY_INTERVAL = ENV["SUMMARY_INTERVAL"] || 1
|
5
5
|
|
6
6
|
def self.sleep_time=(sleep_time)
|
7
7
|
@@sleep_time = sleep_time
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.sleep_time
|
11
|
-
@@sleep_time ||=
|
11
|
+
@@sleep_time ||= 0.5
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.run=(run)
|
data/spec/daemon_spec.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daikon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
4
|
+
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
8
|
+
- 1
|
9
|
+
version: 0.7.1
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Nick Quaranto
|
@@ -15,143 +14,134 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2011-
|
17
|
+
date: 2011-02-09 00:00:00 -05:00
|
19
18
|
default_executable: daikon
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
21
|
+
name: daemons
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash: 19
|
28
27
|
segments:
|
29
28
|
- 1
|
30
29
|
- 1
|
31
30
|
- 0
|
32
31
|
version: 1.1.0
|
33
|
-
requirement: *id001
|
34
|
-
prerelease: false
|
35
|
-
name: daemons
|
36
32
|
type: :runtime
|
33
|
+
prerelease: false
|
34
|
+
version_requirements: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
36
|
+
name: excon
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
40
39
|
requirements:
|
41
40
|
- - ~>
|
42
41
|
- !ruby/object:Gem::Version
|
43
|
-
hash: 3
|
44
42
|
segments:
|
45
43
|
- 0
|
46
44
|
- 3
|
47
45
|
- 8
|
48
46
|
version: 0.3.8
|
49
|
-
requirement: *id002
|
50
|
-
prerelease: false
|
51
|
-
name: excon
|
52
47
|
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: *id002
|
53
50
|
- !ruby/object:Gem::Dependency
|
54
|
-
|
51
|
+
name: json_pure
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
53
|
none: false
|
56
54
|
requirements:
|
57
55
|
- - ~>
|
58
56
|
- !ruby/object:Gem::Version
|
59
|
-
hash: 11
|
60
57
|
segments:
|
61
58
|
- 1
|
62
59
|
- 4
|
63
60
|
- 6
|
64
61
|
version: 1.4.6
|
65
|
-
requirement: *id003
|
66
|
-
prerelease: false
|
67
|
-
name: json_pure
|
68
62
|
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: *id003
|
69
65
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
66
|
+
name: redis
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
68
|
none: false
|
72
69
|
requirements:
|
73
70
|
- - ~>
|
74
71
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 9
|
76
72
|
segments:
|
77
73
|
- 2
|
78
74
|
- 1
|
79
75
|
- 1
|
80
76
|
version: 2.1.1
|
81
|
-
requirement: *id004
|
82
|
-
prerelease: false
|
83
|
-
name: redis
|
84
77
|
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *id004
|
85
80
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
81
|
+
name: bourne
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
83
|
none: false
|
88
84
|
requirements:
|
89
85
|
- - ">="
|
90
86
|
- !ruby/object:Gem::Version
|
91
|
-
hash: 3
|
92
87
|
segments:
|
93
88
|
- 0
|
94
89
|
version: "0"
|
95
|
-
requirement: *id005
|
96
|
-
prerelease: false
|
97
|
-
name: bourne
|
98
90
|
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: *id005
|
99
93
|
- !ruby/object:Gem::Dependency
|
100
|
-
|
94
|
+
name: cucumber
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
101
96
|
none: false
|
102
97
|
requirements:
|
103
98
|
- - ">="
|
104
99
|
- !ruby/object:Gem::Version
|
105
|
-
hash: 3
|
106
100
|
segments:
|
107
101
|
- 0
|
108
102
|
version: "0"
|
109
|
-
requirement: *id006
|
110
|
-
prerelease: false
|
111
|
-
name: cucumber
|
112
103
|
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: *id006
|
113
106
|
- !ruby/object:Gem::Dependency
|
114
|
-
|
107
|
+
name: jeweler
|
108
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
115
109
|
none: false
|
116
110
|
requirements:
|
117
111
|
- - ">="
|
118
112
|
- !ruby/object:Gem::Version
|
119
|
-
hash: 3
|
120
113
|
segments:
|
121
114
|
- 0
|
122
115
|
version: "0"
|
123
|
-
requirement: *id007
|
124
|
-
prerelease: false
|
125
|
-
name: jeweler
|
126
116
|
type: :development
|
117
|
+
prerelease: false
|
118
|
+
version_requirements: *id007
|
127
119
|
- !ruby/object:Gem::Dependency
|
128
|
-
|
120
|
+
name: rspec
|
121
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
129
122
|
none: false
|
130
123
|
requirements:
|
131
124
|
- - ">="
|
132
125
|
- !ruby/object:Gem::Version
|
133
|
-
hash: 3
|
134
126
|
segments:
|
135
127
|
- 0
|
136
128
|
version: "0"
|
137
|
-
requirement: *id008
|
138
|
-
prerelease: false
|
139
|
-
name: rspec
|
140
129
|
type: :development
|
130
|
+
prerelease: false
|
131
|
+
version_requirements: *id008
|
141
132
|
- !ruby/object:Gem::Dependency
|
142
|
-
|
133
|
+
name: timecop
|
134
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
143
135
|
none: false
|
144
136
|
requirements:
|
145
137
|
- - ">="
|
146
138
|
- !ruby/object:Gem::Version
|
147
|
-
hash: 3
|
148
139
|
segments:
|
149
140
|
- 0
|
150
141
|
version: "0"
|
151
|
-
requirement: *id009
|
152
|
-
prerelease: false
|
153
|
-
name: timecop
|
154
142
|
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: *id009
|
155
145
|
description: daikon, a radishapp.com client
|
156
146
|
email: nick@quaran.to
|
157
147
|
executables:
|
@@ -199,7 +189,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
189
|
requirements:
|
200
190
|
- - ">="
|
201
191
|
- !ruby/object:Gem::Version
|
202
|
-
hash: 57
|
203
192
|
segments:
|
204
193
|
- 1
|
205
194
|
- 8
|
@@ -210,14 +199,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
210
199
|
requirements:
|
211
200
|
- - ">="
|
212
201
|
- !ruby/object:Gem::Version
|
213
|
-
hash: 3
|
214
202
|
segments:
|
215
203
|
- 0
|
216
204
|
version: "0"
|
217
205
|
requirements: []
|
218
206
|
|
219
207
|
rubyforge_project:
|
220
|
-
rubygems_version: 1.
|
208
|
+
rubygems_version: 1.3.7
|
221
209
|
signing_key:
|
222
210
|
specification_version: 3
|
223
211
|
summary: daikon, a radishapp.com client
|