-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow manual updates of crossref and orcid metadata stored with datac…
…ite. #301
- Loading branch information
Martin Fenner
committed
Jul 4, 2019
1 parent
ce50eab
commit d732568
Showing
7 changed files
with
29 additions
and
21 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
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,7 +1,7 @@ | ||
class CrossrefDoiJob < ActiveJob::Base | ||
queue_as :lupo_background | ||
|
||
def perform(ids) | ||
ids.each { |id| CrossrefDoiByIdJob.perform_later(id) } | ||
def perform(ids, options={}) | ||
ids.each { |id| CrossrefDoiByIdJob.perform_later(id, options) } | ||
end | ||
end |
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,7 +1,7 @@ | ||
class OrcidAutoUpdateJob < ActiveJob::Base | ||
queue_as :lupo_background | ||
|
||
def perform(ids) | ||
ids.each { |id| OrcidAutoUpdateByIdJob.perform_later(id) } | ||
def perform(ids, options={}) | ||
ids.each { |id| OrcidAutoUpdateByIdJob.perform_later(id, options) } | ||
end | ||
end |
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