rufus-scheduler 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.rspec +1 -0
- data/CHANGELOG.txt +6 -0
- data/CREDITS.txt +2 -0
- data/README.rdoc +45 -12
- data/Rakefile +27 -22
- data/lib/rufus/sc/cronline.rb +61 -44
- data/lib/rufus/sc/jobqueues.rb +6 -7
- data/lib/rufus/sc/jobs.rb +27 -10
- data/lib/rufus/sc/rtime.rb +46 -38
- data/lib/rufus/sc/scheduler.rb +33 -23
- data/lib/rufus/sc/version.rb +1 -1
- data/lib/rufus/scheduler.rb +2 -2
- data/rufus-scheduler.gemspec +29 -13
- data/spec/at_in_spec.rb +8 -9
- data/spec/at_spec.rb +25 -26
- data/spec/blocking_spec.rb +7 -7
- data/spec/cron_spec.rb +23 -23
- data/spec/cronline_spec.rb +175 -40
- data/spec/every_spec.rb +71 -33
- data/spec/exception_spec.rb +11 -12
- data/spec/in_spec.rb +35 -36
- data/spec/rtime_spec.rb +47 -47
- data/spec/schedulable_spec.rb +15 -15
- data/spec/scheduler_spec.rb +14 -15
- data/spec/spec_base.rb +6 -13
- data/spec/stress_schedule_unschedule_spec.rb +124 -120
- data/spec/timeout_spec.rb +24 -24
- metadata +32 -10
- data/spec/spec.rb +0 -14
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 2.0.
|
8
|
+
- 7
|
9
|
+
version: 2.0.7
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John Mettraux
|
@@ -14,25 +14,27 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-11-09 00:00:00 +09:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
21
|
+
name: tzinfo
|
22
22
|
prerelease: false
|
23
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
24
25
|
requirements:
|
25
26
|
- - ">="
|
26
27
|
- !ruby/object:Gem::Version
|
27
28
|
segments:
|
28
29
|
- 0
|
29
30
|
version: "0"
|
30
|
-
type: :
|
31
|
+
type: :runtime
|
31
32
|
version_requirements: *id001
|
32
33
|
- !ruby/object:Gem::Dependency
|
33
|
-
name:
|
34
|
+
name: rake
|
34
35
|
prerelease: false
|
35
36
|
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
36
38
|
requirements:
|
37
39
|
- - ">="
|
38
40
|
- !ruby/object:Gem::Version
|
@@ -42,9 +44,10 @@ dependencies:
|
|
42
44
|
type: :development
|
43
45
|
version_requirements: *id002
|
44
46
|
- !ruby/object:Gem::Dependency
|
45
|
-
name:
|
47
|
+
name: rspec
|
46
48
|
prerelease: false
|
47
49
|
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
48
51
|
requirements:
|
49
52
|
- - ">="
|
50
53
|
- !ruby/object:Gem::Version
|
@@ -57,6 +60,7 @@ dependencies:
|
|
57
60
|
name: jeweler
|
58
61
|
prerelease: false
|
59
62
|
requirement: &id004 !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
60
64
|
requirements:
|
61
65
|
- - ">="
|
62
66
|
- !ruby/object:Gem::Version
|
@@ -75,6 +79,8 @@ extra_rdoc_files:
|
|
75
79
|
- LICENSE.txt
|
76
80
|
- README.rdoc
|
77
81
|
files:
|
82
|
+
- .gitignore
|
83
|
+
- .rspec
|
78
84
|
- CHANGELOG.txt
|
79
85
|
- CREDITS.txt
|
80
86
|
- LICENSE.txt
|
@@ -103,7 +109,6 @@ files:
|
|
103
109
|
- spec/rtime_spec.rb
|
104
110
|
- spec/schedulable_spec.rb
|
105
111
|
- spec/scheduler_spec.rb
|
106
|
-
- spec/spec.rb
|
107
112
|
- spec/spec_base.rb
|
108
113
|
- spec/stress_schedule_unschedule_spec.rb
|
109
114
|
- spec/timeout_spec.rb
|
@@ -119,6 +124,7 @@ rdoc_options:
|
|
119
124
|
require_paths:
|
120
125
|
- lib
|
121
126
|
required_ruby_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
122
128
|
requirements:
|
123
129
|
- - ">="
|
124
130
|
- !ruby/object:Gem::Version
|
@@ -126,6 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
132
|
- 0
|
127
133
|
version: "0"
|
128
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
129
136
|
requirements:
|
130
137
|
- - ">="
|
131
138
|
- !ruby/object:Gem::Version
|
@@ -135,9 +142,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
142
|
requirements: []
|
136
143
|
|
137
144
|
rubyforge_project: rufus
|
138
|
-
rubygems_version: 1.3.
|
145
|
+
rubygems_version: 1.3.7
|
139
146
|
signing_key:
|
140
147
|
specification_version: 3
|
141
148
|
summary: job scheduler for Ruby (at, cron, in and every jobs)
|
142
149
|
test_files:
|
143
|
-
- spec/
|
150
|
+
- spec/at_in_spec.rb
|
151
|
+
- spec/at_spec.rb
|
152
|
+
- spec/blocking_spec.rb
|
153
|
+
- spec/cron_spec.rb
|
154
|
+
- spec/cronline_spec.rb
|
155
|
+
- spec/every_spec.rb
|
156
|
+
- spec/exception_spec.rb
|
157
|
+
- spec/in_spec.rb
|
158
|
+
- spec/rtime_spec.rb
|
159
|
+
- spec/schedulable_spec.rb
|
160
|
+
- spec/scheduler_spec.rb
|
161
|
+
- spec/spec_base.rb
|
162
|
+
- spec/stress_schedule_unschedule_spec.rb
|
163
|
+
- spec/timeout_spec.rb
|
164
|
+
- test/kjw.rb
|
165
|
+
- test/t.rb
|
data/spec/spec.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
# specifying rufus-scheduler
|
4
|
-
#
|
5
|
-
# Fri Mar 20 22:54:46 JST 2009
|
6
|
-
#
|
7
|
-
|
8
|
-
specs = Dir["#{File.dirname(__FILE__)}/*_spec.rb"]
|
9
|
-
|
10
|
-
#specs = specs - [ 'spec/stress_schedule_unschedule_spec.rb' ]
|
11
|
-
# this spec was a bit longish (11m) now it's OK (66.78s)
|
12
|
-
|
13
|
-
specs.each { |path| load(path) }
|
14
|
-
|