Skip to content

Commit

Permalink
Bump olive_branch from 2.0.0 to 3.0.0 (#3713)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot-preview[bot] authored Jan 14, 2020
1 parent bd2aad2 commit 2d5e6b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,9 @@ GEM
octokit (4.14.0)
sawyer (~> 0.8.0, >= 0.5.3)
oj (3.9.0)
olive_branch (2.0.0)
olive_branch (3.0.0)
multi_json
oj
rails (>= 4.0)
open4 (1.3.4)
origami (2.1.0)
Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Application < Rails::Application
end

config.middleware.insert_before(0, HttpMethodNotAllowed)
config.middleware.use OliveBranch::Middleware
config.middleware.use OliveBranch::Middleware, inflection_header: 'X-Key-Inflection'
config.middleware.use StatsdMiddleware
config.middleware.use Rack::Attack
config.middleware.use ActionDispatch::Cookies
Expand Down

0 comments on commit 2d5e6b6

Please sign in to comment.