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 +4 -4
- data/.pre-commit-config.yaml +15 -0
- data/lib/rubygems/await/version.rb +1 -1
- data/lib/rubygems/await.rb +9 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1fa9edb21a5f110f48d454368957cd9a1ab583d26ce5e37b2df382fd0a2bf06
|
4
|
+
data.tar.gz: 41672c895ec17e4d9d136c969a266bf1af37e8c0a06f89671b978d5279619fa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/rubygems/await.rb
CHANGED
@@ -253,7 +253,15 @@ module Rubygems
|
|
253
253
|
|
254
254
|
def process_element(name, tuples)
|
255
255
|
cic = compact_index_client
|
256
|
-
cic.
|
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.
|
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-
|
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.
|
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.
|