
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Calculates employee payroll info based on California laws (overtime, doubletime, etc)
Assuming you've installed the gem with gem install overtimer
:
require 'rubygems'
require 'overtimer'
# Create a workweek using an array of hours per day for 1 week
ww = Overtimer::Workweek.new [17,12,15,11,12,4,0]
# Do the deductions meet your expectation (pull requests welcome)
ww.total == 71
ww.regular == 40,
ww.overtime == 23
ww.doubletime == 8
# What about only one of the days in the workweek?
wd = ww[0]
# How about these? Are they correct? They are for me anyway.
wd.total == 17
wd.regular == 8
wd.overtime == 4
wd.doubletime == 5
FAQs
Unknown package
We found that overtimer 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.