rufus-scheduler 3.4.0 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.txt +10 -0
- data/CREDITS.txt +2 -0
- data/README.md +1 -1
- data/lib/rufus/scheduler.rb +1 -1
- data/lib/rufus/scheduler/jobs.rb +6 -1
- data/lib/rufus/scheduler/util.rb +1 -1
- data/rufus-scheduler.gemspec +1 -1
- metadata +23 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b2f35e030fcf0e6338856400c56ebc4ac4cc8f7
|
4
|
+
data.tar.gz: bf3e0d885255a7654d4dfbcb95ed3ad4ead9c0ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05aed4a749ec1ddff6423b732f0c3db85fd58836301b70a4a6efbc83fccab5a156f2877800d2cf7be34ec1f600342b30660fa71947322aba38e165c9490a118
|
7
|
+
data.tar.gz: 4ef7fa38c78541dbf72312fadbb3f3a3dc2090dcd13ed2df5390a0950ec45c757c4af0d9ed7109fe3057281deeb0c86a7b75f3e27bbb47338e72bef14528a1dd
|
data/CHANGELOG.txt
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
= rufus-scheduler CHANGELOG.txt
|
3
3
|
|
4
4
|
|
5
|
+
== rufus-scheduler - 3.4.2 released 2017-05-24
|
6
|
+
|
7
|
+
(had yanked 3.4.1, going 3.4.2)
|
8
|
+
|
9
|
+
|
10
|
+
== rufus-scheduler - 3.4.1 released 2017-05-24
|
11
|
+
|
12
|
+
- Let #schedule accept a CronLine instance, gh-247
|
13
|
+
|
14
|
+
|
5
15
|
== rufus-scheduler - 3.4.0 released 2017-03-23
|
6
16
|
|
7
17
|
- Stop supporting Ruby < 1.9
|
data/CREDITS.txt
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|
== Contributors
|
6
6
|
|
7
|
+
- Wes McNamee (https://github.com/ghostsquad) - let #schedule accept a CronLine
|
8
|
+
- Joe Rafaniello (https://github.com/jrafanie) - Travis Ruby 2.4.1
|
7
9
|
- Benjamin Fleischer (https://github.com/bf4) - ZoTime#subtract
|
8
10
|
- Sam Rowe (https://github.com/riddley) - gh-240 timezone for Debian
|
9
11
|
- Daniel Rodgers-Pryor (https://github.com/djrodgerspryor) - gh-238 fix ZooKeeper example
|
data/README.md
CHANGED
@@ -103,7 +103,7 @@ I'll drive you right to the [tracks](#so-rails).
|
|
103
103
|
|
104
104
|
So you need help. People can help you, but first help them help you, and don't waste their time. Provide a complete description of the issue. If it works on A but not on B and others have to ask you: "so what is different between A and B" you are wasting everyone's time.
|
105
105
|
|
106
|
-
"hello" and "thanks" are not swear words.
|
106
|
+
"hello", "please" and "thanks" are not swear words.
|
107
107
|
|
108
108
|
Go read [how to report bugs effectively](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html), twice.
|
109
109
|
|
data/lib/rufus/scheduler.rb
CHANGED
data/lib/rufus/scheduler/jobs.rb
CHANGED
@@ -606,11 +606,16 @@ module Rufus
|
|
606
606
|
|
607
607
|
class CronJob < RepeatJob
|
608
608
|
|
609
|
+
attr_reader :cron_line
|
610
|
+
|
609
611
|
def initialize(scheduler, cronline, opts, block)
|
610
612
|
|
611
613
|
super(scheduler, cronline, opts, block)
|
612
614
|
|
613
|
-
@cron_line =
|
615
|
+
@cron_line =
|
616
|
+
opts[:_t] ||
|
617
|
+
(cronline.is_a?(CronLine) ? cronline : CronLine.new(cronline))
|
618
|
+
|
614
619
|
set_next_time(nil)
|
615
620
|
end
|
616
621
|
|
data/lib/rufus/scheduler/util.rb
CHANGED
data/rufus-scheduler.gemspec
CHANGED
@@ -30,7 +30,7 @@ Job scheduler for Ruby (at, cron, in and every jobs). Not a replacement for cron
|
|
30
30
|
|
31
31
|
s.add_runtime_dependency 'et-orbi', '~> 1.0'
|
32
32
|
|
33
|
-
s.add_development_dependency 'rspec', '~> 3.4
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.4'
|
34
34
|
s.add_development_dependency 'chronic'
|
35
35
|
|
36
36
|
s.require_path = 'lib'
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rufus-scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: et-orbi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.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: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.4
|
33
|
+
version: '3.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.4
|
40
|
+
version: '3.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: chronic
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Job scheduler for Ruby (at, cron, in and every jobs). Not a replacement
|
@@ -60,25 +60,25 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- CHANGELOG.txt
|
64
|
-
- CREDITS.txt
|
65
|
-
- LICENSE.txt
|
66
63
|
- Makefile
|
67
|
-
- README.md
|
68
|
-
- TODO.txt
|
69
|
-
- fail.txt
|
70
|
-
- fail18.txt
|
71
|
-
- lib/rufus-scheduler.rb
|
72
|
-
- lib/rufus/scheduler.rb
|
73
64
|
- lib/rufus/scheduler/cronline.rb
|
74
65
|
- lib/rufus/scheduler/job_array.rb
|
75
66
|
- lib/rufus/scheduler/jobs.rb
|
76
67
|
- lib/rufus/scheduler/locks.rb
|
77
68
|
- lib/rufus/scheduler/util.rb
|
69
|
+
- lib/rufus/scheduler.rb
|
70
|
+
- lib/rufus-scheduler.rb
|
71
|
+
- rufus-scheduler.gemspec
|
72
|
+
- CHANGELOG.txt
|
73
|
+
- CREDITS.txt
|
74
|
+
- fail.txt
|
75
|
+
- fail18.txt
|
76
|
+
- LICENSE.txt
|
78
77
|
- log.txt
|
79
78
|
- n.txt
|
80
79
|
- pics.txt
|
81
|
-
-
|
80
|
+
- TODO.txt
|
81
|
+
- README.md
|
82
82
|
- sofia.md
|
83
83
|
homepage: http://github.com/jmettraux/rufus-scheduler
|
84
84
|
licenses:
|
@@ -90,17 +90,17 @@ require_paths:
|
|
90
90
|
- lib
|
91
91
|
required_ruby_version: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- -
|
93
|
+
- - '>='
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '1.9'
|
96
96
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - '>='
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project: rufus
|
103
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.0.14
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: job scheduler for Ruby (at, cron, in and every jobs)
|