rubygems-await 0.5.3 → 0.5.4

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: b140ca3266a6223ba91683b0096e37cde3efc34fef00684ec3655dc6227f58dc
4
- data.tar.gz: d85557ae16306162fc82ea4192ef6007e365a043468f5af4ed063dbaaccd48ec
3
+ metadata.gz: 14ed6a4053d1369f9f21670071a45061c1c112238c3a076c1c5b5e8becb9798e
4
+ data.tar.gz: 79c1d3b02e136eeb86d483bb50e06abd97dedffaf8be7d3f72f40a47679c123a
5
5
  SHA512:
6
- metadata.gz: 287a2178214202a9297c0e00322e8563db75c6ed336aa1bf06d41fb88ffeaa51c554cf5b3289e415a83018979040bb88d223900661911ed5d34c0ee95c00943e
7
- data.tar.gz: 3032bba00c833ef13d783755c1f6986323edd980ff23ea147926d13860e7a79300650a6f5fda9902f4006b415e768f3cf26bf9cdb3dc4fce76c0a8026526fe8e
6
+ metadata.gz: 54e545209bc7e0f6f2165ebd1ee66ab620cbbd1a2481c2322dcdda463d9da1e0e3f630f942e7074be55184857276e1d55add30efbdc3f894874771af1a380ae0
7
+ data.tar.gz: f8ac505d6542597c6250bf699a235b87d77d27d3d78195619ec35023f12f32ec32dc812c39f338160fbd9eb9b187bae9c17077759e75c06326c10d3fc029b7b8
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubygems
4
4
  module Await
5
- VERSION = "0.5.3"
5
+ VERSION = "0.5.4"
6
6
  end
7
7
  end
@@ -132,7 +132,11 @@ module Rubygems
132
132
  fetcher.gem_remote_fetcher)
133
133
  end.send(:compact_index_client)
134
134
  # ensure that updating info always hits the network
135
- client.instance_variable_set(:@info_checksums_by_name, Hash.new { "" })
135
+ if client.instance_variable_defined?(:@parser)
136
+ client.instance_variable_get(:@parser).instance_variable_set(:@info_checksums, Hash.new { "" })
137
+ else
138
+ client.instance_variable_set(:@info_checksums_by_name, Hash.new { "" })
139
+ end
136
140
  client
137
141
  end
138
142
 
@@ -268,7 +272,9 @@ module Rubygems
268
272
  cic.instance_variable_get(:@cache).dependencies(name)
269
273
  end
270
274
 
271
- info.each do |version, platform|
275
+ info.each do |args|
276
+ args.shift if args.first == name
277
+ version, platform, = *args
272
278
  tuple = Gem::NameTuple.new(name, version, platform)
273
279
  log_found(tuple) if tuples.delete?(tuple)
274
280
  end
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.3
4
+ version: 0.5.4
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-27 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler