cron_swanson 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +5 -1
- data/cron_swanson.gemspec +1 -2
- data/lib/cron_swanson/version.rb +1 -1
- data/lib/cron_swanson/whenever.rb +2 -2
- metadata +2 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebb42f21b14badafd42271cb5add182fc9f91f479b165bfe04f313bb13706609
|
4
|
+
data.tar.gz: cf558fe76d4d4dc0acc7af6fbab76fcd1c40832d16c1a7376883645724b94a2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e3fe8b7e7baa5fcc071ec113905a4621da516381aefe6949b06707b59ab2b4573787fe284520c70215dd64970693a06e7cd707fe60b2e2baef0ec7b123eee48
|
7
|
+
data.tar.gz: f9c45894b78262faaced52c95c5839687e2148d84175b33073a5819f45b68593940b8ee20cc6de6a91304f941b5b3f946ec074e3d9001cc8729d031f34d2367b
|
data/.github/workflows/rspec.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.1.2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 0.
|
3
|
+
## 0.4.0 : "I'd wish you the best of luck, but luck is is a concept created by the weak to explain their failures." : July 30, 2022
|
4
|
+
|
5
|
+
Compatibility with ruby 3+. Thanks to @mzagaja! [PR #4](https://github.com/alexdean/cron_swanson/pull/4)
|
6
|
+
|
7
|
+
## 0.3.4 : "Dear frozen yogurt, you are the celery of desserts. Be ice cream or be nothing." : Jan 1, 2022
|
4
8
|
|
5
9
|
Note that gem doesn't currently work with ruby 3.
|
6
10
|
|
data/cron_swanson.gemspec
CHANGED
@@ -22,8 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
|
26
|
-
spec.required_ruby_version = ['>= 2.5.0', '< 3.0.0']
|
25
|
+
spec.required_ruby_version = ['>= 2.5.0']
|
27
26
|
|
28
27
|
spec.add_development_dependency "rake", ">= 12.3.3"
|
29
28
|
end
|
data/lib/cron_swanson/version.rb
CHANGED
@@ -81,9 +81,9 @@ module CronSwanson
|
|
81
81
|
|
82
82
|
# now that we know when to schedule the jobs, actually pass the block to Whenever
|
83
83
|
if roles.size > 0
|
84
|
-
@whenever_job_list.every(schedule, roles: roles, &
|
84
|
+
@whenever_job_list.every(schedule, roles: roles, &block)
|
85
85
|
else
|
86
|
-
@whenever_job_list.every(schedule, &
|
86
|
+
@whenever_job_list.every(schedule, &block)
|
87
87
|
end
|
88
88
|
|
89
89
|
@in_schedule_method = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cron_swanson
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dean
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -63,9 +63,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: 2.5.0
|
66
|
-
- - "<"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 3.0.0
|
69
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
70
67
|
requirements:
|
71
68
|
- - ">="
|