
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Add spree_add_on_menu to your Gemfile:
gem 'spree_add_on_menu'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_add_on_menu:install
for example
app/overrides/add_add_on_supplier_configration_menu_to_add_on_menu.rb
Deface::Override.new(:virtual_path => 'spree/admin/add_on_menu/index',
:name => 'add_add_on_supplier_configration_menu_to_add_on_menu',
:insert_bottom => "[data-hook='admin_add_on_menu_sidebar_menu']",
:text => "
<%= configurations_sidebar_menu_item t('add_on.add_on_supplier'), admin_add_on_suppliers_path %>
")
Please check out the details here spree_add_on_maker spree_add_on_supplier
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
bundle
bundle exec rake test_app
bundle exec rspec spec
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_add_on_menu/factories'
Copyright (c) 2014 Exsight.inc , released under the New BSD License
FAQs
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.