dependabot-common 0.148.0 → 0.148.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e2dfebda37fda8f57a5b23574d9eac6906aef7c27fe59067ca7a9b7cac32c29
4
- data.tar.gz: 5bfa25849873dba68c6e5b9ecc707fb1638a88f8e023f8d80c3648651ec48981
3
+ metadata.gz: c94a9d1b0c62c0ac68f5d1ad06e33753ef2653cd3afa145fff06aeec6bfbd89e
4
+ data.tar.gz: 29dd2014563ffd3f4625f58ebbc2c295c7433275d09a867e676e6e51bcd81294
5
5
  SHA512:
6
- metadata.gz: 8e608134523661f73b9f75f88f4e6e3d14261f92d5c746356566ea07c2efebd2571122f292af88579a1a5874a8b9b68cfdc84e3e6216afb7ccfe2f0736480ec1
7
- data.tar.gz: b7b3f0e2163b8972214a52de596f3c0e6e0fd5e605804018e3be7d94ef73e9f85ee6c385b9840ba0999bb2edeb2955d0e2f952b6a700baf1cfa66e4b15e5bef9
6
+ metadata.gz: e87ae87692f0c7d60bcfbc878d8bfb47df6882e833997d6bc5826c19b3db61c32bfdca8dacc0530aa0f50d932a98a21e114096aa449b7b2adb9494b33d6e28a4
7
+ data.tar.gz: 4266cde9d6bcf27778b1e5df8624c9fffee370db9e2cb372652db6933bd17a7d4ab6b92fa7c7a1684363e63b317e6f1903e3a581c973b81f8c3fe15ee78aa3f6
@@ -267,7 +267,9 @@ module Dependabot
267
267
 
268
268
  def dependency_source_details
269
269
  sources =
270
- dependency.requirements.map { |r| r.fetch(:source) }.uniq.compact
270
+ dependency.requirements.
271
+ map { |requirement| requirement.fetch(:source) }.uniq.compact.
272
+ select { |source| source[:type] == "git" }
271
273
 
272
274
  return sources.first if sources.count <= 1
273
275
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.148.0"
4
+ VERSION = "0.148.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.148.0
4
+ version: 0.148.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-19 00:00:00.000000000 Z
11
+ date: 2021-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport