
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
You like writing Ruby within Juypter notebooks? Awesome, you're not alone - we do so, too ☀️ Since we also fell in love with the handy charting API of ankane/chartkick, we wrote this little gem bringing them together.
iruby-chartkick
was made for easy plug-n-play plotting data using the awesomeness of chartkick within IRuby-backed Jupyter notebooks.
gem install iruby-chartkick
You can either include the module IRuby::Chartkick
and use the wrapper methods, like line_chart
:
include IRuby::Chartkick
data = {
2019 => 1,
2020 => 122,
2021 => 34
}
line_chart(data)
Or you use the chart wrapper classes directly:
include IRuby::Chartkick
data = {
2019 => 1,
2020 => 122,
2021 => 34
}
IRuby::Chartkick::LineChart.new(data).plot
include IRuby::Chartkick
data = [
{
name: "Monkeys",
data: {
2010 => 20,
2011 => 190,
2012 => 188,
2013 => 230,
2014 => 422,
2015 => 56,
2016 => 299,
2019 => 100
}
},
{
name: "Pirates",
data: {
2010 => 20,
2011 => 90,
2012 => 488,
2013 => 430,
2014 => 122,
2015 => 6,
2016 => 399,
2019 => 500
}
}
]
line_chart(data)
line_chart(data, points: false)
line_chart(data, points: false, width: "700px", min: 50, max: 300)
area_chart(data)
column_chart(data)
bar_chart(data)
scatter_chart(data)
include IRuby::Chartkick
data = [
["Blueberry", 44],
["Strawberry", 23],
["Banana", 22],
["Apple", 21],
["Grape", 13]
]
pie_chart(data)
FAQs
Unknown package
We found that iruby-chartkick 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.