omniauth-github-organization 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ee761593b94579587c1458522cfdfab119045d82e5eb798871870d02699fca5
4
- data.tar.gz: 7194d2d81ac82dd13fb5060c57274faa90cc0fe1eab6cdca28b4f18c8d91d815
3
+ metadata.gz: f622b7bb7d431b7b0cc18aa1f8542cee4c0316c7864b2d8bad55c3c46ea12996
4
+ data.tar.gz: 1599886d8c96e9a9d303be6fec714e63a7bb21272f0f03f736cdca64c00a9aaf
5
5
  SHA512:
6
- metadata.gz: 15417059ecfd6ec0fd67ad42693f84c243d172cfb91fe4c17de53f77d7e5c1a0b9641e6e7cd5fec97b811bfed1b42b80afcd296e7dd3d835c13b0d552c0cc7da
7
- data.tar.gz: 118b186fc9ef394f43f8f6ee9bf61f39dd9246c1f9e4a59e3f01930b0bfb4f3a4df6399d47689378f88ddaf04e0624e689b86098b1f8fcb01ddb7334269c282f
6
+ metadata.gz: 87e4307ee5ee1e6daac28f6d08bd2f3b4697ed8fb72ffb89728d411eb427d53563314ab0037af11972ad46962e23514d0c2573c8785a71fdbe18e431b94a205d
7
+ data.tar.gz: 05d1fc1239e1b2307bfede0a1368a03b97a834c3c14631ef08e7fabd643d18b8cf7943041469ea11a301c3f8701c7a0338f086c6c5846620fdd64e6f3d7e6db9
data/README.md CHANGED
@@ -19,7 +19,7 @@ GitHub API v3 lets you set scopes to provide granular access to different types
19
19
 
20
20
  ```ruby
21
21
  use OmniAuth::Builder do
22
- provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'],ENV['GITHUB_ORGANIZATION_NAME'], { organization: ENV['GITHUB_ORGANIZATION_NAME'], scope: "user,repo,gist" }
22
+ provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET'], { organization: ENV['GITHUB_ORGANIZATION_NAME'], scope: "user,repo,gist" }
23
23
  end
24
24
  ```
25
25
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module GitHubOrganization
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
  end
5
5
  end
@@ -28,8 +28,8 @@ module OmniAuth
28
28
  end
29
29
 
30
30
  def callback_phase
31
- return fail!(:user_denied, CallbackError.new(:user_denied, options['organization'])) unless organizations.include? options['organization']
32
31
  super
32
+ return fail!(:user_denied, CallbackError.new(:user_denied, options['organization'])) unless organizations.include? options['organization']
33
33
  end
34
34
 
35
35
  def organizations
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-github-organization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boris Ding