diff options
author | Austin Ziegler <austin@zieglers.ca> | 2023-02-16 21:45:29 -0500 |
---|---|---|
committer | Austin Ziegler <austin@zieglers.ca> | 2023-02-17 00:36:52 -0500 |
commit | b9382fe8c1593c7d6589cd62d59903926cfca51b (patch) | |
tree | 62a7c891831bd155365fa5577d6a1060ccd94afa /support/deps.rb | |
parent | 0bf7805068a6b8e53abbe5ac7c09aedda63ee54f (diff) | |
download | mime-types-main.tar.gz |
- Update the .github/workflows/ci.yml workflow to test Ruby 3.2 and more
reliably test certain combinations rather than depending on
exclusions.
- Change `.standard.yml` configuration to format for Ruby 2.3 as certain
files are not properly detected with Ruby 2.0.
- Change from `hoe-git` to `hoe-git2` to support Hoe version 4.
- Apply `standardrb --fix`.
- Update other dependencies.
Diffstat (limited to 'support/deps.rb')
-rw-r--r-- | support/deps.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/support/deps.rb b/support/deps.rb index 9254171..24f9c09 100644 --- a/support/deps.rb +++ b/support/deps.rb @@ -11,10 +11,12 @@ class Deps weighted_deps = {} deps.each do |name| - downloads = gem_downloads(name) - weighted_deps[name] = downloads if downloads - rescue => e - puts "#{name} #{e.message}" + begin + downloads = gem_downloads(name) + weighted_deps[name] = downloads if downloads + rescue => e + puts "#{name} #{e.message}" + end end weighted_deps |