BSD Ports

www/rubygem-requestjs-rails-rails81 0.0.14 FreeBSD

Tiny Fetch API wrapper for Rails with CSRF token handling

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
714baff203
License
MIT
Categories
www, rubygems
Package size
7.2 KiB, 15.0 KiB installed

Description

requestjs-rails is a tiny Fetch API wrapper that allows you to make HTTP requests from Rails applications without the need to manually handle CSRF tokens on every request.

This gem provides a simple JavaScript library that automatically includes Rails' CSRF token in AJAX requests, making it easier to build interactive web applications while maintaining security.

Key features:

  • Automatic CSRF token handling
  • Simple Fetch API wrapper
  • Lightweight and easy to integrate
  • Designed specifically for Rails applications

In the other systems

SystemPortVersion
FreeBSDwww/rubygem-requestjs-rails-rails810.0.14
HardenedBSDwww/rubygem-requestjs-rails-rails810.0.14
GhostBSDwww/rubygem-requestjs-rails-rails810.0.14

Install

Binary package:

pkg install rubygem-requestjs-rails-rails81

From the ports tree:

cd /usr/ports/www/rubygem-requestjs-rails-rails81/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-requestjs-rails-rails81>0:www/rubygem-requestjs-rails-rails81

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.140.0.14--0.0.14
FreeBSD:14:quarterly0.0.140.0.14n/a-0.0.14
FreeBSD:15:latest0.0.140.0.14n/a--
FreeBSD:15:quarterly0.0.140.0.14n/an/an/a
FreeBSD:16:latest0.0.140.0.14n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 54
Required by 1

Configuration

No options to configure.

Service scripts
none

Files

No file lists for this port.

Commit history 1

DateCommitCreditsLog message
714baff203 Xin LI www/rubygem-requestjs-rails-rails81: add port
Tiny Fetch API wrapper for Rails 8.1 with CSRF token handling.