forked from cfjedimaster/MockDataCFC
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Showing
15 changed files
with
8,235 additions
and
444 deletions.
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
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,61 +1,157 @@ | ||
{ | ||
"rule": [], | ||
"includes": [ | ||
{ "code": "AVOID_USING_CFINCLUDE_TAG" }, | ||
{ "code": "AVOID_USING_CFABORT_TAG" }, | ||
{ "code": "AVOID_USING_CFEXECUTE_TAG" }, | ||
{ "code": "AVOID_USING_DEBUG_ATTR" }, | ||
{ "code": "AVOID_USING_ABORT" }, | ||
{ "code": "AVOID_USING_ISDATE" }, | ||
{ "code": "AVOID_USING_ISDEBUGMODE" }, | ||
{ "code": "AVOID_USING_CFINSERT_TAG" }, | ||
{ "code": "AVOID_USING_CFUPDATE_TAG" }, | ||
{ "code": "ARG_VAR_CONFLICT" }, | ||
{ "code": "ARG_HINT_MISSING" }, | ||
{ "code": "ARG_HINT_MISSING_SCRIPT" }, | ||
{ "code" : "ARGUMENT_INVALID_NAME" }, | ||
{ "code" : "ARGUMENT_ALLCAPS_NAME" }, | ||
{ "code" : "ARGUMENT_TOO_WORDY" }, | ||
{ "code" : "ARGUMENT_IS_TEMPORARY" }, | ||
{ "code": "CFQUERYPARAM_REQ" }, | ||
{ "code": "COMPARE_INSTEAD_OF_ASSIGN" }, | ||
{ "code": "COMPONENT_HINT_MISSING" }, | ||
{ "code" : "COMPONENT_INVALID_NAME" }, | ||
{ "code" : "COMPONENT_ALLCAPS_NAME" }, | ||
{ "code" : "COMPONENT_TOO_SHORT" }, | ||
{ "code" : "COMPONENT_TOO_LONG" }, | ||
{ "code" : "COMPONENT_TOO_WORDY" }, | ||
{ "code" : "COMPONENT_IS_TEMPORARY" }, | ||
{ "code" : "COMPONENT_HAS_PREFIX_OR_POSTFIX" }, | ||
{ "code": "COMPLEX_BOOLEAN_CHECK" }, | ||
{ "code": "EXCESSIVE_FUNCTION_LENGTH" }, | ||
{ "code": "EXCESSIVE_COMPONENT_LENGTH" }, | ||
{ "code": "EXCESSIVE_ARGUMENTS" }, | ||
{ "code": "EXCESSIVE_FUNCTIONS" }, | ||
{ "code": "EXPLICIT_BOOLEAN_CHECK" }, | ||
{ "code": "FUNCTION_TOO_COMPLEX" }, | ||
{ "code": "FUNCTION_HINT_MISSING" }, | ||
{ "code": "FILE_SHOULD_START_WITH_LOWERCASE" }, | ||
{ "code": "LOCAL_LITERAL_VALUE_USED_TOO_OFTEN" }, | ||
{ "code": "GLOBAL_LITERAL_VALUE_USED_TOO_OFTEN" }, | ||
{ "code": "MISSING_VAR" }, | ||
{ "code" : "METHOD_INVALID_NAME" }, | ||
{ "code" : "METHOD_ALLCAPS_NAME" }, | ||
{ "code" : "METHOD_IS_TEMPORARY" }, | ||
{ "code": "NESTED_CFOUTPUT" }, | ||
{ "code": "NEVER_USE_QUERY_IN_CFM" }, | ||
{ "code": "OUTPUT_ATTR" }, | ||
{ "code" : "QUERYPARAM_REQ" }, | ||
{ "code": "UNUSED_LOCAL_VARIABLE" }, | ||
{ "code": "UNUSED_METHOD_ARGUMENT" }, | ||
{ "code": "SQL_SELECT_STAR" }, | ||
{ "code": "SCOPE_ALLCAPS_NAME" }, | ||
{ "code": "VAR_ALLCAPS_NAME" }, | ||
{ "code": "VAR_INVALID_NAME" }, | ||
{ "code": "VAR_TOO_WORDY" } | ||
], | ||
"inheritParent": false, | ||
"parameters": { | ||
"TooManyFunctionsChecker.maximum" : 20 | ||
} | ||
"rule": [], | ||
"includes": [ | ||
{ | ||
"code": "AVOID_USING_CFINCLUDE_TAG" | ||
}, | ||
{ | ||
"code": "AVOID_USING_CFABORT_TAG" | ||
}, | ||
{ | ||
"code": "AVOID_USING_CFEXECUTE_TAG" | ||
}, | ||
{ | ||
"code": "AVOID_USING_DEBUG_ATTR" | ||
}, | ||
{ | ||
"code": "AVOID_USING_ABORT" | ||
}, | ||
{ | ||
"code": "AVOID_USING_ISDATE" | ||
}, | ||
{ | ||
"code": "AVOID_USING_ISDEBUGMODE" | ||
}, | ||
{ | ||
"code": "AVOID_USING_CFINSERT_TAG" | ||
}, | ||
{ | ||
"code": "AVOID_USING_CFUPDATE_TAG" | ||
}, | ||
{ | ||
"code": "ARG_VAR_CONFLICT" | ||
}, | ||
{ | ||
"code": "ARG_HINT_MISSING" | ||
}, | ||
{ | ||
"code": "ARG_HINT_MISSING_SCRIPT" | ||
}, | ||
{ | ||
"code": "ARGUMENT_INVALID_NAME" | ||
}, | ||
{ | ||
"code": "ARGUMENT_ALLCAPS_NAME" | ||
}, | ||
{ | ||
"code": "ARGUMENT_TOO_WORDY" | ||
}, | ||
{ | ||
"code": "ARGUMENT_IS_TEMPORARY" | ||
}, | ||
{ | ||
"code": "CFQUERYPARAM_REQ" | ||
}, | ||
{ | ||
"code": "COMPARE_INSTEAD_OF_ASSIGN" | ||
}, | ||
{ | ||
"code": "COMPONENT_HINT_MISSING" | ||
}, | ||
{ | ||
"code": "COMPONENT_INVALID_NAME" | ||
}, | ||
{ | ||
"code": "COMPONENT_ALLCAPS_NAME" | ||
}, | ||
{ | ||
"code": "COMPONENT_TOO_SHORT" | ||
}, | ||
{ | ||
"code": "COMPONENT_TOO_LONG" | ||
}, | ||
{ | ||
"code": "COMPONENT_TOO_WORDY" | ||
}, | ||
{ | ||
"code": "COMPONENT_IS_TEMPORARY" | ||
}, | ||
{ | ||
"code": "COMPONENT_HAS_PREFIX_OR_POSTFIX" | ||
}, | ||
{ | ||
"code": "COMPLEX_BOOLEAN_CHECK" | ||
}, | ||
{ | ||
"code": "EXCESSIVE_ARGUMENTS" | ||
}, | ||
{ | ||
"code": "EXCESSIVE_FUNCTIONS" | ||
}, | ||
{ | ||
"code": "EXPLICIT_BOOLEAN_CHECK" | ||
}, | ||
{ | ||
"code": "FUNCTION_HINT_MISSING" | ||
}, | ||
{ | ||
"code": "FILE_SHOULD_START_WITH_LOWERCASE" | ||
}, | ||
{ | ||
"code": "LOCAL_LITERAL_VALUE_USED_TOO_OFTEN" | ||
}, | ||
{ | ||
"code": "GLOBAL_LITERAL_VALUE_USED_TOO_OFTEN" | ||
}, | ||
{ | ||
"code": "MISSING_VAR" | ||
}, | ||
{ | ||
"code": "METHOD_INVALID_NAME" | ||
}, | ||
{ | ||
"code": "METHOD_ALLCAPS_NAME" | ||
}, | ||
{ | ||
"code": "METHOD_IS_TEMPORARY" | ||
}, | ||
{ | ||
"code": "NESTED_CFOUTPUT" | ||
}, | ||
{ | ||
"code": "NEVER_USE_QUERY_IN_CFM" | ||
}, | ||
{ | ||
"code": "OUTPUT_ATTR" | ||
}, | ||
{ | ||
"code": "QUERYPARAM_REQ" | ||
}, | ||
{ | ||
"code": "UNUSED_LOCAL_VARIABLE" | ||
}, | ||
{ | ||
"code": "UNUSED_METHOD_ARGUMENT" | ||
}, | ||
{ | ||
"code": "SQL_SELECT_STAR" | ||
}, | ||
{ | ||
"code": "SCOPE_ALLCAPS_NAME" | ||
}, | ||
{ | ||
"code": "VAR_ALLCAPS_NAME" | ||
}, | ||
{ | ||
"code": "VAR_INVALID_NAME" | ||
}, | ||
{ | ||
"code": "VAR_TOO_WORDY" | ||
} | ||
], | ||
"inheritParent": false, | ||
"parameters": { | ||
"TooManyFunctionsChecker.maximum": 50 | ||
}, | ||
"excludes": [] | ||
} |
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,14 @@ | ||
{ | ||
"line-length": false, | ||
"single-h1": false, | ||
"no-hard-tabs" : false, | ||
"fenced-code-language" : false, | ||
"no-bare-urls" : false, | ||
"first-line-h1": false, | ||
"no-multiple-blanks": { | ||
"maximum": 2 | ||
}, | ||
"no-duplicate-header" : { | ||
"siblings_only" : true | ||
} | ||
} |
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,6 +1,6 @@ | ||
{ | ||
"name":"MockDataCFC", | ||
"version":"3.3.1", | ||
"version":"3.4.0", | ||
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/MockDataCFC/@build.version@/[email protected]@.zip", | ||
"author":"Ortus Solutions", | ||
"homepage":"https://github.com/Ortus-Solutions/MockDataCFC", | ||
|
@@ -29,6 +29,9 @@ | |
"*/.md" | ||
], | ||
"scripts":{ | ||
"toMaster":"recipe build/toMaster.boxr" | ||
"release":"recipe build/release.boxr", | ||
"format":"cfformat run handlers,models,test-harness/tests/,ModuleConfig.cfc --overwrite", | ||
"format:watch":"cfformat watch handlers,models,test-harness/tests/,ModuleConfig.cfc ./.cfformat.json", | ||
"format:check":"cfformat check handlers,models,test-harness/tests/,ModuleConfig.cfc" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# This recipe signifies a new release of the module by doing merges and bumps accordingly | ||
|
||
# Check out master | ||
# Check out master and update it locally | ||
!git checkout -f master | ||
# Merge development into it | ||
!git pull origin master | ||
|
||
# Merge development into it for release | ||
!git merge --no-ff development | ||
# Tag the master repo with the version in box.json | ||
|
||
# Tag the master repo with the version from box.json | ||
!git tag v`box package show version` | ||
# Push all branches | ||
|
||
# Push all branches back out to github | ||
!git push origin --all | ||
|
||
# Push all tags | ||
!git push origin --tags | ||
|
||
# Check development again | ||
!git checkout -f development | ||
|
||
# Bump to prepare for a new release, do minor, change if needed and don't tag | ||
bump --minor --!tagVersion | ||
# Send it out | ||
!git commit -a -m "version bump" | ||
!git push origin development |
Oops, something went wrong.