warden-github 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/warden/github/user.rb +3 -1
- data/lib/warden/github/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 224cc683e53b8c9473f283a08b8e1fe055c5731f
|
4
|
+
data.tar.gz: c7d9b17f19afd74236dbaeb9e14a1598e2bd3761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bc465c114cce993843b36b8c9d5273ae3bd6084babb0ac7f04d79cdaa15c45dda22c96b5246b7e91f1a6d818923acff2dfc8aa7bfa07764faf62ac48585eb6f
|
7
|
+
data.tar.gz: ea076c77866bc95683a747c63493ce020dd3a4c98349c7f27de81d6b8c651255961bf87df30fd539cc5f846f361ea17f4ee40e851269e9fa896d22ffa83887d6
|
data/CHANGELOG.md
CHANGED
data/lib/warden/github/user.rb
CHANGED
@@ -59,7 +59,9 @@ module Warden
|
|
59
59
|
#
|
60
60
|
# Returns: true if the user has access, false otherwise
|
61
61
|
def team_member?(team_id)
|
62
|
-
|
62
|
+
memberships.fetch_membership(:team, team_id) do
|
63
|
+
api.team_member?(team_id, login)
|
64
|
+
end
|
63
65
|
end
|
64
66
|
|
65
67
|
# Identify GitHub employees/staff members.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: warden-github
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Donohoe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: warden
|