
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
github.com/codeplant/simple-navigation
Simple Navigation is a ruby library for creating navigations (with multiple levels) for your Rails, Sinatra or Padrino applications. It runs with all ruby versions (including ruby 2.x).
For the complete documentation, take a look at the project's wiki.
You can consult the project's RDoc on RubyDoc.info.
If you need to generate the RDoc files locally, check out the repository and simply call the rake rdoc
in the project's folder.
You can try simple-navigation with the online demo.
The source code of this online demo is available on Github.
Don't hesitate to come talk on the project's group.
Fork, fix, then send a Pull Request.
To run the test suite locally against all supported frameworks:
% bundle install
% rake spec:all
To target the test suite against one framework:
% rake spec:rails-4-2-stable
You can find a list of supported spec tasks by running rake -T. You may also find it useful to run a specific test for a specific framework. To do so, you'll have to first make sure you have bundled everything for that configuration, then you can run the specific test:
% BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle install -j 4 % BUNDLE_GEMFILE='gemfiles/rails-4-2-stable.gemfile' bundle exec rspec ./spec/requests/users_spec.rb
If you use a shell plugin (like oh-my-zsh:bundler) that auto-prefixes commands with bundle exec
using the rake
command will fail.
Get the original command with type -a rake
:
% type -a rake
rake is an alias for bundled_rake
rake is /Users/username/.rubies/ruby-2.2.3/bin/rake
rake is /usr/bin/rake
In this situation /Users/username/.rubies/ruby-2.2.3/bin/rake
is the command you should use.
Copyright (c) 2022 codeplant GmbH, released under the MIT 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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.