
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Welcome to MTL: Materializer, this is a Rails gem we use at atpoint to simplify UI designs for back-office heavy applications by leveraging the following tools:
It requires jQuery (works very will with 3.x).
Add this line to your Rails application's Gemfile
, it supports Rails 4.2+
(including Rails 5):
gem 'mtl', git: 'https://github.com/at-point/mtl'
then execute:
$> bundle
And finally run the installer to copy the "base files" to your application:
$> ./bin/rails generate mtl:install [--skip-simple-form]
# This copies the following files:
# - app/assets/stylesheets/mtl.scss
# - app/assets/stylesheets/mtl/_color.scss
# - app/assets/stylesheets/mtl/_variables.scss
# - config/initializers/simple_form.rb
Last but not least change your application.css
to include:
//= require mtl
Ensure it does not contain any reference to require_tree .
, as this leads
to duplicate imports and weird asset pipeline errors.
Customize and adapt your styling as wanted, feel free to modify things in
_variables.scss
to your liking. Try to avoid changing _color.scss
when
possible.
For development node
and npm
is required.
After checking out the repo, run bin/setup
to install dependencies. Then, run
rake spec
to run the tests. You can also run bin/console
for an interactive
prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
To release a new version, update the version number in version.rb
, and then run
bundle exec rake release
, which will create a git tag for the version, push
git commits and tags, and push the .gem
file to rubygems.org.
package.json
npm update
to fetch the new version./bin/pull-all
: this copies all resources to vendor/assetspull-all
To generate the a browsable html documentation site, use following commands:
./bin/yardoc
open doc/index.html
Bug reports and pull requests are welcome on GitHub at https://github.com/at-point/mtl. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
MIT License. Copyright 2016 at-point ag. https://atpoint.ch
FAQs
Unknown package
We found that mtl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.