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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebcd029f78fa24a64272f1ceb54d2f8ef72cf384fc7847a61cd9d036ac8ebc44
4
- data.tar.gz: 3fb63ab5ef87df7691b84891a798d3992bd0268fec1dbe63504af8e240c40384
3
+ metadata.gz: 0db3559ab7a07dfcd5d4a732095029a812097d5fd1152d79dc2a186a2db66707
4
+ data.tar.gz: cb97c975f6885865e4981b50c9db1d2b8d7e1eb26bca7bb62b0280ee7db6c9d2
5
5
  SHA512:
6
- metadata.gz: 56c8e0717ea77f9ef87352a66e3abad55ebe94219337108b8a7291782e26d8e1b0f8166e512b3d12b9327e39938cfc4fd81f9f6517eda7f434d48a09ebb08d01
7
- data.tar.gz: 921ec103e0413d0665c3f2c2f681f2a2ace406083c80306827c76b7f006376f442445eaa537679a7368df5a2b280fceb216d9ae6c2456bc50db367ba32ef5480
6
+ metadata.gz: 863dbd7ffe40ae5f72a27388c46777f2928bd342a88b9882c53274b54a209a34db43ac4e7312d6c2dda028cdedd321d22e120cc24f8f9092fcd1636ea2dfc7b1
7
+ data.tar.gz: 3d3c6d88f99389c9c1c38602d433c525f13b342d36350b09e19396cf1b4064a75e1552f0e06f4b6fbf9fe8f8b1fa0ef1b571c1734d057e312a0a56673f785fbf
@@ -18,10 +18,11 @@ module Entitlements
18
18
 
19
19
  # Constructor.
20
20
  #
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
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 - 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
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Entitlements
4
4
  module Version
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.1"
6
6
  end
7
7
  end
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.0
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: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: contracts