
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Testing support for the Que queue. que-testing allows you to enqueue jobs without a database and without synchronous running.
Add this line to your application's Gemfile:
gem 'que-testing', :require => false
And then execute:
$ bundle
Or install it yourself as:
$ gem install que-testing
In your test, require 'que/testing'
and enqueue jobs as normal. Jobs are
stored under a MyJob.jobs
array. Because they're static, the stored jobs
should be cleared between test runs.
require "que/testing"
describe "Testing" do
after { MyJob.jobs.clear }
it "Stores a job" do
MyJob.enqueue("foo")
js = MyJob.jobs
js.length.must_equal 1
js.first["args"].must_equal ["foo"]
js.first["job_class"].must_equal "MyJob"
end
end
FAQs
Unknown package
We found that que-testing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.