
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
layouts made easy for rails 3
include in Gemfile:
gem 'simple-navbar'
in your layout file:
-# in file views/layouts/my_layout.html.haml
!!!
- simple_page_layout 'My Site', :html_lang => :zh do
-# your code here with yaml
.page-content
yield
and then in a view of this layout:
- page_title 'page title'
.foo bar
you will get:
<!DOCTYPE html>
<html lang='zh'>
<head>
<title>My Site | page title</title>
<meta content="authenticity_token" name="csrf-param" />
<meta content="Gf5GH0+iJtxdjZyNo+3qMV+1DqO9v8/jAHmV/Bq5Eis=" name="csrf-token" />
<link href="/assets/application.css?body=1" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- your code here -->
<div class="foo">
bar
</div>
<script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
</body>
</html>
FAQs
Unknown package
We found that simple-page-layout 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.