Skip to content

Commit

Permalink
Bump version to 0.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ncr committed Jan 17, 2023
1 parent dc8c46f commit ce04ba5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rack-proxy (0.7.5)
rack-proxy (0.7.6)
rack

GEM
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installation
Add the following to your `Gemfile`:

```
gem 'rack-proxy', '~> 0.7.5'
gem 'rack-proxy', '~> 0.7.6'
```

Or install:
Expand Down Expand Up @@ -136,7 +136,7 @@ Test with `require 'rack_proxy_examples/example_service_proxy'`
# 1. rails new test_app
# 2. cd test_app
# 3. install Rack-Proxy in `Gemfile`
# a. `gem 'rack-proxy', '~> 0.7.5'`
# a. `gem 'rack-proxy', '~> 0.7.6'`
# 4. install gem: `bundle install`
# 5. create `config/initializers/proxy.rb` adding this line `require 'rack_proxy_examples/example_service_proxy'`
# 6. run: `SERVICE_URL=http://guides.rubyonrails.org rails server`
Expand Down Expand Up @@ -298,7 +298,7 @@ Add some domain name like `debug.your_app.com` into your local `/etc/hosts` file
Next start the proxy and your app. And now you can access to your Spring application through SSL connection via `https://debug.your_app.com` URI in a browser.
### Using SSL/TLS certificates with HTTP connection
This may be helpful, when third-party API has authentication by client TLS certificates and you need to proxy your requests and sign them with certificate.
This may be helpful, when third-party API has authentication by client TLS certificates and you need to proxy your requests and sign them with certificate.
Just specify Rack::Proxy SSL options and your request will use TLS HTTP connection:
```ruby
Expand Down
2 changes: 1 addition & 1 deletion lib/rack/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Rack

# Subclass and bring your own #rewrite_request and #rewrite_response
class Proxy
VERSION = "0.7.5".freeze
VERSION = "0.7.6".freeze

HOP_BY_HOP_HEADERS = {
'connection' => true,
Expand Down
2 changes: 1 addition & 1 deletion lib/rack_proxy_examples/example_service_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 1. rails new test_app
# 2. cd test_app
# 3. install Rack-Proxy in `Gemfile`
# a. `gem 'rack-proxy', '~> 0.7.5'`
# a. `gem 'rack-proxy', '~> 0.7.6'`
# 4. install gem: `bundle install`
# 5. create `config/initializers/proxy.rb` adding this line `require 'rack_proxy_examples/example_service_proxy'`
# 6. run: `SERVICE_URL=http://guides.rubyonrails.org rails server`
Expand Down

0 comments on commit ce04ba5

Please sign in to comment.