gitlab_support_readiness 1.0.49 → 1.0.50

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: f5ec777cb67781d35e7adf304810f87ec38a88d73e2465e0e6c7e203bc20254f
4
- data.tar.gz: c7ceeea129c70de4fb9f9f02e251388457405fc20162b8b75872f1ac5516ee2a
3
+ metadata.gz: 245c5e90798a0488cf2c2bb7681eb48b278e9d59ecdb0e72dee8244b9298c1d7
4
+ data.tar.gz: 188b6ff03d707dbbecc18acb7ce5e8d6dc6b61be9b2d09971f54b2748fc127ee
5
5
  SHA512:
6
- metadata.gz: 6006e1b63ccd5018eadcaa780a9a2c52353df6d812790c8a0c4d2e36b14a198b2220755aaa7aa21e08a50fa283b4cc7f748ff06618283302b07b3e955b8c6df0
7
- data.tar.gz: c21bb79e2e662c4c40390b008d343b6a6e51aa6d5d0ada090611fe4e18aca07c9ae6b7c0416a593d0f821751dabaf08bcb760b7e7f70f4c4256fbc32df3becbd
6
+ metadata.gz: bba24c97145efe1c6a892ab9a2c40c008793e100534b9f187be7ebe8b3a954b47f0040da9701d3075b3f075e2c3ce62e93892466f4811a3b621d55cf41baa327
7
+ data.tar.gz: f571e32219c91932074d1e8d0b850d677342df01ad8b2448fe3887801c2a4bf046ed9d1448cf3fcc2c01532be628e0f368623d7b841176d2b61f4ec513c27a1a
@@ -91,8 +91,8 @@ module Readiness
91
91
  # @author Jason Colyer
92
92
  # @since 1.0.42
93
93
  def self.determine_manager
94
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
95
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
94
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
95
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
96
96
  return nil if found_user.nil?
97
97
 
98
98
  found_user
@@ -195,8 +195,8 @@ module Readiness
195
195
  # @author Jason Colyer
196
196
  # @since 1.0.42
197
197
  def self.determine_manager
198
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
199
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
198
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
199
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
200
200
  return nil if found_user.nil?
201
201
 
202
202
  found_user
@@ -162,8 +162,8 @@ module Readiness
162
162
  # @author Jason Colyer
163
163
  # @since 1.0.42
164
164
  def self.determine_manager
165
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
166
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
165
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
166
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
167
167
  return nil if found_user.nil?
168
168
 
169
169
  found_user
@@ -146,8 +146,8 @@ module Readiness
146
146
  # @author Jason Colyer
147
147
  # @since 1.0.42
148
148
  def self.determine_manager
149
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
150
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
149
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
150
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
151
151
  return nil if found_user.nil?
152
152
 
153
153
  found_user
@@ -195,8 +195,8 @@ module Readiness
195
195
  # @author Jason Colyer
196
196
  # @since 1.0.42
197
197
  def self.determine_manager
198
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
199
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
198
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
199
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
200
200
  return nil if found_user.nil?
201
201
 
202
202
  found_user
@@ -204,8 +204,8 @@ module Readiness
204
204
  # @author Jason Colyer
205
205
  # @since 1.0.42
206
206
  def self.determine_manager
207
- user_search = Readiness::GitLab::Users.search_by_email(@gitlab_admin_client, manager_handle)
208
- found_user = user_search.detect { |u| u.email.downcase == email.downcase }
207
+ user_search = Readiness::GitLab::Users.search_by_username(@gitlab_admin_client, manager_handle)
208
+ found_user = user_search.detect { |u| u.email.downcase == manager_handle.downcase }
209
209
  return nil if found_user.nil?
210
210
 
211
211
  found_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_support_readiness
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.49
4
+ version: 1.0.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Colyer