
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
24-hour time representation with no dates attached
Install with Bundler by adding the following line to your Gemfile
:
gem "day_time"
Or install via RubyGems:
% gem install day_time
require "day_time"
morning = DayTime.new("08:00")
breakfast = DayTime.new("08:45:00")
noon = DayTime.new(hours: 12, minutes: 15)
dinner = DayTime.new(hours: 12, minutes: 15, seconds: 30)
bedtime = DayTime.new(h: 22, m: 15, s: 30)
end_of_day = DayTime("23:59:59")
foo = DayTime.new(Time.new(...))
bar = DayTime.new(DateTime.new(...))
morning + DayTime.new("00:45") == breakfast
morning + 45 * 60 == breakfast
morning + "00:45" == breakfast
dinner < bedtime
end_of_day > bedtime
(noon..bedtime).include?(dinner) # => true
enum = end_of_day.to_enum
enum.next == DayTime.new("00:00")
enum.next == DayTime.new("00:00:01")
opens, closes = DayTime("10:00"), DayTime("17:00")
(opens..closes).step(60).map { |day_time| day_time.to_s }
FAQs
Unknown package
We found that day_time 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.