Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Ruby testing workflow
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ['3.2', '3.3', '3.4']
gemfile: [rails72, rails80]
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

17 changes: 8 additions & 9 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# We use git repos so we get test directories and their support.

appraise 'rails42' do
gem 'rails', git: 'git://github.com/rails/rails.git', branch: '4-2-stable'
gem 'mocha'
end

appraise 'rails50' do
gem 'rails', git: 'git://github.com/rails/rails.git', branch: '5-0-stable'
appraise 'rails72' do
gem 'capybara'
gem 'puma'
gem 'selenium-webdriver'
gem 'rails', git: 'https://github.com/rails/rails.git', branch: '7-2-stable'
end

appraise 'rails51' do
appraise 'rails80' do
gem 'capybara'
gem 'selenium-webdriver'
gem 'puma'
gem 'rails', git: 'git://github.com/rails/rails.git', branch: '5-1-stable'
gem 'rails', git: 'https://github.com/rails/rails.git', branch: '8-0-stable'
end
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
gemspec

gem 'rails', git: 'git://github.com/rails/rails.git', branch: '5-1-stable'
gem 'rails', git: 'https://github.com/rails/rails.git', branch: '5-1-stable'
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@

# Actionpack::Cloudfront

[![Build Status](https://travis-ci.org/customink/actionpack-cloudfront.svg?branch=master)](https://travis-ci.org/customink/actionpack-cloudfront)

Configure Rails' [ActionDispatch::RemoteIp](http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html) to use Amazon CloudFront's IP ranges as trusted proxies.


## Installation & Usage

Add this line to your Rails application's Gemfile. No other configuration is needed.
Expand Down Expand Up @@ -46,15 +42,13 @@ $ 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.

```shell
$ bundle exec appraisal rails42 rake test
$ bundle exec appraisal rails72 rake test
```

## Alternatives

* [cloudfront-rails](https://github.com/dinks/cloudfront-rails) - Leverages cached HTTP requests to Cloudfront to extend Rails' trusted proxies list thru method patching vs assigning to ActionDispatch's trusted proxies config.


## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

8 changes: 0 additions & 8 deletions gemfiles/rails42.gemfile

This file was deleted.

134 changes: 0 additions & 134 deletions gemfiles/rails42.gemfile.lock

This file was deleted.

7 changes: 0 additions & 7 deletions gemfiles/rails50.gemfile

This file was deleted.

136 changes: 0 additions & 136 deletions gemfiles/rails50.gemfile.lock

This file was deleted.

Loading