
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
MSpec is a specialized framework that is syntax-compatible with RSpec for basic things like 'describe', 'it' blocks and 'before', 'after' actions. MSpec contains additional features that assist in writing the RubySpecs used by multiple Ruby implementations.
MSpec attempts to use the simplest Ruby language features so that beginning Ruby implementations can run the Ruby specs.
MSpec is not intended as a replacement for RSpec. MSpec attempts to provide a subset of RSpec's features in some cases and a superset in others. It does not provide all the matchers, for instance.
However, MSpec provides several extensions to facilitate writing the Ruby specs in a manner compatible with multiple Ruby implementations.
MSpec offers a set of guards to control execution of the specs. These guards not only enable or disable execution but also annotate the specs with additional information about why they are run or not run.
MSpec provides a different shared spec implementation specifically designed to ease writing specs for the numerous aliased methods in Ruby. The MSpec shared spec implementation should not conflict with RSpec's own shared behavior facility.
MSpec provides various helper methods to simplify some specs, for example, creating temporary file names.
MSpec has several specialized runner scripts that includes a configuration facility with a default project file and user-specific overrides.
Bundler
A Gemfile is provided. Use Bundler to install gem dependencies. To install Bundler, run the following:
$ gem install bundler
To install the gem dependencies with Bundler, run the following:
$ RUBYLIB=lib ruby -S bundle install
Use RSpec to run the MSpec specs. There are no plans currently to make the MSpec specs runnable by MSpec.
After installing the gem dependencies, the specs can be run as follows:
$ ruby -S rspec
Or
$ ruby -S rake
To run an individual spec file, use the following example:
$ ruby -S rspec spec/helpers/ruby_exe_spec.rb
See https://github.com/rubyspec/mspec
See the LICENSE in the source code.
FAQs
Unknown package
We found that mspec 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.