notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
rubygem-premailer-rails-rails71 CSS styled emails without the hassle
1.12.0 mail on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.12.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-05-16 06:31:09
Last Update: 2024-05-16 06:21:51
Commit Hash: 667b692
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: rubygems
License: MIT
WWW:
https://github.com/fphilipe/premailer-rails
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-premailer-rails-rails71-1.12.0/catalog.mk
  2. /usr/local/share/licenses/rubygem-premailer-rails-rails71-1.12.0/LICENSE
  3. /usr/local/share/licenses/rubygem-premailer-rails-rails71-1.12.0/MIT
Collapse this list.
Dependency lines:
  • rubygem-premailer-rails-rails71>0:mail/rubygem-premailer-rails-rails71
To install the port:
cd /usr/ports/mail/rubygem-premailer-rails-rails71/ && make install clean
To add the package, run one of these commands:
  • pkg install mail/rubygem-premailer-rails-rails71
  • pkg install rubygem-premailer-rails-rails71
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rubygem-premailer-rails-rails71
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1714227794 SHA256 (rubygem/premailer-rails-1.12.0.gem) = c13815d161b9bc7f7d3d81396b0bb0a61a90fa9bd89931548bf4e537c7710400 SIZE (rubygem/premailer-rails-1.12.0.gem) = 25088

Packages (timestamps in pop-ups are UTC):
rubygem-premailer-rails-rails71
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.12.01.12.0--1.12.0---
FreeBSD:13:quarterly1.12.01.12.0--1.12.0---
FreeBSD:14:latest1.12.01.12.0--1.12.0---
FreeBSD:14:quarterly1.12.01.12.0--1.12.0---
FreeBSD:15:latest1.12.01.12.0n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Runtime dependencies:
  1. rubygem-actionmailer71>=3 : mail/rubygem-actionmailer71
  2. rubygem-net-smtp>=0 : mail/rubygem-net-smtp
  3. rubygem-premailer>=1.7.9<2 : mail/rubygem-premailer
  4. ruby32 : lang/ruby32
  5. gem : devel/ruby-gems
Patch dependencies:
  1. ruby32 : lang/ruby32
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby32 : lang/ruby32
This port is required by:
for Run
  1. www/rubygem-bullet_train

Configuration Options:
No options to configure
Options name:
mail_rubygem-premailer-rails-rails71
USES:
gem
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.12.0
16 May 2024 06:21:51
commit hash: 667b692c1347bf3325327bfb5c6c442319c47b66commit hash: 667b692c1347bf3325327bfb5c6c442319c47b66commit hash: 667b692c1347bf3325327bfb5c6c442319c47b66commit hash: 667b692c1347bf3325327bfb5c6c442319c47b66 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
rubygem-premailer-rails-rails71: Add rubygem-premailer-rails-rails71 1.12.0

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.

Number of commits found: 1