dependabot-common 0.95.56 → 0.95.57

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: '065899dc9ac8513748f2b7bdc576684221d971d7f3a3067c5ec4b7083f2b6142'
4
- data.tar.gz: 4b849972b9defcd3fe193c209f6fdaf981787312a6afbc6110c72a95f210faf1
3
+ metadata.gz: 98c1ee56afdee77f96e2069cf74695b79b2beacc72d80fd294c4118d5ad585bf
4
+ data.tar.gz: e14ac355f25ffd73aa6ccb7046f75904458b8ec28935aaf0c4f4bd4438931e3e
5
5
  SHA512:
6
- metadata.gz: 3c4d9e4b7dc7e07f2f4d27b92bc8012b6ba740897f5b50350e122252554462bc6f6db3b9f22563bd7b4d1ef7f58419bedbd4a9f0bcf3c0ba24f909cae50d483d
7
- data.tar.gz: '08113e4f9a0f43690c36bfc0e2cc9809d8214c23eba3e8ca7f9c925a45c906ca379b56cfde9b0b0b86ff59aae9b1f0fcd9cf0faddc73a79a4f7b7125dc3ef4cf'
6
+ metadata.gz: 24d033f5e3cd86039b79a01c1d760bc3e8bc66a00391a04ba156e8ce4126ed1dd42d3786a90600339308e538e2e884fb4bc09cbb39329fe0362996851e55ff1d
7
+ data.tar.gz: 8d0b473fca1b44fa72ebd281387dca860cfd5a7d204de6940ea6b8da215c44e07b1c194d39014ee58a81aaf70995f84a1d1c201202ae463d2c0a14644dad25fc
@@ -176,4 +176,19 @@ module Dependabot
176
176
  super(msg)
177
177
  end
178
178
  end
179
+
180
+ class GoModulePathMismatch < DependabotError
181
+ attr_reader :go_mod, :declared_path, :discovered_path
182
+
183
+ def initialize(go_mod, declared_path, discovered_path)
184
+ @go_mod = go_mod
185
+ @declared_path = declared_path
186
+ @discovered_path = discovered_path
187
+
188
+ msg = "The module path '#{declared_path}' found in #{go_mod} doesn't "\
189
+ "match the actual path '#{discovered_path}' in the dependency's "\
190
+ "go.mod"
191
+ super(msg)
192
+ end
193
+ end
179
194
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.95.56"
4
+ VERSION = "0.95.57"
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.95.56
4
+ version: 0.95.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot