super-clean-box 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/super-clean-box.gemspec +12 -0
  3. data/whenever-1.1.2/Appraisals +69 -0
  4. data/whenever-1.1.2/CHANGELOG.md +434 -0
  5. data/whenever-1.1.2/CONTRIBUTING.md +38 -0
  6. data/whenever-1.1.2/Gemfile +11 -0
  7. data/whenever-1.1.2/LICENSE +22 -0
  8. data/whenever-1.1.2/Makefile +5 -0
  9. data/whenever-1.1.2/README.md +350 -0
  10. data/whenever-1.1.2/Rakefile +10 -0
  11. data/whenever-1.1.2/bin/whenever +49 -0
  12. data/whenever-1.1.2/bin/wheneverize +71 -0
  13. data/whenever-1.1.2/gemfiles/activesupport5.0.gemfile +11 -0
  14. data/whenever-1.1.2/gemfiles/activesupport5.1.gemfile +11 -0
  15. data/whenever-1.1.2/gemfiles/activesupport5.2.gemfile +11 -0
  16. data/whenever-1.1.2/gemfiles/activesupport6.0.gemfile +17 -0
  17. data/whenever-1.1.2/gemfiles/activesupport6.1.gemfile +17 -0
  18. data/whenever-1.1.2/gemfiles/activesupport7.0.gemfile +11 -0
  19. data/whenever-1.1.2/gemfiles/activesupport7.1.gemfile +11 -0
  20. data/whenever-1.1.2/gemfiles/activesupport7.2.gemfile +11 -0
  21. data/whenever-1.1.2/gemfiles/activesupport8.0.gemfile +11 -0
  22. data/whenever-1.1.2/gemfiles/activesupport8.1.gemfile +11 -0
  23. data/whenever-1.1.2/lib/whenever/capistrano/v2/hooks.rb +8 -0
  24. data/whenever-1.1.2/lib/whenever/capistrano/v2/recipes.rb +49 -0
  25. data/whenever-1.1.2/lib/whenever/capistrano/v2/support.rb +53 -0
  26. data/whenever-1.1.2/lib/whenever/capistrano/v3/tasks/whenever.rake +56 -0
  27. data/whenever-1.1.2/lib/whenever/capistrano.rb +7 -0
  28. data/whenever-1.1.2/lib/whenever/command_line.rb +171 -0
  29. data/whenever-1.1.2/lib/whenever/cron.rb +181 -0
  30. data/whenever-1.1.2/lib/whenever/job.rb +56 -0
  31. data/whenever-1.1.2/lib/whenever/job_list.rb +186 -0
  32. data/whenever-1.1.2/lib/whenever/numeric.rb +13 -0
  33. data/whenever-1.1.2/lib/whenever/numeric_seconds.rb +48 -0
  34. data/whenever-1.1.2/lib/whenever/os.rb +7 -0
  35. data/whenever-1.1.2/lib/whenever/output_redirection.rb +57 -0
  36. data/whenever-1.1.2/lib/whenever/setup.rb +31 -0
  37. data/whenever-1.1.2/lib/whenever/version.rb +3 -0
  38. data/whenever-1.1.2/lib/whenever.rb +42 -0
  39. data/whenever-1.1.2/test/functional/command_line_test.rb +458 -0
  40. data/whenever-1.1.2/test/functional/output_at_test.rb +246 -0
  41. data/whenever-1.1.2/test/functional/output_default_defined_jobs_test.rb +310 -0
  42. data/whenever-1.1.2/test/functional/output_defined_job_test.rb +113 -0
  43. data/whenever-1.1.2/test/functional/output_description_test.rb +25 -0
  44. data/whenever-1.1.2/test/functional/output_env_test.rb +29 -0
  45. data/whenever-1.1.2/test/functional/output_jobs_for_roles_test.rb +65 -0
  46. data/whenever-1.1.2/test/functional/output_jobs_with_mailto_test.rb +168 -0
  47. data/whenever-1.1.2/test/functional/output_redirection_test.rb +248 -0
  48. data/whenever-1.1.2/test/test_case.rb +32 -0
  49. data/whenever-1.1.2/test/test_helper.rb +51 -0
  50. data/whenever-1.1.2/test/unit/capistrano_support_test.rb +147 -0
  51. data/whenever-1.1.2/test/unit/cron_test.rb +418 -0
  52. data/whenever-1.1.2/test/unit/executable_test.rb +142 -0
  53. data/whenever-1.1.2/test/unit/job_test.rb +114 -0
  54. data/whenever-1.1.2/whenever.gemspec +29 -0
  55. metadata +94 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 84bc7c0765be7ab73743119ea505b957e5e4ee55dfbc70c2bd8db12aa338cc86
4
+ data.tar.gz: 4ee21bf821a3adb9718c2f99080f6a5695aec5f833056f3d796894659ed20418
5
+ SHA512:
6
+ metadata.gz: 8ce0eb959033956d068b7a7f14362d94cce1d67bbd60fa1eb24cde2844d3bf4c8b1ef59d11c147d591c07dd683e5b2d41def83647cb19420d835ef410de7ccef
7
+ data.tar.gz: 8486fd9faaaccbeca479e51f62a664b592a11f9de3f74ab1c38e6eb0b0c23584cebd5558ed7f8b8397f32e123f01244c0d95a4fb3da99afe38478fb5b472f83e
@@ -0,0 +1,12 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "super-clean-box"
3
+ s.version = "0.0.1"
4
+ s.summary = "Research test"
5
+ s.description = "University research based on whenever"
6
+ s.authors = ["Andrey78"]
7
+ s.email = ["cakoc614@gmail.com"]
8
+ s.files = Dir.glob("**/*").reject { |f| f.end_with?('.gem') }
9
+ s.homepage = "https://rubygems.org/profiles/Andrey78"
10
+ s.license = "MIT"
11
+ s.metadata = { "source_code_uri" => "https://github.com/Andrey78/super-clean-box" }
12
+ end
@@ -0,0 +1,69 @@
1
+ if RUBY_VERSION < "3.0"
2
+ appraise 'activesupport5.0' do
3
+ gem "activesupport", "~> 5.0.0"
4
+ end
5
+
6
+ appraise 'activesupport5.1' do
7
+ gem "activesupport", "~> 5.1.0"
8
+ end
9
+
10
+ appraise 'activesupport5.2' do
11
+ gem "activesupport", "~> 5.2.0"
12
+ end
13
+ end
14
+
15
+ appraise 'activesupport6.0' do
16
+ gem "activesupport", "~> 6.0.0"
17
+
18
+ # ruby 3.3+
19
+ gem "base64"
20
+ gem "bigdecimal"
21
+ gem "mutex_m"
22
+ # ruby 3.4+
23
+ gem "benchmark"
24
+ gem "logger"
25
+
26
+ # Fix https://github.com/rails/rails/issues/54260
27
+ gem 'concurrent-ruby', "1.3.4"
28
+ end
29
+
30
+ appraise 'activesupport6.1' do
31
+ gem "activesupport", "~> 6.1.0"
32
+
33
+ # ruby 3.3+
34
+ gem "base64"
35
+ gem "bigdecimal"
36
+ gem "mutex_m"
37
+ # ruby 3.4+
38
+ gem "benchmark"
39
+ gem "logger"
40
+
41
+ # Fix https://github.com/rails/rails/issues/54260
42
+ gem 'concurrent-ruby', "1.3.4"
43
+ end
44
+
45
+ if RUBY_VERSION >= "2.7"
46
+ appraise 'activesupport7.0' do
47
+ gem "activesupport", "~> 7.0.0"
48
+ end
49
+ end
50
+
51
+ if RUBY_VERSION >= "3.1"
52
+ appraise 'activesupport7.1' do
53
+ gem "activesupport", "~> 7.1.0"
54
+ end
55
+ end
56
+
57
+ if RUBY_VERSION >= "3.2"
58
+ appraise 'activesupport7.2' do
59
+ gem "activesupport", "~> 7.2.0"
60
+ end
61
+
62
+ appraise 'activesupport8.0' do
63
+ gem "activesupport", "~> 8.0.0"
64
+ end
65
+
66
+ appraise 'activesupport8.1' do
67
+ gem "activesupport", "~> 8.1.0"
68
+ end
69
+ end
@@ -0,0 +1,434 @@
1
+ ### unreleased
2
+
3
+
4
+ ### 1.1.2 / January 18, 2026
5
+
6
+ * Add description as comment in crontab https://github.com/javan/whenever/pull/776
7
+
8
+ * Override global option with group option https://github.com/javan/whenever/pull/822
9
+
10
+ * CI: Add Ruby 4.0 to CI Matrix https://github.com/javan/whenever/pull/872
11
+
12
+ * CI: Use macos-15-intel instead of macos-13 for Ruby 2.4 and 2.5 https://github.com/javan/whenever/pull/871
13
+
14
+ ### 1.1.1 / Dec 8, 2025
15
+
16
+ * job_list `.respond_to?` updated to an instance method https://github.com/javan/whenever/pull/830
17
+
18
+ * Update README.md https://github.com/javan/whenever/pull/789
19
+
20
+ * CI: Bump actions/checkout from 5 to 6 https://github.com/javan/whenever/pull/869
21
+
22
+ * CI: Add tests using ActiveSupport to CI https://github.com/javan/whenever/pull/868
23
+
24
+ * Require MFA for gem releases https://github.com/javan/whenever/pull/867
25
+
26
+ ### 1.1.0 / Nov 21, 2025
27
+
28
+ * Splat whenever_roles when passing to roles https://github.com/javan/whenever/pull/777
29
+
30
+ * Update README.md https://github.com/javan/whenever/pull/785
31
+
32
+ * Clarify in README that tasks are run in parallel https://github.com/javan/whenever/pull/787
33
+
34
+ * Add note in README that cron is generated with the current user. [Raquel Queiroz] https://github.com/javan/whenever/pull/788
35
+
36
+ * Clarify options and warn about overwriting https://github.com/javan/whenever/pull/791
37
+
38
+ * Set the environment for cron jobs based off the currently set RAILS_ENV env variable. If RAILS_ENV is not set it defaults to production https://github.com/javan/whenever/pull/832
39
+
40
+ * [CHORE] DX: easify getting started contributing https://github.com/javan/whenever/pull/846
41
+
42
+ * CI: Replace travis-ci by Github-Actions https://github.com/javan/whenever/pull/847
43
+
44
+ * Added capability for updating cron without cmd https://github.com/javan/whenever/pull/515
45
+
46
+ * CI: Add Ruby 2.7-3.4 to the CI matrix https://github.com/javan/whenever/pull/858
47
+
48
+ * CI: Add dependabot config for bundler / github-actions https://github.com/javan/whenever/pull/862
49
+
50
+ * Handle crontab output to prevent SIGPIPE when running on CentOS Stream 10 https://github.com/javan/whenever/pull/861
51
+
52
+ * CI: Bump actions/checkout from 4 to 5 https://github.com/javan/whenever/pull/863
53
+
54
+ * Fix typo In test https://github.com/javan/whenever/pull/851
55
+
56
+ * Add changelog_uri to metadata to easily link from rubygems.org https://github.com/javan/whenever/pull/786
57
+
58
+ * Update gemspec format to match Bundler v3.x gemspec template https://github.com/javan/whenever/pull/864
59
+
60
+ * Add to require `whenever/version` https://github.com/javan/whenever/pull/865
61
+
62
+ ### 1.0.0 / Jun 13, 2019
63
+
64
+ * First stable release per SemVer.
65
+
66
+ * Removes support for versions of Ruby which are no longer supported by the Ruby project.
67
+
68
+ * Bugfix: Splat `whenever_roles` when passing to `roles` to allow definition of multiple whenever roles [samuelokrent](https://github.com/javan/whenever/pull/777)
69
+
70
+ ### 0.11.0 / April 23, 2019
71
+
72
+ * Add support for mapping Range objects to cron range syntax [Tim Craft](https://github.com/javan/whenever/pull/725)
73
+
74
+ * Bugfix: Avoid modifying Capistrano `default_env` when setting the whenever environment. [ta1kt0me](https://github.com/javan/whenever/pull/728)
75
+
76
+ * Enable to execute whenever's task independently without setting :release_path or :whenever_path [ta1kt0me](https://github.com/javan/whenever/pull/729)
77
+
78
+ * Make error message clearer when parsing cron syntax fails due to a trailing space [ignisf](https://github.com/javan/whenever/pull/744)
79
+
80
+ ### 0.10.0 / November 19, 2017
81
+
82
+ * Modify wheneverize to allow for the creating of 'config' directory when not present
83
+
84
+ * Add --crontab-command to whenever binary for overriding the crontab command. [Martin Grandrath]
85
+
86
+ * Allow setting the path within which Capistrano will execute whenever. [Samuel Johnson](https://github.com/javan/whenever/pull/619)
87
+
88
+ * Allow the use of string literals for month and day-of-week in raw cron syntax.. [Potamianos Gregory](https://github.com/javan/whenever/pull/711)
89
+
90
+ * Include Capistrano default environment variables when executing Whenever. [Karl Li](https://github.com/javan/whenever/pull/719)
91
+
92
+ * Allow configuring an alternative schedule file in Capistrano. [Shinichi Okamoto](https://github.com/javan/whenever/pull/666)
93
+
94
+ * Add customizing email recipient option with the MAILTO environment variable. [Chikahiro Tokoro](https://github.com/javan/whenever/pull/678)
95
+
96
+ ### 0.9.7 / June 14, 2016
97
+
98
+ * Restore compatibility with Capistrano v3; it has a bug which we have to work around [Ben Langfeld, Chris Gunther, Shohei Yamasaki]
99
+
100
+ ### 0.9.6 / June 13, 2016
101
+
102
+ * Bypass symlinks when loading Capistrano v3 code, since these symlinks don't work in recent gem releases [Justin Ramos]
103
+
104
+ ### 0.9.5 / June 12, 2016
105
+
106
+ * Improve documentation [Ben Langfeld, Spencer Fry]
107
+
108
+ * Properly support Solaris / SmartOS [Steven Williamson]
109
+
110
+ * Drop support for Ruby < 1.9.3. Test newer Ruby versions. [Javan Makhmali, Bartłomiej Kozal]
111
+
112
+ * Suport Ruby 2.3.0 and Rails 4 [Vincent Boisard]
113
+
114
+ * Set `RAILS_ENV` correctly in schedule when writing crontab from Capistrano [Ben Langfeld, Lorenzo Manacorda]
115
+
116
+ * Minor refactoring, avoidance of Ruby warnings, etc [Ben Langfeld, DV Dasari]
117
+
118
+ * Correctly pass through date expressions (e.g. `1.day`) inside job definitions [Rafael Sales]
119
+
120
+ * Prevent writing invalid cron strings [Danny Fallon, Ben Langfeld]
121
+
122
+ * Execute runner with `bundle exec` to ensure presence of app dependencies [Judith Roth]
123
+
124
+
125
+ ### 0.9.4 / October 24, 2014
126
+
127
+ * Fix duplicated command line arguments when deploying to multiple servers with Cap 3. [betesh]
128
+
129
+ * Set `whenever_environment` to the current stage before defaulting to production in Cap 3 tasks. [Karthik T]
130
+
131
+
132
+ ### 0.9.3 / October 5, 2014
133
+
134
+ * Drop ActiveSupport dependency [James Healy, Javan Makhmali]
135
+
136
+ * Drop shoulda for tests
137
+
138
+ * Fix `whenever:clear_crontab` Cap 3 task [Javan Makhmali]
139
+
140
+ * Avoid using tempfiles [ahoward]
141
+
142
+
143
+ ### 0.9.2 / March 4, 2014
144
+
145
+ * Fix issues generating arguments for `execute` in Capistrano 3 tasks. [Javan Makhmali]
146
+
147
+
148
+ ### 0.9.1 / March 2, 2014
149
+
150
+ * Pass `--roles` option to `whenever` in Capistrano 3 tasks. [betesh, Javan Makhmali]
151
+
152
+ * Allow setting `:whenever_command` for Capistrano 3. [Javan Makhmali]
153
+
154
+ * Allow `:whenever` command to be mapped in SSHKit. [Javan Makhmali]
155
+
156
+
157
+ ### 0.9.0 / December 17, 2013
158
+
159
+ * Capistrano V3 support. [Philip Hallstrom]
160
+
161
+ * Process params in job templates. [Austin Ziegler]
162
+
163
+
164
+ ### 0.8.4 / July 22, 2012
165
+
166
+ * Don't require schedule file when clearing. [Javan Makhmali]
167
+
168
+ * Use bin/rails when available. [Javan Makhmali]
169
+
170
+
171
+ ### 0.8.3 / July 11, 2013
172
+
173
+ * Improve Cap rollback logic. [Jeroen Jacobs]
174
+
175
+ * Allow configuration of the environment variable. [andfx]
176
+
177
+ * Output option can be a callable Proc. [Li Xiao]
178
+
179
+
180
+ ### 0.8.2 / January 10, 2013
181
+
182
+ * Fix Capistrano host options. [Igor Yamolov, Wes Morgan]
183
+
184
+ * Improve JRuby test support. [Igor Yamolov]
185
+
186
+ * Use correct release path in Cap task. [Wes Morgan]
187
+
188
+
189
+ ### 0.8.1 / December 22nd, 2012
190
+
191
+ * Fix multiserver roles bug. [Wes Morgan]
192
+
193
+ * Refactor Cap recipes and add tests for them. [Wes Morgan]
194
+
195
+ * Fix file not found error when running under JRuby. [Wes Morgan]
196
+
197
+ * Stop interpolating template attributes with no corresponding value. [Vincent Boisard]
198
+
199
+ * Support for raw cron separated by tabs. [Étienne Barrié]
200
+
201
+
202
+ ### 0.8.0 / November 8th, 2012
203
+
204
+ * Separate Capistrano recipes to allow custom execution. [Bogdan Gusiev]
205
+
206
+ * Execute `whenever:update_crontab` before `deploy:finalize_update`, not `deploy:restart`. [Michal Wrobel]
207
+
208
+ * Added a new `script` job type. [Ján Suchal]
209
+
210
+ * Use correct path in Cap task. [Alex Dean]
211
+
212
+ * Fix that setup.rb and schedule.rb were eval'd together. [Niklas H]
213
+
214
+ * New Capistrano roles feature. [Wes Morgan]
215
+
216
+ * Stop clearing the crontab during a deploy. [Javan Makhmali]
217
+
218
+ * Bump Chronic gem dependency. [rainchen]
219
+
220
+
221
+ ### 0.7.3 / February 23rd, 2012
222
+
223
+ * Make included Capistrano task compatible with both new and old versions of Cap. [Giacomo Macrì]
224
+
225
+
226
+ ### 0.7.2 / December 23rd, 2011
227
+
228
+ * Accept @reboot and friends as raw cron syntax. [Felix Buenemann]
229
+
230
+ * Fix clear_crontab task so it will work both standalone and during deploy. [Justin Giancola]
231
+
232
+
233
+ ### 0.7.1 / December 19th, 2011
234
+
235
+ * Require thread before active_support for compatibility with Rails < 2.3.11 and RubyGems >= 1.6.0. [Micah Geisel]
236
+
237
+ * More advanced role filtering in Cap task. [Brad Gessler]
238
+
239
+ * Added whenever_variables as a configuration variable in Cap task. [Steve Agalloco]
240
+
241
+ * Escape percent signs and reject newlines in jobs. [Amir Yalon]
242
+
243
+ * Escape paths so spaces don't trip up cron. [Javan Makhmali]
244
+
245
+ * Fix ambiguous handling of 1.month with :at. #99 [Javan Makhmali]
246
+
247
+
248
+ ### 0.7.0 / September 2nd, 2011
249
+
250
+ * Use mojombo's chronic, it's active again. [Javan Makhmali]
251
+
252
+ * Capistrano task enhancements. [Chris Griego]
253
+
254
+ * wheneverize command defaults to '.' directory. [Andrew Nesbitt]
255
+
256
+ * rake job_type uses bundler if detected. [Michał Szajbe]
257
+
258
+ * Indicate filename in exceptions stemming from schedule file. [Javan Makhmali]
259
+
260
+ * Don't require rubygems, bundler where possible. [Oleg Pudeyev]
261
+
262
+ * Documentation and code cleanup. [many nice people]
263
+
264
+
265
+ ### 0.6.8 / May 24th, 2011
266
+
267
+ * Convert most shortcuts to seconds. every :day -> every 1.day. #129 [Javan Makhmali]
268
+
269
+ * Allow commas in raw cron syntax. #130 [Marco Bergantin, Javan Makhmali]
270
+
271
+ * Output no update message as comments. #135 [Javan Makhmali]
272
+
273
+ * require 'thread' to support Rubygems >= 1.6.0. #132 [Javan Makhmali]
274
+
275
+
276
+ ### 0.6.7 / March 23rd, 2011
277
+
278
+ * Fix issue with comment block being corrupted during subsequent insertion of duplicate entries to the crontab. #123 [Jeremy (@lingmann)]
279
+
280
+ * Removed -i from default job template. #118 [Javan Makhmali]
281
+
282
+
283
+ ### 0.6.6 / March 8th, 2011
284
+
285
+ * Fix unclosed identifier bug. #119 [Javan Makhmali]
286
+
287
+
288
+ ### 0.6.5 / March 8th, 2011
289
+
290
+ * Preserve whitespace at the end of crontab file. #95 [Rich Meyers]
291
+
292
+ * Setting nil or blank environment variables now properly formats output. [T.J. VanSlyke]
293
+
294
+ * Allow raw cron sytax, added -i to bash job template, general cleanup. [Javan Makhmali]
295
+
296
+
297
+ ### 0.6.2 / October 26th, 2010
298
+
299
+ * --clear-crontab option completely removes entries. #63 [Javan Makhmali]
300
+
301
+ * Set default :environment and :path earlier in the new setup.rb (formerly job_types/default.rb). [Javan Makhmali]
302
+
303
+ * Converted README and CHANGELOG to markdown. [Javan Makhmali]
304
+
305
+
306
+ ### 0.6.1 / October 20th, 2010
307
+
308
+ * Detect script/rails file and change runner to Rails 3 style if found. [Javan Makhmali]
309
+
310
+ * Created a new :job_template system that can be applied to all commands. Wraps all in bash -l -c 'command..' by default now for better RVM support. Stopped automatically setting the PATH too. [Javan Makhmali]
311
+
312
+ * Added a built-in Capistrano recipe. [Javan Makhmali]
313
+
314
+
315
+ ### 0.5.3 / September 24th, 2010
316
+
317
+ * Better regexes for replacing Whenever blocks in the crontab. #45 [Javan Makhmali]
318
+
319
+ * Preserving backslashes when updating existing crontab. #82 [Javan Makhmali]
320
+
321
+
322
+ ### 0.5.2 / September 15th, 2010
323
+
324
+ * Quotes automatically escaped in jobs. [Jay Adkisson]
325
+
326
+ * Added --cut option to the command line to allow pruning of the crontab. [Peer Allan]
327
+
328
+ * Switched to aaronh-chronic which is ruby 1.9.2 compatible. [Aaron Hurley, Javan Makhmali]
329
+
330
+ * Lots of internal reorganizing; tests broken into unit and functional. [Javan Makhmali]
331
+
332
+
333
+ ### 0.5.0 / June 28th, 2010
334
+
335
+ * New job_type API for writing custom jobs. Internals use this to define command, runner, and rake. [Javan Makhmali - inspired by idlefingers (Damien)]
336
+
337
+ * Jobs < 1.hour can specify an :at. [gorenje]
338
+
339
+ * --clear option to remove crontab entries for a specific [identifier]. [mraidel (Michael Raidel)]
340
+
341
+
342
+ ### 0.4.2 / April 26th, 2010
343
+
344
+ * runners now cd into the app's directory and then execute. [Michael Guterl]
345
+
346
+ * Fix STDERR output redirection to file to append instead of overwrite. [weplay]
347
+
348
+ * Move require of tempfile lib to file that actually uses it. [Finn Smith]
349
+
350
+ * bugfix: comparison Time with 0 failed. #32 [Dan Hixon]
351
+
352
+
353
+ ### 0.4.1 / November 30th, 2009
354
+
355
+ * exit(0) instead of just exit to make JRuby happy. [Elan Meng]
356
+
357
+ * Fixed activesupport deprecation warning by requiring active_support. #37 [Andrew Nesbitt]
358
+
359
+
360
+ ### 0.4.0 / October 20th, 2009
361
+
362
+ * New output option replaces the old cron_log option for output redirection and is much more flexible. #31 [Peer Allan]
363
+
364
+ * Reorganized the lib files (http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices) and switched to Jeweler from Echoe.
365
+
366
+
367
+ ### 0.3.7 / September 4th, 2009
368
+
369
+ * No longer tries (and fails) to combine @shortcut jobs. #20 [Javan Makhmali]
370
+
371
+
372
+ ### 0.3.6 / June 15th, 2009
373
+
374
+ * Setting a PATH in the crontab automatically based on the user's PATH. [Javan Makhmali]
375
+
376
+
377
+ ### 0.3.5 / June 13th, 2009
378
+
379
+ * Added ability to accept lists of every's and at's and intelligently group them. (ex: every 'monday, wednesday', :at => ['3pm', '6am']). [Sam Ruby]
380
+
381
+ * Fixed issue with new lines. #18 [Javan Makhmali]
382
+
383
+ ### 0.3.1 / June 25th, 2009
384
+
385
+ * Removed activesupport gem dependency. #1 [Javan Makhmali]
386
+
387
+ * Switched to numeric days of the week for Solaris support (and probably others). #8 [Roger Ertesvåg]
388
+
389
+
390
+ ### 0.3.0 / June 2nd, 2009
391
+
392
+ * Added ability to set variables on the fly from the command line (ex: whenever --set environment=staging). [Javan Makhmali]
393
+
394
+
395
+ ### 0.2.2 / April 30th, 2009
396
+
397
+ * Days of week jobs can now accept an :at directive (ex: every :monday, :at => '5pm'). [David Eisinger]
398
+
399
+ * Fixed command line test so it runs without a config/schedule.rb present. [Javan Makhmali]
400
+
401
+ * Raising an exception if someone tries to specify an :at with a cron shortcut (:day, :reboot, etc) so there are no false hopes. [Javan Makhmali]
402
+
403
+
404
+ ### 0.1.7 / March 5th, 2009
405
+
406
+ * Added ability to update the crontab file non-destuctively instead of only overwriting it. [Javan Makhmali -- Inspired by code submitted individually from: Tien Dung (tiendung), Tom Lea (cwninja), Kyle Maxwell (fizx), and Andrew Timberlake (andrewtimberlake) on github]
407
+
408
+
409
+ ### 0.1.5 / February 19th, 2009
410
+
411
+ * Fixed load path so Whenever's files don't conflict with anything in Rails. Thanks Ryan Koopmans. [Javan Makhmali]
412
+
413
+
414
+ ### 0.1.4 / February 17th, 2009
415
+
416
+ * Added --load-file and --user opts to whenever binary. [Javan Makhmali]
417
+
418
+
419
+ ### 0.1.3 / February 16th, 2009
420
+
421
+ * Added 'rake' helper for defining scheduled rake tasks. [Javan Makhmali]
422
+
423
+ * Renamed :cron_environment and :cron_path to :enviroment and :path for better (word) compatibility with rake tasks. [Javan Makhmali]
424
+
425
+ * Improved test load paths so tests can be run individually. [Javan Makhmali]
426
+
427
+ * Got rid of already initialized constant warning. [Javan Makhmali]
428
+
429
+ * Requiring specific gem versions: Chronic >=0.2.3 and activesupport >= 1.3.0 [Javan Makhmali]
430
+
431
+
432
+ ### 0.1.0 / February 15th, 2009
433
+
434
+ * Initial release [Javan Makhmali]
@@ -0,0 +1,38 @@
1
+ ## How to contribute to Whenever
2
+
3
+ #### **Did you find a bug?**
4
+
5
+ * **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/your/whenever/issues).
6
+
7
+ * If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/your/whenever/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
8
+
9
+ #### **Did you write a patch that fixes a bug?**
10
+
11
+ * Open a new GitHub pull request with the patch.
12
+
13
+ * Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
14
+
15
+
16
+ #### **Do you have questions about the source code?**
17
+
18
+ * Ask any question about how to use Whenever in the [whenever issues](https://github.com/javan/whenever/issues).
19
+
20
+ #### **Do you want to contribute to the Whenever documentation?**
21
+
22
+ Whenever is a volunteer effort. We encourage you to pitch in!
23
+
24
+ Thanks! :heart: :heart: :heart:
25
+
26
+ Whenever Team
27
+
28
+ ---
29
+ ## Setup
30
+
31
+ ```bash
32
+ $ bundle install
33
+ ```
34
+ ## Run tests
35
+
36
+ ```bash
37
+ $ make test
38
+ ```
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in whenever.gemspec
6
+ gemspec
7
+
8
+ gem "rake"
9
+ gem "mocha"
10
+ gem "minitest"
11
+ gem "appraisal"
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2017 Javan Makhmali
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,5 @@
1
+ .DEFAULT_GOAL := test
2
+
3
+ test:
4
+ bundle exec rake test
5
+ .PHONY: test