
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
blythedunham-ar_test_runner
Advanced tools
= ArTestRunner Run the ActiveRecord test suite with your gem/module/plugin loaded. Choose the ActiveRecord version and database.
== Install Install as either a gem or a plugin. === Gem gem sources -a http://gems.github.com sudo gem install blythedunham-ar_test_runner
=== Plugin script/plugin install git://github.com/blythedunham/ar_test_runner
== Run Run either of these from the RAILS_ROOT of your application
=== ar_test_runner
Run all plugins and lib files against sqlite for app version ar_test_runner DB=sqlite
Test 2.3.2 with rails_devs_for_data_integrity plugin loaded on mysql (default) ar_test_runner PLUGIN=rails_devs_for_data_integrity AR_DIR=/Library/Ruby/Gems/1.8/gems/activerecord-2.3.2
If installed as a gem, the executable is copied to your bin. With a plugin, you should invoke the file directly vendor/plugins/ar_test_runner/bin/ar_test_runner
=== Rake task Run all plugins and lib files against sqlite for app version rake test:activerecord:sqlite
Test 2.3.2 with rails_devs_for_data_integrity plugin loaded on mysql rake test:activerecord:mysql PLUGIN=rails_devs_for_data_integrity AR_DIR=/Library/Ruby/Gems/1.8/gems/activerecord-2.3.2
With a plugin, rake tasks will automatically appear. If installed as a gem, please require 'ar_test_runner' in the Rakefile require 'ar_test_runner'
=== Parameters
If REQUIRE,FILE, and PLUGIN are not specified, or AR_RUN_DEFAULT is set, all plugins(vendor/plugins/**/init.rb) and lib files(lib/*.rb) are loaded. Use SKIP to exclude directories. Plugins referencing ActionController are automatically disabled.
=== Examples
Run default Run (plugins and libs) on postgre rake activerecord:test:postgresql
Skip Load everything in lib and all of the plugins but skip smsonrails using a frozen version of 2.2.2 rake test:activerecord:sqlite3 AR_DIR=/Users/blythedunham/projects/arversions/AR2.2.2/vendor/rails/activerecord SKIP=smsonrails
Custom File If there are a lot of files to load, or for super custom requires, create a file and require everything there. Will use which ever version of ActiveRecord your app uses (loaded in config/boot.rb)
ar_requires.rb might look like: require File.dirname(FILE) + '../../models/awesome.rb' require 'supergemthing'
Then run it: rake activerecord:test:mysql FILES=config/ar_regression_requires.rb
== Developers
== Homepage
Copyright (c) 2009 Blythe Dunham, released under the MIT license
FAQs
Unknown package
We found that blythedunham-ar_test_runner 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.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.