globus_client 0.17.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e08e97fbfd4a9b84d55f71a12289777a097f650de25717e9823e6bc8654d2237
4
- data.tar.gz: ca58e7a6b52206fa2bef9a57f65fb3481ceac9036d07ff3779f9a23e7fbd4b7a
3
+ metadata.gz: e7af86d10638224774c4bef0d85c4cbbe4e80c67edf432e6194ba097c8cb1cbe
4
+ data.tar.gz: 7d2cb00fa8d76638fd8f6c0581766b5d9aaf5c3ed6a0322c69c12a64b1ebbf0d
5
5
  SHA512:
6
- metadata.gz: fe82ef0a3bf4bf62ba8ea77d5d504915be2ccb860c28afdd7b2fcfab7231df1df205390d712b7ac83ff21346bd6a28c29c00672fa0bc80105a2a57c82e0bb697
7
- data.tar.gz: d26b68220d051ab56d04ed21459a29c64b62fe24aa8012760ae80e0e02d8afd28de764248a7ad69e49292683262ecdc6ce268dbd9244e6bd2b48ab5628a6ed90
6
+ metadata.gz: 82be27face7403bf3e05f0c7356cd49fbae59afe06a37aabde60ba9a713237d144d116a57a3aff81c19cfeae046c418d8d828e6864053e8d56a72213213331f5
7
+ data.tar.gz: dc6fff3543f1d5b5a0d56ac83c49a1285fc0e28a1949a25234aa4aecfa65d65850444ac3418d69f0c4c9c772ddc4b86d3b225bff14e813d306bb20d10ca64ef6
data/.rubocop.yml CHANGED
@@ -22,7 +22,7 @@ Layout/LineLength:
22
22
  Max: 150
23
23
 
24
24
  # Naming
25
- Naming/PredicateName:
25
+ Naming/PredicatePrefix:
26
26
  ForbiddenPrefixes:
27
27
  - is_
28
28
  - have_
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- globus_client (0.17.0)
4
+ globus_client (0.18.0)
5
5
  activesupport (>= 4.2)
6
6
  faraday
7
7
  faraday-retry
@@ -28,7 +28,7 @@ GEM
28
28
  ast (2.4.3)
29
29
  base64 (0.3.0)
30
30
  benchmark (0.4.1)
31
- bigdecimal (3.2.1)
31
+ bigdecimal (3.2.2)
32
32
  byebug (12.0.0)
33
33
  concurrent-ruby (1.3.5)
34
34
  connection_pool (2.5.3)
@@ -38,13 +38,13 @@ GEM
38
38
  diff-lcs (1.6.2)
39
39
  docile (1.4.1)
40
40
  drb (2.2.3)
41
- faraday (2.13.1)
41
+ faraday (2.13.2)
42
42
  faraday-net_http (>= 2.0, < 3.5)
43
43
  json
44
44
  logger
45
- faraday-net_http (3.4.0)
45
+ faraday-net_http (3.4.1)
46
46
  net-http (>= 0.5.0)
47
- faraday-retry (2.3.1)
47
+ faraday-retry (2.3.2)
48
48
  faraday (~> 2.0)
49
49
  hashdiff (1.2.0)
50
50
  i18n (1.14.7)
@@ -71,7 +71,7 @@ GEM
71
71
  rspec-core (~> 3.13.0)
72
72
  rspec-expectations (~> 3.13.0)
73
73
  rspec-mocks (~> 3.13.0)
74
- rspec-core (3.13.4)
74
+ rspec-core (3.13.5)
75
75
  rspec-support (~> 3.13.0)
76
76
  rspec-expectations (3.13.5)
77
77
  diff-lcs (>= 1.2.0, < 2.0)
@@ -80,7 +80,7 @@ GEM
80
80
  diff-lcs (>= 1.2.0, < 2.0)
81
81
  rspec-support (~> 3.13.0)
82
82
  rspec-support (3.13.4)
83
- rubocop (1.75.8)
83
+ rubocop (1.78.0)
84
84
  json (~> 2.3)
85
85
  language_server-protocol (~> 3.17.0.2)
86
86
  lint_roller (~> 1.1.0)
@@ -88,10 +88,10 @@ GEM
88
88
  parser (>= 3.3.0.2)
89
89
  rainbow (>= 2.2.2, < 4.0)
90
90
  regexp_parser (>= 2.9.3, < 3.0)
91
- rubocop-ast (>= 1.44.0, < 2.0)
91
+ rubocop-ast (>= 1.45.1, < 2.0)
92
92
  ruby-progressbar (~> 1.7)
93
93
  unicode-display_width (>= 2.4.0, < 4.0)
94
- rubocop-ast (1.44.1)
94
+ rubocop-ast (1.45.1)
95
95
  parser (>= 3.3.7.2)
96
96
  prism (~> 1.4)
97
97
  rubocop-performance (1.25.0)
@@ -88,7 +88,7 @@ class GlobusClient
88
88
  attr_reader :path, :user_id, :notify_email
89
89
 
90
90
  def globus_identity_id
91
- Identity.new.get_identity_id(user_id)
91
+ @globus_identity_id ||= Identity.new.get_identity_id(user_id)
92
92
  end
93
93
 
94
94
  # Builds up a path from a list of path elements. E.g., input would look like:
@@ -187,7 +187,7 @@ class GlobusClient
187
187
  content_type: 'application/json'
188
188
  )
189
189
 
190
- response.fetch('DATA').find { |acl| acl['path'] == full_path }
190
+ response.fetch('DATA').find { |acl| acl['path'] == full_path && acl['principal'] == globus_identity_id }
191
191
  end
192
192
 
193
193
  def access_rule_id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GlobusClient
4
- VERSION = '0.17.0'
4
+ VERSION = '0.18.0'
5
5
  end
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globus_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Collier
8
8
  - Laura Wrubel
9
9
  - Mike Giarlo
10
+ autorequire:
10
11
  bindir: exe
11
12
  cert_chain: []
12
- date: 1980-01-02 00:00:00.000000000 Z
13
+ date: 2025-07-18 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: activesupport
@@ -101,6 +102,7 @@ metadata:
101
102
  source_code_uri: https://github.com/sul-dlss/globus_client
102
103
  changelog_uri: https://github.com/sul-dlss/globus_client/releases
103
104
  rubygems_mfa_required: 'true'
105
+ post_install_message:
104
106
  rdoc_options: []
105
107
  require_paths:
106
108
  - lib
@@ -115,7 +117,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
117
  - !ruby/object:Gem::Version
116
118
  version: '0'
117
119
  requirements: []
118
- rubygems_version: 3.6.9
120
+ rubygems_version: 3.5.11
121
+ signing_key:
119
122
  specification_version: 4
120
123
  summary: Interface for interacting with the Globus API.
121
124
  test_files: []