dependabot-common 0.107.5 → 0.107.6

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: '04941cf855891d3f4b237c9076b0f60ab46501ca6631e980a2bff8da66cac9aa'
4
- data.tar.gz: c78db2d55328edb6b357b8e2070cc5caf2dbe468a49fb777606f7c557b0a1a92
3
+ metadata.gz: 6f2e9b272383928e83013cd7288eb6bf0a66b376f206bebca54b48c438edf7d9
4
+ data.tar.gz: 3a7d2fc2cb823e5ec7c95a09efe65bd88928545586bc8cbf81bbcab7115c5215
5
5
  SHA512:
6
- metadata.gz: 45a034b06b79a0a173ca1ff7b3acf67266057f02daa1aa566b82c7f72252fb117598505e82ff5df42447cb2c16c8da7a80119e0317c5e16122b1a490e03b0233
7
- data.tar.gz: b001a3939ca512f456e12d23de584bed03294f7415b6d3262b0db7ac1e8adffd6bf8475f589dee2c50818f04c54800c0b31b37415e35dff7d23c016ea7d96613
6
+ metadata.gz: b6a138b22738fc2dcd552f1c0c9b0de6fe742347604eb6c4ba5b2b54ba2469b7bde0723e75851578cf4eee91b309891bbfa7d2b945549095645931c17d83a4d8
7
+ data.tar.gz: 378bf7ecf60fadd0703b596edb3586c0a6bfbeb9002e948985c318eafed1a10f4ba8a4142e81540a9a99c3fb429b73f6f9b113099ee2bb1663b6b49e6f3a8fa4
@@ -70,13 +70,7 @@ module Dependabot
70
70
  end
71
71
 
72
72
  def url
73
- case provider
74
- when "github" then "https://github.com/" + repo
75
- when "bitbucket" then "https://bitbucket.org/" + repo
76
- when "gitlab" then "https://gitlab.com/" + repo
77
- when "azure" then "https://dev.azure.com/" + repo
78
- else raise "Unexpected repo provider '#{provider}'"
79
- end
73
+ "https://" + hostname + "/" + repo
80
74
  end
81
75
 
82
76
  def url_with_directory
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.107.5"
4
+ VERSION = "0.107.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.107.5
4
+ version: 0.107.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot