Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
== The Ocean gem
This repository contains the Ocean ruby gem, containing common framework functionality for the Ruby on Rails part of the architecture.
Ocean requires Ruby 2.2 and Ruby on Rails 4.2.0 or later.
{}[http://badge.fury.io/rb/ocean-rails]
=== What does ocean-rails provide?
Thus, the +ocean-rails+ gem provides all the abstractions you need for creating very terse and powerful controller and model code. It's a good idea to browse the documentation.
=== Documentation
=== Creating an Ocean Rails app
Cf. the tutorial at http://wiki.oceanframework.net/index.php/Tutorial for information on about how to set up an Ocean Rails app and create Ocean Resources for it.
=== Running the specs
There are no runtime dependencies. Simply run:
bundle exec rspec
All tests should pass.
=== Rails console
The Rails console is available from the built-in dummy application:
cd spec/dummy rails console
You're now in a sandbox environment (thanks to +webmock+): HTTP accesses are disallowed; each HTTP access you make will be intercepted with a message describing exactly how to mock it away.
To enable HTTP traffic:
WebMock.allow_net_connect!
Please refer to the +webmock+ gem documentation for full information. It's possible to prevent traffic only to specific hosts (e.g. +localhost+).
When you leave the console, you must navigate back to the Rails directory (cd ../..) in order to be able to run RSpec again.
FAQs
Unknown package
We found that ocean-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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.