├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .rubocop.yml ├── .yardopts ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── Rakefile ├── gemfiles ├── sidekiq_6.gemfile ├── sidekiq_7.gemfile └── sidekiq_head.gemfile ├── guides ├── argument-semantics.md ├── best-practices.md ├── custom-enumerator.md ├── iteration-how-it-works.md └── throttling.md ├── lib ├── sidekiq-iteration.rb ├── sidekiq_iteration.rb └── sidekiq_iteration │ ├── active_record_enumerator.rb │ ├── csv_enumerator.rb │ ├── enumerators.rb │ ├── iteration.rb │ ├── job_retry_patch.rb │ ├── nested_enumerator.rb │ ├── throttling.rb │ └── version.rb ├── sidekiq-iteration.gemspec └── test ├── active_record_enumerator_test.rb ├── csv_enumerator_test.rb ├── documentation_test.rb ├── integration ├── init.rb ├── integration_test.rb └── jobs.rb ├── iteration_test.rb ├── nested_enumerator_test.rb ├── support └── products.csv ├── test_helper.rb └── throttling_test.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/.gitignore -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/Rakefile -------------------------------------------------------------------------------- /gemfiles/sidekiq_6.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/gemfiles/sidekiq_6.gemfile -------------------------------------------------------------------------------- /gemfiles/sidekiq_7.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/gemfiles/sidekiq_7.gemfile -------------------------------------------------------------------------------- /gemfiles/sidekiq_head.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/gemfiles/sidekiq_head.gemfile -------------------------------------------------------------------------------- /guides/argument-semantics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/guides/argument-semantics.md -------------------------------------------------------------------------------- /guides/best-practices.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/guides/best-practices.md -------------------------------------------------------------------------------- /guides/custom-enumerator.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/guides/custom-enumerator.md -------------------------------------------------------------------------------- /guides/iteration-how-it-works.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/guides/iteration-how-it-works.md -------------------------------------------------------------------------------- /guides/throttling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/guides/throttling.md -------------------------------------------------------------------------------- /lib/sidekiq-iteration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq-iteration.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/active_record_enumerator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/active_record_enumerator.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/csv_enumerator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/csv_enumerator.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/enumerators.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/enumerators.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/iteration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/iteration.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/job_retry_patch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/job_retry_patch.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/nested_enumerator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/nested_enumerator.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/throttling.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/lib/sidekiq_iteration/throttling.rb -------------------------------------------------------------------------------- /lib/sidekiq_iteration/version.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module SidekiqIteration 4 | VERSION = "0.4.0" 5 | end 6 | -------------------------------------------------------------------------------- /sidekiq-iteration.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/sidekiq-iteration.gemspec -------------------------------------------------------------------------------- /test/active_record_enumerator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/active_record_enumerator_test.rb -------------------------------------------------------------------------------- /test/csv_enumerator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/csv_enumerator_test.rb -------------------------------------------------------------------------------- /test/documentation_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/documentation_test.rb -------------------------------------------------------------------------------- /test/integration/init.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/integration/init.rb -------------------------------------------------------------------------------- /test/integration/integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/integration/integration_test.rb -------------------------------------------------------------------------------- /test/integration/jobs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/integration/jobs.rb -------------------------------------------------------------------------------- /test/iteration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/iteration_test.rb -------------------------------------------------------------------------------- /test/nested_enumerator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/nested_enumerator_test.rb -------------------------------------------------------------------------------- /test/support/products.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/support/products.csv -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /test/throttling_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fatkodima/sidekiq-iteration/HEAD/test/throttling_test.rb --------------------------------------------------------------------------------