
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
The rails-livestamp is a simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements, which will update automatically as time goes by. ISO 8601 timestamps are also supported.
Add this line to your application's Gemfile:
gem 'rails-livestamp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rails-livestamp
To use rails-livestamp add this require statement to your application.js file:
//= require rails-livestamp
No extra JavaScript required! Just use a with the data-livestamp attribute set to the desired Unix timestamp (in seconds), like this:
You discovered rails-livestamp <span data-livestamp="#{Time.now.to_i}"></span>.
And you will see something like this:
You discovered rails-livestamp a minutes ago.
Wait half a minute - the livestamp will update automatically.
See the livestamp documentation.
Copyright (c) 2015, Matt Bradley (Livestamp.js Developer), Bunlong VAN (rails-livestamp Developer)
FAQs
Unknown package
We found that rails-livestamp 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.