entitlements-github-plugin 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/entitlements/backend/github_team/service.rb +6 -5
- data/lib/entitlements/service/github.rb +6 -5
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db3559ab7a07dfcd5d4a732095029a812097d5fd1152d79dc2a186a2db66707
|
4
|
+
data.tar.gz: cb97c975f6885865e4981b50c9db1d2b8d7e1eb26bca7bb62b0280ee7db6c9d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 863dbd7ffe40ae5f72a27388c46777f2928bd342a88b9882c53274b54a209a34db43ac4e7312d6c2dda028cdedd321d22e120cc24f8f9092fcd1636ea2dfc7b1
|
7
|
+
data.tar.gz: 3d3c6d88f99389c9c1c38602d433c525f13b342d36350b09e19396cf1b4064a75e1552f0e06f4b6fbf9fe8f8b1fa0ef1b571c1734d057e312a0a56673f785fbf
|
@@ -18,10 +18,11 @@ module Entitlements
|
|
18
18
|
|
19
19
|
# Constructor.
|
20
20
|
#
|
21
|
-
# addr
|
22
|
-
# org
|
23
|
-
# token
|
24
|
-
# ou
|
21
|
+
# addr - Base URL a GitHub Enterprise API (leave undefined to use dotcom)
|
22
|
+
# org - String with organization name
|
23
|
+
# token - Access token for GitHub API
|
24
|
+
# ou - Base OU for fudged DNs
|
25
|
+
# ignore_not_found - Boolean to ignore not found errors
|
25
26
|
#
|
26
27
|
# Returns nothing.
|
27
28
|
Contract C::KeywordArgs[
|
@@ -29,7 +30,7 @@ module Entitlements
|
|
29
30
|
org: String,
|
30
31
|
token: String,
|
31
32
|
ou: String,
|
32
|
-
ignore_not_found: C::Bool,
|
33
|
+
ignore_not_found: C::Maybe[C::Bool],
|
33
34
|
] => C::Any
|
34
35
|
def initialize(addr: nil, org:, token:, ou:, ignore_not_found: false)
|
35
36
|
super
|
@@ -21,10 +21,11 @@ module Entitlements
|
|
21
21
|
|
22
22
|
# Constructor.
|
23
23
|
#
|
24
|
-
# addr
|
25
|
-
# org
|
26
|
-
# token
|
27
|
-
# ou
|
24
|
+
# addr - Base URL a GitHub Enterprise API (leave undefined to use dotcom)
|
25
|
+
# org - String with organization name
|
26
|
+
# token - Access token for GitHub API
|
27
|
+
# ou - Base OU for fudged DNs
|
28
|
+
# ignore_not_found - Boolean to ignore not found errors
|
28
29
|
#
|
29
30
|
# Returns nothing.
|
30
31
|
Contract C::KeywordArgs[
|
@@ -32,7 +33,7 @@ module Entitlements
|
|
32
33
|
org: String,
|
33
34
|
token: String,
|
34
35
|
ou: String,
|
35
|
-
ignore_not_found: C::Bool,
|
36
|
+
ignore_not_found: C::Maybe[C::Bool],
|
36
37
|
] => C::Any
|
37
38
|
def initialize(addr: nil, org:, token:, ou:, ignore_not_found: false)
|
38
39
|
# Save some parameters for the connection but don't actually connect yet.
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entitlements-github-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc. Security Ops
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: contracts
|