lib/acidic_job/run.rb in acidic_job-1.0.0.beta.7 vs lib/acidic_job/run.rb in acidic_job-1.0.0.beta.8

- old
+ new

@@ -128,11 +128,11 @@ return idempotency_key unless staged? # encode the identifier for this record in the job ID global_id = to_global_id.to_s.remove("gid://") # base64 encoding for minimal security - encoded_global_id = Base64.encode64(global_id).strip + encoded_global_id = Base64.urlsafe_encode64(global_id, padding: false) [ STAGED_JOB_ID_PREFIX, idempotency_key, encoded_global_id @@ -172,10 +172,10 @@ def next_step_name current_step_hash.fetch("then") end def current_step_awaits - current_step_hash.fetch("awaits", []) || [] + current_step_hash["awaits"] end def next_step_finishes? next_step_name.to_s == FINISHED_RECOVERY_POINT end