
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
= hashed-jasper-rails
Hashed-jasper-rails was inspired by jasper-rails.(https://github.com/fortesinformatica/jasper-rails) This can use hash as a data source.
== How to use
(1) Add your Gemfile. gem "hashed-jasper-rails"
(2) Add action method.
def print users = [ {:name => "Izumi Konata", :email => "konata@example.com"}, {:name => "Hiiragi Tsukasa", :email => "tsukasa@example.com"}, {:name => "Hiiragi Kagami", :email => "kagami@example.com"} ] jasper_pdf :resource => users end
(3) Edit a jasper template file. Template propaties. Query Text: /jasper/record The language for the dataset query: xPath
for Japanese. Text Field propaties. Pdf Font: HeiseiMin-W3 or HeiseiKakuGo-W5 Pdf Encoding: UniJIS-UCS2-H (Japanese)
(4) Set a jasper template file.
== Options.
(1) Set a model and record name. jasper_pdf :resource => users, :model => "foo", :record => "baa"
Then template propaties. Query Text: /foo/baa
(2) Set a template file. jasper_pdf :resource => users, :template => "users/list"
Then use this template file.
(3) Use ActiveRecord resource. user = User.all jasper_pdf :resource => users
== Copyright
Copyright (c) 2012 Kazuhisa Yamamoto. See LICENSE.txt for further details.
FAQs
Unknown package
We found that hashed-jasper-rails 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.