dependabot-common 0.147.1 → 0.148.4

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: abae304f54068dfcec44e81919bc0f3290fdfb5ecf0ee9f5f878c8612902315b
4
- data.tar.gz: 75018dbfb55e8d3100e863064e7fc1b913cdc8b3b091722b06b307bd94968ee8
3
+ metadata.gz: 698edfd24a136a52f138920b6408ad3a0c4ad8cb064707b305b1f6d8c0ef1e72
4
+ data.tar.gz: 1965162f93a649c3a7b867d2b131b5ff2f4723f5d983ebd7ed54907760cfd675
5
5
  SHA512:
6
- metadata.gz: 0b33fd489354101454ad3ea6a549d3080f47965bd1e8c200b1b380ae22ad219f759b02963d4d7f35f1bfaec97ad2b02dce1494033f89bfc081d2371b74603dfa
7
- data.tar.gz: 48311e053bb7efa1be238da5819a86b379fa864e7c23aa4592ff48fa5baa807b982e056b5dd3f8a9bc260addaad552eb5ca00b8565d3133d8435e14937deb026
6
+ metadata.gz: fd5be8e3e25bacf22b62a205b8c7d2475a32b7893b93697aff05677e50728e2b4b83f22af8d100409ff306136d5655967e36473b964581bb28c82adfc90e7e42
7
+ data.tar.gz: 71f47aa78ba029fc32b58e146f232c1edb9ea09c3cc1f48491e8769533d73b2519491e6c5eb2f8836710857019641457f2f768fd871247b81e348d15b914b211
@@ -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.147.1"
4
+ VERSION = "0.148.4"
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.147.1
4
+ version: 0.148.4
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