├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .rspec ├── Appraisals ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── gemfiles ├── rack_1.6.gemfile ├── rack_2.0.gemfile ├── rack_2.1.gemfile ├── rack_2.2.gemfile └── rack_3.0.gemfile ├── lib ├── rack-canonical-host.rb └── rack │ ├── canonical_host.rb │ └── canonical_host │ ├── redirect.rb │ ├── request.rb │ └── version.rb ├── rack-canonical-host.gemspec └── spec ├── rack └── canonical_host_spec.rb ├── spec_helper.rb └── support └── matchers ├── be_bad_request.rb ├── have_header.rb └── redirect_to.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --warnings 3 | --require spec_helper 4 | -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/Rakefile -------------------------------------------------------------------------------- /gemfiles/rack_1.6.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/gemfiles/rack_1.6.gemfile -------------------------------------------------------------------------------- /gemfiles/rack_2.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/gemfiles/rack_2.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rack_2.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/gemfiles/rack_2.1.gemfile -------------------------------------------------------------------------------- /gemfiles/rack_2.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/gemfiles/rack_2.2.gemfile -------------------------------------------------------------------------------- /gemfiles/rack_3.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/gemfiles/rack_3.0.gemfile -------------------------------------------------------------------------------- /lib/rack-canonical-host.rb: -------------------------------------------------------------------------------- 1 | require 'rack/canonical_host' 2 | -------------------------------------------------------------------------------- /lib/rack/canonical_host.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/lib/rack/canonical_host.rb -------------------------------------------------------------------------------- /lib/rack/canonical_host/redirect.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/lib/rack/canonical_host/redirect.rb -------------------------------------------------------------------------------- /lib/rack/canonical_host/request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/lib/rack/canonical_host/request.rb -------------------------------------------------------------------------------- /lib/rack/canonical_host/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/lib/rack/canonical_host/version.rb -------------------------------------------------------------------------------- /rack-canonical-host.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/rack-canonical-host.gemspec -------------------------------------------------------------------------------- /spec/rack/canonical_host_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/spec/rack/canonical_host_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/matchers/be_bad_request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/spec/support/matchers/be_bad_request.rb -------------------------------------------------------------------------------- /spec/support/matchers/have_header.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/spec/support/matchers/have_header.rb -------------------------------------------------------------------------------- /spec/support/matchers/redirect_to.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tylerhunt/rack-canonical-host/HEAD/spec/support/matchers/redirect_to.rb --------------------------------------------------------------------------------