perfectqueue 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +6 -0
- data/lib/perfectqueue/command/perfectqueue.rb +3 -1
- data/lib/perfectqueue/version.rb +1 -1
- metadata +42 -70
data/ChangeLog
CHANGED
@@ -272,9 +272,10 @@ case type
|
|
272
272
|
when :list
|
273
273
|
format = "%26s %26s %26s %s"
|
274
274
|
puts format % ["id", "created_at", "timeout", "data"]
|
275
|
+
time_format = "%Y-%m-%d %H:%M:%S %z"
|
275
276
|
n = 0
|
276
277
|
backend.list {|id,created_at,data,timeout|
|
277
|
-
puts format % [id, Time.at(created_at), Time.at(timeout), data]
|
278
|
+
puts format % [id, Time.at(created_at).strftime(time_format), Time.at(timeout).strftime(time_format), data]
|
278
279
|
n += 1
|
279
280
|
}
|
280
281
|
puts "#{n} entries."
|
@@ -334,6 +335,7 @@ when :exec, :run
|
|
334
335
|
else
|
335
336
|
log_out = STDOUT
|
336
337
|
end
|
338
|
+
log_out.sync = true
|
337
339
|
|
338
340
|
log = Logger.new(log_out)
|
339
341
|
if conf[:verbose]
|
data/lib/perfectqueue/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: perfectqueue
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 2
|
10
|
-
version: 0.7.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.3
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Sadayuki Furuhashi
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-02 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: sequel
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &12495760 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 111
|
30
|
-
segments:
|
31
|
-
- 3
|
32
|
-
- 26
|
33
|
-
- 0
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 3.26.0
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: aws-sdk
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *12495760
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: aws-sdk
|
27
|
+
requirement: &12495140 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
29
|
+
requirements:
|
43
30
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 17
|
46
|
-
segments:
|
47
|
-
- 1
|
48
|
-
- 1
|
49
|
-
- 1
|
31
|
+
- !ruby/object:Gem::Version
|
50
32
|
version: 1.1.1
|
51
33
|
type: :runtime
|
52
|
-
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *12495140
|
53
36
|
description:
|
54
37
|
email: frsyuki@gmail.com
|
55
|
-
executables:
|
38
|
+
executables:
|
56
39
|
- perfectqueue
|
57
40
|
extensions: []
|
58
|
-
|
59
|
-
extra_rdoc_files:
|
41
|
+
extra_rdoc_files:
|
60
42
|
- ChangeLog
|
61
43
|
- README.rdoc
|
62
|
-
files:
|
44
|
+
files:
|
63
45
|
- bin/perfectqueue
|
64
46
|
- lib/perfectqueue.rb
|
65
47
|
- lib/perfectqueue/backend.rb
|
@@ -71,54 +53,44 @@ files:
|
|
71
53
|
- lib/perfectqueue/worker.rb
|
72
54
|
- ChangeLog
|
73
55
|
- README.rdoc
|
74
|
-
- test/backend_test.rb
|
75
56
|
- test/exec_test.rb
|
76
57
|
- test/test_helper.rb
|
58
|
+
- test/backend_test.rb
|
59
|
+
- test/fail.sh
|
77
60
|
- test/cat.sh
|
78
61
|
- test/echo.sh
|
79
|
-
- test/fail.sh
|
80
|
-
- test/huge.sh
|
81
62
|
- test/success.sh
|
82
|
-
|
63
|
+
- test/huge.sh
|
83
64
|
homepage: https://github.com/treasure-data/perfectqueue
|
84
65
|
licenses: []
|
85
|
-
|
86
66
|
post_install_message:
|
87
|
-
rdoc_options:
|
88
|
-
|
89
|
-
require_paths:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
90
69
|
- lib
|
91
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
71
|
none: false
|
93
|
-
requirements:
|
94
|
-
- -
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
|
97
|
-
|
98
|
-
- 0
|
99
|
-
version: "0"
|
100
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
77
|
none: false
|
102
|
-
requirements:
|
103
|
-
- -
|
104
|
-
- !ruby/object:Gem::Version
|
105
|
-
|
106
|
-
segments:
|
107
|
-
- 0
|
108
|
-
version: "0"
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
109
82
|
requirements: []
|
110
|
-
|
111
83
|
rubyforge_project:
|
112
|
-
rubygems_version: 1.
|
84
|
+
rubygems_version: 1.8.10
|
113
85
|
signing_key:
|
114
86
|
specification_version: 3
|
115
87
|
summary: Highly available distributed queue built on RDBMS or SimpleDB
|
116
|
-
test_files:
|
117
|
-
- test/backend_test.rb
|
88
|
+
test_files:
|
118
89
|
- test/exec_test.rb
|
119
90
|
- test/test_helper.rb
|
91
|
+
- test/backend_test.rb
|
92
|
+
- test/fail.sh
|
120
93
|
- test/cat.sh
|
121
94
|
- test/echo.sh
|
122
|
-
- test/fail.sh
|
123
|
-
- test/huge.sh
|
124
95
|
- test/success.sh
|
96
|
+
- test/huge.sh
|