rubygems-await 0.5.2 → 0.5.3

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: e1fa9edb21a5f110f48d454368957cd9a1ab583d26ce5e37b2df382fd0a2bf06
4
- data.tar.gz: 41672c895ec17e4d9d136c969a266bf1af37e8c0a06f89671b978d5279619fa8
3
+ metadata.gz: b140ca3266a6223ba91683b0096e37cde3efc34fef00684ec3655dc6227f58dc
4
+ data.tar.gz: d85557ae16306162fc82ea4192ef6007e365a043468f5af4ed063dbaaccd48ec
5
5
  SHA512:
6
- metadata.gz: 61a50398554ecf83dcff750f2c377b20c23a0e15266c758f786aef00903e63b6f740559c020c0a7769f6a163629b9b26d8b1be5c63c2773d21223ce7d8569a8b
7
- data.tar.gz: 7bb8fcfc1f4a71d97057604594e0af4bdfba0df37815ce8510741dae5e99ce6d7aa2d139cf0eef5d17513d4d586bd8cecd2aefe5ab9b585246b68244503d5064
6
+ metadata.gz: 287a2178214202a9297c0e00322e8563db75c6ed336aa1bf06d41fb88ffeaa51c554cf5b3289e415a83018979040bb88d223900661911ed5d34c0ee95c00943e
7
+ data.tar.gz: 3032bba00c833ef13d783755c1f6986323edd980ff23ea147926d13860e7a79300650a6f5fda9902f4006b415e768f3cf26bf9cdb3dc4fce76c0a8026526fe8e
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubygems
4
4
  module Await
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.3"
6
6
  end
7
7
  end
@@ -262,7 +262,11 @@ module Rubygems
262
262
  "unsupported bundler version: #{Bundler::VERSION}. " \
263
263
  "#{cic.class} does not respond to #info or #update_info"
264
264
  end
265
- info = cic.instance_variable_get(:@cache).dependencies(name)
265
+ info = if defined?(::Bundler::CompactIndexClient::Parser)
266
+ cic.info(name)
267
+ else
268
+ cic.instance_variable_get(:@cache).dependencies(name)
269
+ end
266
270
 
267
271
  info.each do |version, platform|
268
272
  tuple = Gem::NameTuple.new(name, version, platform)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-await
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Giddins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-14 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler