
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
== Rubylight
This is a simple implementation of Lokesh Dhakar's Lightbox 2,( http://lokeshdhakar.com/projects/lightbox2/ ) current with version 2.51. Its purpose is to simply make setup and use of Lightbox 2 easier for Rails users.
= Installation and Setup
Add Ruby to your gem file:
gem 'rubylight'
and install it using bundler:
$ bundle install
Require the modified Lightbox css file in your application.css file:
*= require lightbox
Require the modified Lightbox javascript file in your application.js file:
//= require lightbox
= Use
lightbox_tag(thumb, pic, title=nil, collection=nil, html_options = {})
thumb is the url of the smaller pic (the one you want displayed on the page)
pic is the url of the larger pic (the one you want displayed after clicking)
title is the caption displayed below the pic after clicking
collection is which collection the pic belongs to. Pictures in the same collection can be cycled.
html_options is any further html options for the link
= Author
{J Paul Wetstein}[https://rubygems.org/profiles/60085] (mailto:jeep.wetstein@gmail.com)
= License
Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
FAQs
Unknown package
We found that rubylight demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.