rubygems-await 0.5.1 → 0.5.2

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: a7aa95f9ae9cf362a45db3e468784c20a34a3d4eb4f4c6defad953d42783ed53
4
- data.tar.gz: 56bd242a22cd3a473cd62493605891d0ca978fe740c6f68c41eb8ae6836f07ba
3
+ metadata.gz: e1fa9edb21a5f110f48d454368957cd9a1ab583d26ce5e37b2df382fd0a2bf06
4
+ data.tar.gz: 41672c895ec17e4d9d136c969a266bf1af37e8c0a06f89671b978d5279619fa8
5
5
  SHA512:
6
- metadata.gz: 4cbe9b0affd9a4b6bb0e7469616ebf04dd43505c606ae92c2f24ffca74cdb42f9c4d65f5ddeac85d80247e3a20e96228141f294ba5fafc45d1a64f45f56cd7ee
7
- data.tar.gz: 792367dc130c7b88f4b038418149d70ff85f6c6f7c26548a8b09a3f2749b44b5b41cbcdf90580f7e5bd9c0db87b7a2821ac7cfb7c5c1a7f16a5a47adb94933ac
6
+ metadata.gz: 61a50398554ecf83dcff750f2c377b20c23a0e15266c758f786aef00903e63b6f740559c020c0a7769f6a163629b9b26d8b1be5c63c2773d21223ce7d8569a8b
7
+ data.tar.gz: 7bb8fcfc1f4a71d97057604594e0af4bdfba0df37815ce8510741dae5e99ce6d7aa2d139cf0eef5d17513d4d586bd8cecd2aefe5ab9b585246b68244503d5064
@@ -0,0 +1,15 @@
1
+ repos:
2
+ - repo: https://github.com/gitleaks/gitleaks
3
+ rev: v8.16.3
4
+ hooks:
5
+ - id: gitleaks
6
+ - repo: https://github.com/jumanjihouse/pre-commit-hooks
7
+ rev: 3.0.0
8
+ hooks:
9
+ - id: RuboCop
10
+ - id: shellcheck
11
+ - repo: https://github.com/pre-commit/pre-commit-hooks
12
+ rev: v4.4.0
13
+ hooks:
14
+ - id: end-of-file-fixer
15
+ - id: trailing-whitespace
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubygems
4
4
  module Await
5
- VERSION = "0.5.1"
5
+ VERSION = "0.5.2"
6
6
  end
7
7
  end
@@ -253,7 +253,15 @@ module Rubygems
253
253
 
254
254
  def process_element(name, tuples)
255
255
  cic = compact_index_client
256
- cic.send :update_info, name
256
+ if cic.respond_to?(:update_info, true)
257
+ cic.send :update_info, name
258
+ elsif cic.respond_to?(:info)
259
+ cic.info name
260
+ else
261
+ raise NotImplementedError,
262
+ "unsupported bundler version: #{Bundler::VERSION}. " \
263
+ "#{cic.class} does not respond to #info or #update_info"
264
+ end
257
265
  info = cic.instance_variable_get(:@cache).dependencies(name)
258
266
 
259
267
  info.each do |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.1
4
+ version: 0.5.2
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-04-06 00:00:00.000000000 Z
11
+ date: 2024-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -32,6 +32,7 @@ executables:
32
32
  extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
+ - ".pre-commit-config.yaml"
35
36
  - ".rubocop.yml"
36
37
  - CHANGELOG.md
37
38
  - CODE_OF_CONDUCT.md
@@ -68,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
69
  - !ruby/object:Gem::Version
69
70
  version: '3.2'
70
71
  requirements: []
71
- rubygems_version: 3.5.3
72
+ rubygems_version: 3.5.11
72
73
  signing_key:
73
74
  specification_version: 4
74
75
  summary: A RubyGems plugin with a command to wait until gems are available.