gitlab-license 1.5.0 → 2.0.0
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 +4 -4
- data/lib/gitlab/license.rb +5 -5
- data/lib/gitlab/license/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: 517b48dd59c73e6c06a3141dbbff736b6ac5aec0db0575e81e8eaa9efca214c3
|
|
4
|
+
data.tar.gz: a3ae2f4b90f8ab04f042e420e81b268bd0250ff76234d29424fa22badd127ff9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c0b2e7c189d8abad15856eea602aefa67eb772a44609278a7600365389c706aa7b0594a51fed2ea7ade3307162ecbe053d5b17ca3bc7ed0054a104988e1d88d
|
|
7
|
+
data.tar.gz: 4dbaf5ea37ae26de84edd087269b10676879164abc0bee0578c3a6b6af88c832fe0aba70f22ee489de46eeeea2023b33c997ae999b51deeffbb0b05939662d04
|
data/lib/gitlab/license.rb
CHANGED
|
@@ -53,7 +53,7 @@ module Gitlab
|
|
|
53
53
|
attr_accessor :licensee, :starts_at, :expires_at, :notify_admins_at,
|
|
54
54
|
:notify_users_at, :block_changes_at, :last_synced_at, :next_sync_at,
|
|
55
55
|
:activated_at, :restrictions, :cloud_licensing_enabled, :auto_renew_enabled,
|
|
56
|
-
:seat_reconciliation_enabled, :
|
|
56
|
+
:seat_reconciliation_enabled, :operational_metrics_enabled,
|
|
57
57
|
:generated_from_customers_dot
|
|
58
58
|
|
|
59
59
|
alias_method :issued_at, :starts_at
|
|
@@ -145,8 +145,8 @@ module Gitlab
|
|
|
145
145
|
seat_reconciliation_enabled == true
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
def
|
|
149
|
-
|
|
148
|
+
def operational_metrics?
|
|
149
|
+
operational_metrics_enabled == true
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
def generated_from_customers_dot?
|
|
@@ -183,7 +183,7 @@ module Gitlab
|
|
|
183
183
|
hash['cloud_licensing_enabled'] = cloud_licensing?
|
|
184
184
|
hash['auto_renew_enabled'] = auto_renew?
|
|
185
185
|
hash['seat_reconciliation_enabled'] = seat_reconciliation?
|
|
186
|
-
hash['
|
|
186
|
+
hash['operational_metrics_enabled'] = operational_metrics?
|
|
187
187
|
|
|
188
188
|
hash['generated_from_customers_dot'] = generated_from_customers_dot?
|
|
189
189
|
|
|
@@ -232,7 +232,7 @@ module Gitlab
|
|
|
232
232
|
cloud_licensing_enabled
|
|
233
233
|
auto_renew_enabled
|
|
234
234
|
seat_reconciliation_enabled
|
|
235
|
-
|
|
235
|
+
operational_metrics_enabled
|
|
236
236
|
generated_from_customers_dot
|
|
237
237
|
].each do |attr_name|
|
|
238
238
|
public_send("#{attr_name}=", attributes[attr_name] == true)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-license
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Douwe Maan
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2021-
|
|
13
|
+
date: 2021-06-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|