-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38de9ce
commit 33b5097
Showing
18 changed files
with
1,554 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
language: node_js | ||
node_js: | ||
- "0.10" | ||
- "0.8" | ||
- "0.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,25 @@ | ||
quartz.js | ||
# quartz.js | ||
========= | ||
|
||
JavaScript library for use in combination with the Quartz scheduler library | ||
|
||
Initially released as a client side utility library for developers using | ||
the Quartz scheduler (server side .NET) library. | ||
|
||
Packaged for use in node.js or as a bower package for client-side scripting. | ||
|
||
## Node.js | ||
|
||
To use with Node.js run: | ||
|
||
```sh | ||
npm install quarts-util | ||
``` | ||
|
||
## Bower | ||
|
||
To use with Bower run: | ||
|
||
```sh | ||
bower install quartz-util | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"name": "quartz-util", | ||
"version": "0.1.0", | ||
"homepage": "https://github.com/adrianhopebailie/quartz.js", | ||
"authors": [ | ||
"Adrian Hope-Bailie <[email protected]>", | ||
"Theunis Swanepoel <[email protected]>" | ||
], | ||
"description": "A utility module for the Quartz scheduler library", | ||
"main": "quartz-util.js", | ||
"keywords": [ | ||
"quartz", | ||
"cron" | ||
], | ||
"license": "Apache-2.0", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"obj" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
var qunit = require('qunit'); | ||
|
||
qunit.run({ | ||
code: { | ||
path: 'quartz-node.js', | ||
namespace: "QuartzCronExpression" | ||
}, | ||
tests: [ | ||
'tests/quartz-constructors.js', | ||
'tests/quartz-hourly.js', | ||
'tests/quartz-daily.js', | ||
'tests/quartz-weekly.js', | ||
'tests/quartz-monthly.js', | ||
'tests/quartz-pretty-string.js' | ||
] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"name": "quartz-util", | ||
"version": "0.1.0", | ||
"description": "Utility functions for the Quartz scheduler library.", | ||
"main": "quartz-node.js", | ||
"license": "Apache-2.0", | ||
"author": "Stanchion - Product Development <[email protected]>", | ||
"contributors": [ | ||
{ | ||
"name": "Adrian Hope-Bailie", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Theunis Swanepoel", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"directories": { | ||
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "node node-qunit-testrunner.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/adrianhopebailie/quartz.js.git" | ||
}, | ||
"keywords": [ | ||
"quartz", | ||
"cron", | ||
"node" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/adrianhopebailie/quartz.js/issues" | ||
}, | ||
"homepage": "https://github.com/adrianhopebailie/quartz.js", | ||
"devDependencies": { | ||
"qunit": "~0.6.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
//Hacky way to convert our non-node js file into a node module. | ||
var fs = require('fs'); | ||
var code = fs.readFileSync(__dirname + "/quartz-util.js").toString() + | ||
"module.exports = QuartzCronExpression;"; | ||
eval(code); |
Oops, something went wrong.