
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.
actionpack-cloudflare
Advanced tools
Simple gem that extends Rails request.remote_ip
to default to Cloudflare's HTTP_CF_CONNECTING_IP
header. More about CloudFlare HTTP Headers and why we choose to trust CF-Connecting-IP
.
Add this line to your Rails application's Gemfile:
gem 'actionpack-cloudflare'
None! Just install and feel confident that request.remote_ip
is doing its job.
We use the Appraisal gem from Thoughtbot to help us test different versions of Rails. The appraisal rake test
subcommand runs our test suite against all Rails versions in the Appraisal
file. So after cloning the repo, running the following commands.
$ bundle install
$ bundle exec appraisal update
$ bundle exec appraisal rake test
If you want to run the tests for a specific appraisal, use one of the names found in our Appraisal
file. For example, the following will run our tests suite for Rails 4.2 only.
$ bundle exec appraisal rails42 rake test
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that actionpack-cloudflare 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.