mail/rubygem-premailer-rails-rails-gitlab 1.12.0 FreeBSD
CSS styled emails without the hassle
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- mail, rubygems
- Package size
- 24.9 KiB, 85.1 KiB installed
Description
premailer-rails is a drop in solution for styling HTML emails with CSS without having to do the hard work yourself.
Styling emails is not just a matter of linking to a stylesheet. Most clients, especially web clients, ignore linked stylesheets or <style> tags in the HTML. The workaround is to write all the CSS rules in the style attribute of each tag inside your email. This is a rather tedious and hard to maintain approach.
Premailer to the rescue! The great premailer gem applies all CSS rules to each matching HTML element by adding them to the style attribute. This allows you to keep HTML and CSS in separate files, just as you're used to from web development, thus keeping your sanity.
This gem is an adapter for premailer to work with actionmailer out of the box. Actionmailer is the email framework used in Rails, which also works outside of Rails. Although premailer-rails has certain Rails specific features, it also works in the absence of Rails making it compatible with other frameworks such as sinatra.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | mail/rubygem-premailer-rails-rails-gitlab | 1.12.0 |
| DragonFly | mail/rubygem-premailer-rails-rails-gitlab | 1.12.0 |
| MidnightBSD | mail/rubygem-premailer-rails-rails-gitlab | 1.12.0 |
| HardenedBSD | mail/rubygem-premailer-rails-rails-gitlab | 1.12.0 |
| GhostBSD | mail/rubygem-premailer-rails-rails-gitlab | 1.12.0 |
Install
Binary package:
pkg install rubygem-premailer-rails-rails-gitlab
From the ports tree:
cd /usr/ports/mail/rubygem-premailer-rails-rails-gitlab/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-premailer-rails-rails-gitlab>0:mail/rubygem-premailer-rails-rails-gitlab
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.12.0 | 1.12.0 | - | - | 1.12.0 |
| FreeBSD:14:quarterly | 1.12.0 | 1.12.0 | n/a | - | 1.12.0 |
| FreeBSD:15:latest | 1.12.0 | 1.12.0 | n/a | - | 1.12.0 |
| FreeBSD:15:quarterly | 1.12.0 | 1.12.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.12.0 | 1.12.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 3
rubygem-actionmailer-gitlab>=3: mail/rubygem-actionmailer-gitlabrubygem-net-smtp>=0: mail/rubygem-net-smtprubygem-premailer>=1.7.9<2: mail/rubygem-premailer
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 56
- benchmarks/rubygem-benchmark
- converters/rubygem-base64
- databases/rubygem-globalid-rails-gitlab
- devel/gettext-runtime
- devel/libffi
- devel/libunwind
- devel/readline
- devel/ruby-gems
- devel/rubygem-actionview-gitlab
- devel/rubygem-activejob-gitlab
- devel/rubygem-activesupport-gitlab
- devel/rubygem-builder
- devel/rubygem-concurrent-ruby
- devel/rubygem-date
- devel/rubygem-drb-gitlab
- devel/rubygem-i18n
- devel/rubygem-logger-gitlab
- devel/rubygem-minitest
- devel/rubygem-racc
- devel/rubygem-timeout
- devel/rubygem-tzinfo
- devel/rubygem-useragent
- dns/rubygem-public_suffix
- lang/ruby34
- mail/rubygem-actionmailer-gitlab
- mail/rubygem-mail-gitlab
- mail/rubygem-mini_mime
- mail/rubygem-net-imap-gitlab
- mail/rubygem-net-pop
- mail/rubygem-net-smtp
- mail/rubygem-premailer
- math/rubygem-bigdecimal-gitlab
- net/rubygem-connection_pool
- net/rubygem-net-protocol
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/rubygem-securerandom
- security/rubygem-ssrf_filter
- textproc/libxml2
- textproc/libxslt
- textproc/libyaml
- textproc/rubygem-css_parser
- textproc/rubygem-htmlentities
- textproc/rubygem-loofah-gitlab
- textproc/rubygem-nokogiri
- textproc/rubygem-rails-dom-testing-rails-gitlab
- textproc/rubygem-rails-html-sanitizer-gitlab
- www/rubygem-actionpack-gitlab
- www/rubygem-addressable
- www/rubygem-cgi
- www/rubygem-crass
- www/rubygem-erubi
- www/rubygem-rack-gitlab
- www/rubygem-rack-session-gitlab
- www/rubygem-rack-test-gitlab
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/premailer-rails-1.12.0.gem | 25088 | c13815d161b9bc7f7d3d81396b0bb0a61a90fa9bd89931548bf4e537c7710400 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.