From c62c484b3d7c9ec9df4fea20438b14d657e45cc4 Mon Sep 17 00:00:00 2001 From: r7kamura Date: Wed, 11 Jul 2018 05:56:40 +0900 Subject: [PATCH] Remove unnecessary :require option from Gemfile example `Bundler.require` automatically loads lib/rack/cors.rb even if there is no :require option. This can be verified by the following code: ```rb require "bundler/inline" gemfile do source "https://rubygems.org" gem "rack-cors" end puts defined?(Rack::Cors) ``` ``` $ ruby example.rb constant ``` cf. https://guides.rubygems.org/name-your-gem/ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 146855b..b8e0b1d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Install the gem: Or in your Gemfile: ```ruby -gem 'rack-cors', require: 'rack/cors' +gem 'rack-cors' ```