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.
This ruby on rails gem makes it easy to store polymorphic structure information --- parents
, children
, ancestors
, descendants
, ... --- in a neo4j graph database parallel to using ActiveRecord.
All relevant information is stored in your default ActiveRecord database, including the parent-child relationships. But, in addition, the structure information is also stored in a neo4j graph database in order to use its power of fast graph traversing queries.
TODO: Write usage instructions here
Add the gem to your application's Gemfile
:
# Gemfile
# ...
gem 'neo4j_ancestry'
And then execute:
# bash
bundle install
Install the neo4j database db
directory and start the deamon:
# bash
bundle exec rake neo4j:install neo4j:setup neo4j:start
Next, migrate the database in order to add the neccessary tables.
# bash
bundle exec rake neo4j_ancestry:install:migrations
bundle exec rake db:migrate
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Symlink the Gemfile
according to the Rails version you would like to use:
# bash
rm Gemfile Gemfile.lock
ln -s rails3.2.Gemfile Gemfile # for Rails 3
ln -s rails4.Gemfile Gemfile # for Rails 4 (default)
Next, install the dependencies and run the specs.
# bash
bundle install
bundle exec rake neo4j_ancestry:db:test:prepare
bundle exec rake
(c) 2013, Sebastian Fiedlschuster
Released under the MIT License.
FAQs
Unknown package
We found that neo4j_ancestry 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.