Benign gem 373,784 installs Download

simple_scheduler 0.2.0

“Simple Scheduler adds the ability to enhance Heroku Scheduler by using Sidekiq to queue jobs in the future. This allows f…”

Ruby dynamically invokes a method with sendRuby loads a relative source module
SHA-2566d1a08a24a3f33a13bba0de42bceae8d1891e328ccc4269b81bd89c95496a70f
MaleculeH₂(DbOs)

Evidence

English function-word token "the" task.rb · lines 1–6
1module SimpleScheduler
2 # Class for parsing each task in the scheduler config YAML file and returning
3 # the values needed to schedule the task in the future.
4 #
5 # @!attribute at
6 # …
English function-word token "that" task.rb · lines 8–10
8:27… time between the scheduled and actual run time that should cause the job not to run
9 # @!attribute frequency
10 # @return [ActiveSupport::Duratio …
Ruby dynamically invokes a method with send task.rb · lines 142–149
142:26… uration[0].to_i
143 frequency_units = split_duration[1]
144 frequency.send(frequency_units)
145 end
146
147 def validate_params!(params)
148 params[:name] ||= params[:class]
149 raise Argumen …
English function-word token "for" future_job.rb · lines 21–23
21:6… @param scheduled_time [Integer] The epoch time for when the job was scheduled to be run
22 def perform(task_params, scheduled_time)
23 @task = …
Ruby loads a relative source module simple_scheduler.rb · lines 1–5
1require "active_job"
2require "sidekiq/api"
3require_relative "./simple_scheduler/future_job"
4require_relative "./simple_scheduler/railtie"
5require_relative "./simple_scheduler/scheduler_jo …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.