sidekiq-unique-jobs 6.0.13 → 6.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sidekiq-unique-jobs might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/sidekiq_unique_jobs.rb +1 -0
- data/lib/sidekiq_unique_jobs/cli.rb +3 -1
- data/lib/sidekiq_unique_jobs/constants.rb +1 -0
- data/lib/sidekiq_unique_jobs/lock/until_and_while_executing.rb +20 -4
- data/lib/sidekiq_unique_jobs/locksmith.rb +2 -2
- data/lib/sidekiq_unique_jobs/logging.rb +5 -0
- data/lib/sidekiq_unique_jobs/middleware.rb +1 -1
- data/lib/sidekiq_unique_jobs/sidekiq_unique_jobs.rb +7 -3
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- data/lib/sidekiq_unique_jobs/version_check.rb +95 -0
- data/lib/sidekiq_unique_jobs/web.rb +4 -4
- data/lib/sidekiq_unique_jobs/web/helpers.rb +4 -4
- metadata +32 -74
- data/.codeclimate.yml +0 -32
- data/.editorconfig +0 -14
- data/.fasterer.yml +0 -23
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -31
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- data/.gitignore +0 -17
- data/.mdlrc +0 -1
- data/.reek.yml +0 -88
- data/.rspec +0 -2
- data/.rubocop.yml +0 -159
- data/.simplecov +0 -20
- data/.travis.yml +0 -57
- data/.yardopts +0 -1
- data/Appraisals +0 -33
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -29
- data/Guardfile +0 -26
- data/Rakefile +0 -29
- data/_config.yml +0 -1
- data/assets/unique_digests_1.png +0 -0
- data/assets/unique_digests_2.png +0 -0
- data/bin/bench +0 -36
- data/examples/another_unique_job.rb +0 -15
- data/examples/custom_queue_job.rb +0 -12
- data/examples/custom_queue_job_with_filter_method.rb +0 -13
- data/examples/custom_queue_job_with_filter_proc.rb +0 -16
- data/examples/expiring_job.rb +0 -12
- data/examples/inline_worker.rb +0 -12
- data/examples/just_a_worker.rb +0 -13
- data/examples/long_running_job.rb +0 -14
- data/examples/main_job.rb +0 -14
- data/examples/my_job.rb +0 -12
- data/examples/my_unique_job.rb +0 -15
- data/examples/my_unique_job_with_filter_method.rb +0 -21
- data/examples/my_unique_job_with_filter_proc.rb +0 -19
- data/examples/notify_worker.rb +0 -14
- data/examples/plain_class.rb +0 -13
- data/examples/simple_worker.rb +0 -15
- data/examples/spawn_simple_worker.rb +0 -12
- data/examples/test_class.rb +0 -9
- data/examples/unique_across_workers_job.rb +0 -20
- data/examples/unique_job_on_conflict_raise.rb +0 -14
- data/examples/unique_job_on_conflict_reject.rb +0 -14
- data/examples/unique_job_on_conflict_reschedule.rb +0 -14
- data/examples/unique_job_with_conditional_parameter.rb +0 -18
- data/examples/unique_job_with_filter_method.rb +0 -21
- data/examples/unique_job_with_nil_unique_args.rb +0 -20
- data/examples/unique_job_with_no_unique_args_method.rb +0 -16
- data/examples/unique_job_withthout_unique_args_parameter.rb +0 -18
- data/examples/unique_on_all_queues_job.rb +0 -16
- data/examples/until_and_while_executing_job.rb +0 -17
- data/examples/until_executed_2_job.rb +0 -24
- data/examples/until_executed_job.rb +0 -25
- data/examples/until_executing_job.rb +0 -11
- data/examples/until_expired_job.rb +0 -12
- data/examples/until_global_expired_job.rb +0 -12
- data/examples/while_executing_job.rb +0 -15
- data/examples/while_executing_reject_job.rb +0 -14
- data/examples/without_argument_job.rb +0 -13
- data/sidekiq-unique-jobs.gemspec +0 -63
- data/update_docs.sh +0 -37
data/update_docs.sh
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
git checkout master
|
4
|
-
git fetch
|
5
|
-
stash_created=0
|
6
|
-
|
7
|
-
if [[ "$(git diff --stat)" != "" ]]; then
|
8
|
-
stash_created=1
|
9
|
-
git stash push -u -a -m "Before updating docs"
|
10
|
-
fi;
|
11
|
-
|
12
|
-
git pull --rebase
|
13
|
-
|
14
|
-
rake yard
|
15
|
-
|
16
|
-
git checkout gh-pages
|
17
|
-
|
18
|
-
if [[ "$(git branch | grep \* | cut -d ' ' -f2)" != "gh-pages" ]]; then
|
19
|
-
git checkout -b gh-pages
|
20
|
-
fi;
|
21
|
-
|
22
|
-
echo "Cleaning up current documentation"
|
23
|
-
find . ! -path '*/.git*' ! -path '*/doc*' ! -path '*/update_docs.sh*' ! -path '*/_config.yml*' ! -path '*/_index.html*' ! -path '.' | xargs rm -rf
|
24
|
-
|
25
|
-
echo "Copying new documentation"
|
26
|
-
mv doc/* ./
|
27
|
-
|
28
|
-
echo "Sending new documentation to github"
|
29
|
-
git add --all
|
30
|
-
git commit -a -m 'Update documentation'
|
31
|
-
git push --set-upstream origin gh-pages --force
|
32
|
-
|
33
|
-
if [[ $stash_created == 1 ]]; then
|
34
|
-
git stash pop
|
35
|
-
fi;
|
36
|
-
|
37
|
-
git checkout master
|