Skip to content

Commit ff5d702

Browse files
committed
Merge pull request github#227 from cuttooth/master
Updated 'Basics of Authentication' guide to reflect changes to rest_client gem
2 parents fe68ac1 + 71494e8 commit ff5d702

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/guides/basics-of-authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ is set to `http://localhost:4567`. Let's fill in the callback URL as `http://loc
3434
Now, let's start filling out our simple server. Create a file called _server.rb_ and paste this into it:
3535

3636
require 'sinatra'
37-
require 'rest_client'
37+
require 'rest-client'
3838

3939
CLIENT_ID = ENV['GH_BASIC_CLIENT_ID']
4040
CLIENT_SECRET = ENV['GH_BASIC_SECRET_ID']
@@ -132,7 +132,7 @@ After you run `gem install sinatra_auth_github`, create a file called _advanced_
132132
and paste these lines into it:
133133

134134
require 'sinatra/auth/github'
135-
require 'rest_client'
135+
require 'rest-client'
136136

137137
module Example
138138
class MyBasicApp < Sinatra::Base
@@ -242,4 +242,4 @@ available as a seperate project.
242242
[rack guide]: http://en.wikipedia.org/wiki/Rack_(web_server_interface)
243243
[sinatra auth github]: https://github.com/atmos/sinatra_auth_github
244244
[sinatra extension]: http://www.sinatrarb.com/extensions.html
245-
[sinatra auth github test]: https://github.com/atmos/sinatra-auth-github-test
245+
[sinatra auth github test]: https://github.com/atmos/sinatra-auth-github-test

0 commit comments

Comments
 (0)