This repository was archived by the owner on Dec 3, 2019. It is now read-only.
Repository navigation
Issue365 add jobs #366
Open
leenyburger
wants to merge
18
commits into
master
Choose a base branch
from
issue365_add_jobs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Issue365 add jobs #366
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ada2703
Apiary doc no sematic issues, added jobs controller, model, test, end…
leenyburger a1ffefe
Added acts_as_taggable to job model
leenyburger 777af57
Fixed database user name issue
leenyburger 8543559
Fixed sytax errors
leenyburger 6f022f0
Removed extraneous comments
leenyburger e2c5b19
Added test for job acts as taggable, updated admin
leenyburger a1bcd87
Fixed formatting errors:
leenyburger b9e40d6
slight modifications
263375b
fixed test issues with variable change
75eed14
fix dangling is_open
2c0596f
Merge pull request #418 from wimo7083/issue365_add_jobs
apex-omontgomery 7656a81
Merge branch 'master' into issue365_add_jobs
apex-omontgomery 8960e38
start adding expiration
c85f56d
section makefile- its getting large, and update apiary
f6de002
changed to scoped call with default being active
ef27d87
re-add phony for target
d8c8336
wrong location
9ea4d55
completed scope and added block scope for mocking
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
changed to scoped call with default being active
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -7,7 +7,7 @@ | |
| state Faker::Address.state | ||
| country Faker::Address.country | ||
| description Faker::Lorem.paragraph | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All the attributes being set above this comment should get assigned with block to evaluate the Faker data lazily each time the factory is used instead of at test load time. Otherwise all jobs created with this factory will have the same values. e.g. |
||
| is_open true | ||
| closed_at nil | ||
| remote false | ||
| end | ||
| end | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does having this in the models section of the code base make it clear enough that this is separate from Sidekiq Jobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so, yes. Though, it might be helpful to rename the background jobs from Job(s) to Worker(s).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure you don't want JobJobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you mention it, maybe
WorkJobber.