
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
This gem provides Mack integration with the ORM Framework, DataMapper.
For more information on DataMapper please visit:
== Notes
The database.yml file for a DataMapper backed application would look something like this:
development: default: adapter: mysql database: my_app_development host: localhost username: my_db_user password: password
test: default: adapter: mysql database: my_app_test host: localhost username: my_db_user password: password
production: default: adapter: mysql database: my_app_production host: localhost username: my_db_user password: password
development: default: adapter: postgres database: my_app_development host: localhost username: my_db_user password: password
test: default: adapter: postgres database: my_app_test host: localhost username: my_db_user password: password
production: default: adapter: postgres database: my_app_production host: localhost username: my_db_user password: password
development: default: adapter: sqlite3 database: db/my_app_development.db
test:
default:
adapter: sqlite3
database: db/my_app_test.db
production:
default:
adapter: sqlite3
database: db/my_app_production.db
== Testing
Tests are wrapped in a transaction so that any database activities get rolled back at the end of the test. This works with both RSpec and Test::Unit::TestCase
== Rake tasks
rake db:recreate
rake db:create
rake db:drop
rake db:create:all
rake db:drop:all
rake db:recreate:all
rake db:migrate
rake db:rollback
rake db:abort_if_pending_migrations
rake generate:scaffold
rake generate:model
rake generate:migration
FAQs
Unknown package
We found that mack-data_mapper 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.