Commit Graph

187 Commits

Author SHA1 Message Date
John Bintz
905558da45 check instead to see if stdin is not a tty for triggering pipe 2011-09-06 09:30:12 -04:00
John Bintz
919dbe09ef allow piping of crontab from stdin to stdout 2011-08-19 11:40:23 -04:00
Javan Makhmali
ace7f086a9 replaced another confusing 'app' dir 2011-07-31 23:47:30 -04:00
Javan Makhmali
e6015b5f64 Merge pull request #154 from andrew/master
Default the wheneverize commands directory option to .
2011-07-31 11:55:21 -07:00
Javan Makhmali
ab877e3cbb improve eval'ing of schedule file to reveal the filename in backtraces 2011-07-31 14:16:23 -04:00
Javan Makhmali
8bb0f04131 formatting 2011-07-31 09:33:16 -04:00
Javan Makhmali
15d91a3efd prefer autoload to require 2011-07-31 09:27:18 -04:00
Javan Makhmali
16f988f47d avoid confusion with 'app' directory 2011-07-30 19:08:41 -04:00
Javan Makhmali
648587b416 Merge pull request #158 from szajbus/master
Run rake through bundle exec
2011-07-19 06:20:18 -07:00
Michał Szajbe
439a13644c run rake through bundler if possible 2011-07-19 10:19:13 +02:00
Michał Szajbe
b405def424 encapsulate rails 3 check for easier testing 2011-07-19 10:18:33 +02:00
Andrew Nesbitt
f21f48a215 Default wheneverize directory to '.' 2011-07-11 11:11:07 +01:00
Javan Makhmali
42061be142 removed stray text from readme 2011-07-07 08:50:32 -04:00
Javan Makhmali
660fbc50e3 update readme for syntax highlighting 2011-07-04 10:04:27 -04:00
Javan Makhmali
4c242cf0c5 Merge pull request #153 from biow0lf/master
Fix typo
2011-07-04 06:40:09 -07:00
Igor Zubkov
820d34a86a Fix typo 2011-07-04 11:26:22 +03:00
Javan Makhmali
8515ffb528 added compatibility note to readme 2011-06-19 14:19:55 -04:00
Javan Makhmali
7ca2d87823 moved license 2011-06-19 14:17:01 -04:00
Javan Makhmali
a4a41704eb removed incompatible rubies 2011-06-19 14:13:23 -04:00
Javan Makhmali
b4ed6373cf added .travis.yml 2011-06-19 13:54:27 -04:00
Javan Makhmali
a9eede25cf i18n that is 2011-06-19 10:30:09 -04:00
Javan Makhmali
1f58338d6b add i18n to gemspec 2011-06-19 10:28:54 -04:00
Javan Makhmali
89c9148383 add rake to dev dependencies, add travis-ci status to readme 2011-06-19 10:14:45 -04:00
Javan Makhmali
bf679b02a9 Merge pull request #138 from cgriego/master
Capistrano tasks enhancements
2011-06-14 06:47:30 -07:00
Javan Makhmali
3f9dda27a9 Merge pull request #145 from jdutil/patch-1
RVM gotcha directions to the README
2011-06-12 08:19:21 -07:00
Javan Makhmali
0114f82e1c Merge pull request #148 from markisisme/master
Add quotes to --set example.
2011-06-12 08:18:33 -07:00
Mark
fed71a5574 Add quotes to --set example. 2011-06-09 11:53:58 -07:00
Javan Makhmali
01c27c9c10 smoke the latest chronic 2011-06-08 21:24:06 -04:00
Jeff Dutil
7be0626800 I am adding RVM gotcha directions to the README since I ran into the same issue as another user https://github.com/javan/whenever/issues/110 and thought at first it may be related to Whenever. The wiki may be a good place for this instruction, but I find it much more useful / easier to find in the README. The wikis homepage doesn't link to the relevant page, and it could be difficult for users to find (as it was for me). 2011-05-31 18:23:59 -07:00
Chris Griego
98ae96a2af Capistrano enhancements
* Use fetch(:variable) to avoid collisions with namespaces
* Default :whenever_environment to the :rails_env variable
* Document the Capistrano tasks
* Apply whenever_roles at runtime so the variable can be set after the recipe is loaded
* Add transaction rollback support to the update_crontab task
2011-05-24 23:54:34 -05:00
Javan Makhmali
1214114c40 bump version 2011-05-24 22:12:32 -04:00
Javan Makhmali
56ab2cba32 require thread 2011-05-24 22:07:14 -04:00
Javan Makhmali
5f7253ccc3 Output no update message as comments. 2011-05-24 22:01:31 -04:00
Javan Makhmali
cc6bafb37a allow comma in raw cron syntax 2011-05-23 22:23:42 -04:00
Javan Makhmali
78786a4465 Merge pull request #128 from amiryal/master
Undocumented change in lib/whenever/capistrano.rb
2011-05-23 18:10:56 -07:00
Javan Makhmali
1654f67774 convert most shortcuts to seconds 2011-05-23 21:08:43 -04:00
Amir Yalon
6f94747ebd Fix documentation for Capistrano with different environments 2011-04-04 18:04:39 +03:00
Javan Makhmali
a3b5791bbb Whenever v0.6.7 2011-03-23 22:09:21 -04:00
Javan Makhmali
6305ab0d8e removed -i from default job_template 2011-03-23 22:03:43 -04:00
Jeremy Lingmann
3cf92a44c2 Require that the comment identifiers are always on a line by themselves, but allow for whitespace after the identifier. 2011-03-10 22:30:11 -08:00
Jeremy Lingmann
971854528b Revert "Don't anchor the regexp to EOL to fix matching issues that were causing the entire block of crontab entries to appear twice in the crontab. This could be due to the way cron is adding newlines or some other post-processing that occurs on the cron. This bug was reproduced in the following environment: Ubuntu 10.04.2 LTS, rvm 1.0.14, ruby 1.8.7 patchlevel 253, capistrano 2.5.19, capistrano-ext 1.2.1, bundler 1.0.10"
This reverts commit 1f11510d87.
2011-03-10 22:00:41 -08:00
Jeremy Lingmann
7dd0a046ae Fixing issue with prepare method. The issue was that [stripped_contents.length..-1] was not capturing the trailing contents as expected. Instead it was grabbing the last 2 characters of my identifier block and then tacking those 2 characters back on to the end. In short, .length and the range operator are not behaving consistently on the input. 2011-03-10 21:50:50 -08:00
Jeremy Lingmann
1f11510d87 Don't anchor the regexp to EOL to fix matching issues that were causing the entire block of crontab entries to appear twice in the crontab. This could be due to the way cron is adding newlines or some other post-processing that occurs on the cron. This bug was reproduced in the following environment: Ubuntu 10.04.2 LTS, rvm 1.0.14, ruby 1.8.7 patchlevel 253, capistrano 2.5.19, capistrano-ext 1.2.1, bundler 1.0.10 2011-03-10 18:06:43 -08:00
Javan Makhmali
96fc6eb4dc fix unclosed identifier bug. #119 2011-03-08 19:47:43 -06:00
Javan Makhmali
8ef9e26109 release v0.6.5 2011-03-08 10:47:55 -06:00
Javan Makhmali
53c0a4d36d readme 2011-03-08 10:31:56 -06:00
Javan Makhmali
2a89d79a28 Ditched Jeweler in favor of a self-managed gemspec with the Bundler helpers. 2011-03-06 21:32:49 -05:00
Javan Makhmali
bbd5bcf782 readme 2011-03-06 21:15:47 -05:00
Javan Makhmali
59e7c31093 add message when just outputting schedule file 2011-03-06 21:10:03 -05:00
Javan Makhmali
a94dda4b8b allow raw cron sytanx 2011-03-06 17:31:17 -05:00