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 prismic kit is compatible with Ruby 1.9.3 or later.
(Assuming that Ruby is installed on your computer, as well as RubyGems)
To install the gem on your computer, run in shell:
gem install prismic.io --pre
then add in your code:
require 'prismic'
To add the gem as a dependency to your project with Bundler, you can add this line in your Gemfile:
gem 'prismic.io', require: 'prismic'
The quickstart is not available for Ruby yet, but if you understand Javascript you can easily adapt the code.
The default cache stores data in-memory, in the server. You may want to use a different cache, for example to share it between several servers (with memcached or similar). A null cache (does no caching) is also available if you need a predictible behavior for testing or VCR. To use it (or any other compliant cache), simply add api_cache: Prismic::BasicNullCache.new
to the options passed to Prismic.api
.
Need to see what changed, or to upgrade your kit? We keep our changelog on this repository's "Releases" tab.
Of course, you're going to need Ruby installed on your computer, as well as RubyGems and Bundler.
Clone the kit, then run bundle install
.
Please write tests for any bugfix or new feature, by placing your tests in the spec/ folder, following the RSpec syntax. Launch the tests by running rspec
If you find existing code that is not optimally tested and wish to make it better, we really appreciate it; but you should document it on its own branch and its own pull request.
Please document any bugfix or new feature, using the Yard syntax. Don't worry about generating the doc, we'll take care of that.
If you find existing code that is not optimally documented and wish to make it better, we really appreciate it; but you should document it on its own branch and its own pull request.
We hope you'll get involved! Read our Contributors' Guide for details.
This software is licensed under Apache 2.0 license
Copyright 2013-2021 Prismic contact@prismic.io (https://prismic.io)
FAQs
Unknown package
We found that prismic.io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.