BSD Ports

www/rubygem-requestjs-rails 0.0.14 FreeBSD

Tiny Fetch API wrapper for Rails with CSRF token handling

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
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

Install

Binary package:

pkg install rubygem-requestjs-rails

From the ports tree:

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

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

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

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

As this port's Makefile names them.

Runtime 1

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

Build dependencies 6
Run dependencies 54

No port depends on this one.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/requestjs-rails-0.0.14.gem9216bb494198993b9bf136adeeffa3594c0143c7d16c7de4485c5e20d9c126e69a2d
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.