
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Crispy Mobile empowers your Rails application with easy-accessible device-detection. In your controller or view, you can access device properties or add switches like:
- if device == :desktop
= stylesheet_link_tag :desktop
- else
= stylesheet_link_tag :mobile
= image_tag @photo.dynamic_url(device > :handheld_480 ? '600x400' : '300x200')
= image_tag @photo.dynamic_url("#{device.display_width}x")
CSS media queries are nice. But not for mobile.
They just add up code you send to your clients instead of reducing it for mobile devices.
Imagine you want to make a responsive product page.
You don't.
If you start mobile-first, don't let your mobile performance be affected by additional desktop features.
Be kind, serve the clients exactly what they need.
A middleware is introduced which looks up the user agent string in the WURFL repository.
Pending. Please have a look at the source.
In your Gemfile add:
gem 'crispy-mobile'
In your ApplicationController add:
include Crispy::DeviceHelpers
See MIT-LICENSE.
FAQs
Unknown package
We found that crispy-mobile 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
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
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.