googleauth 1.17.0 → 1.17.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af793408bd622c160b50d6839cea9d58523e1424c05cf5fa52beecd93b52aee9
4
- data.tar.gz: 0131f0f3459d5e093b1de8fe48d1986a7b51b583be9a3a23383624dea6c5112c
3
+ metadata.gz: 65760a71937d92e7ac7645084b04fa503e9e824ce4cdde626013e1e5b218d1ff
4
+ data.tar.gz: 735c54698d8ac9f2419b4b2b5d0525d079d799fb06cdcef10ea8a7bb76f7e5a9
5
5
  SHA512:
6
- metadata.gz: c5ea780b6bc8b2ae699cb5839f8e4dcfdea65133ec0bd90396c6c1383a6ae34a2b71af9027319c67226faa5ec55e55d75b9aae434e37581ef8e9f54337cd8f5c
7
- data.tar.gz: 972fcf255773491f037a360fb8c1d557594b5413f8024cc1c888f7d18536e4b3ff732ffb5f928291984348bb5e0f87af34b01054b3f5f3cd16262f75d1cb4260
6
+ metadata.gz: 58a86a3662c68bdabfbb96f12066c6d24ecc8aa1a4927e9be89578269001d5d64010340bb98285e5e6717c30b0d7b118d3b07dd631581db6b668934f6074117f
7
+ data.tar.gz: 41e44fdbe1863fe39bed931e07948ddbeaa6c627a7f7d28a4f43591e6b281898d7bf6afdeb76d06ad4668297028a374ba936d29785c0c544ba853fbadc8aaf2c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 1.17.1 (2026-06-08)
4
+
5
+ #### Bug Fixes
6
+
7
+ * repair impersonated email helper ([#578](https://github.com/googleapis/google-auth-library-ruby/issues/578)) ([6317f9b](https://github.com/googleapis/google-auth-library-ruby/commit/6317f9b3f44a26ffff569ed29a09b929cc2ab45e)), closes [#577](https://github.com/googleapis/google-auth-library-ruby/issues/577)
8
+
3
9
  ### 1.17.0 (2026-06-04)
4
10
 
5
11
  #### Features
@@ -101,13 +101,8 @@ module Google
101
101
  # service_account_impersonation_url, or nil if it cannot be determined
102
102
  def service_account_email
103
103
  return nil if @service_account_impersonation_url.nil?
104
- start_idx = @service_account_impersonation_url.rindex "/"
105
- end_idx = @service_account_impersonation_url.index ":generateAccessToken"
106
- if start_idx != -1 && end_idx != -1 && start_idx < end_idx
107
- start_idx += 1
108
- return @service_account_impersonation_url[start_idx..end_idx]
109
- end
110
- nil
104
+ match = @service_account_impersonation_url.match %r{serviceAccounts/([^:]+):generateAccessToken$}
105
+ match[1] if match
111
106
  end
112
107
  end
113
108
  end
@@ -16,6 +16,6 @@ module Google
16
16
  # Module Auth provides classes that provide Google-specific authorization
17
17
  # used to access Google APIs.
18
18
  module Auth
19
- VERSION = "1.17.0".freeze
19
+ VERSION = "1.17.1".freeze
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: googleauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC