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.
A SQLite3 driver for DataObjects.
This driver implements the DataObjects API for the SQLite3 relational database.
An example of usage:
@connection = DataObjects::Connection.new("sqlite3://employees")
@reader = @connection.create_command('SELECT * FROM users').execute_reader
@reader.next!
This driver is provided for the following platforms:
Additionally you should have the following prerequisites:
data_objects
gemdo_jdbc
gem (shared library), if running on JRuby.To install the gem:
gem install do_sqlite3
To compile and install from source:
Install rake-compiler: gem install rake-compiler
.
For MRI/Rubinius extensions:
gcc
compiler. On OS X, you should install XCode tools. On
Ubuntu, run apt-get install build-essential
.apt
: ruby-dev
libsqlite3-dev
.apt
: mingw32
.i386-mingw32-gcc
.rake-compiler cross-ruby
.rake-compiler update-config
.For JRuby extensions:
jruby
is in your PATH
and/or
you have configured the JRUBY_HOME
environment variable to point to your
JRuby installation.data_objects
and do_jdbc
with jruby -S rake install
.Then, install this driver with (jruby -S) rake install
.
For more information, see the SQLite3 driver wiki page: http://wiki.github.com/datamapper/do/sqlite3.
Follow the above installation instructions. Additionally, you'll need:
rspec
gem for running specs.YARD
gem for generating documentation.See the DataObjects wiki for more comprehensive information on installing and contributing to the JRuby-variant of this driver: http://wiki.github.com/datamapper/do/jruby.
To run specs:
rake spec
To run specs without compiling extensions first:
rake spec_no_compile
To run individual specs:
rake spec SPEC=spec/connection_spec.rb
This code is licensed under an MIT (X11) License. Please see the
accompanying LICENSE
file.
FAQs
Unknown package
We found that do_sqlite3 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.