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 Microsoft SQL Server adapter for DataObjects,
This driver implements the DataObjects API for the Microsoft SQL Server relational database.
Problems with MRI implementation (unreleased):
Examples of usage:
# default port (using SQL Server Express Edition)
DataObjects::Connection.new('sqlserver://user:pass@host/database;instance=SQLEXPRESS')
# port specified (using SQL Server Express Edition)
DataObjects::Connection.new('sqlserver://user:pass@host:1433/database;instance=SQLEXPRESS')
@connection = DataObjects::Connection.new("sqlserver://john:p3$$@localhost:1433/userinfo")
@reader = @connection.create_command('SELECT * FROM users').execute_reader
@reader.next!
CONNECTING.markdown
.This driver is provided for the following platforms:
Code for the following platform is in the repository, but is still under EARLY DEVELOPMENT and is neither RELEASED or SUPPORTED:
Additionally you should have the following prerequisites:
data_objects
gemdo_jdbc
gem (shared library), if running on JRuby.dbi
gem, if running on MRI.To install the gem:
gem install do_sqlserver
To compile and install from source:
For MRI:
Installation of do_sqlserver is significantly more involved than for other
drivers. Please see the accompanying INSTALL.markdown
.
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
.
Then:
sudo gem install do_sqlserver
For more information, see the SQL Server driver wiki page: http://wiki.github.com/datamapper/do/sql-server.
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_sqlserver 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.