dependabot-core 0.94.5 → 0.94.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: 7d0baf75143a1c92f1c57f1fae8b381c9a52dbf1d1f9413e5e0ddb3a65c82b2a
4
- data.tar.gz: c9ef6a898ccbd435d3e52ed420507e13c0ca85f254c363d4f28f77dcc3a6408a
3
+ metadata.gz: 41fed271fcf09bc680388c1161e28cbb51b591bbd74ae4e12573845be845d6ff
4
+ data.tar.gz: d5bb307e7a5f4a90aaa06e0138933aa81b69cbe2c0469351d808998bb3cf46bc
5
5
  SHA512:
6
- metadata.gz: ec10c972858c77478622c299586a78494a24eda51ec7f0e2cc3216c393e222d51b0e4b50b37d22d4dd75ab0c946b9ad8fa8366a910e71e11353244c466f797e4
7
- data.tar.gz: e2fc824b7734ab429bd253bd65687ca58c76d6676b738b5480d2786b9cfc73baa0d81b07fda26d944234fd23a6a097a270ce116e40ed2c8cfe65d2c0cb45061e
6
+ metadata.gz: aac038a2e2f31fd904fcf037deac794a1a1f38b0b9ff1c5ba8278b62184239dac97d1aac9e050e6d1541a0ce07452bc579f560969cbcce428f0bb21d4d17c19f
7
+ data.tar.gz: e35944265b84c21cf3589767cd5d6e968223ca7d3f1a1a853c4b6517ed255ae4dcc491d3e9438a8d46f5172a484dfdd0b857bf6ab507eadd314c9d70334cb3af
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.94.6, 3 February 2019
2
+
3
+ - Raise normal error when submodule source isn't supported
4
+
1
5
  ## v0.94.5, 3 February 2019
2
6
 
3
7
  - JS: Look for login form redirects, not 404s, when checking packages on npmjs.com
@@ -212,7 +212,10 @@ module Dependabot
212
212
  end
213
213
 
214
214
  def _full_specification_for(path, fetch_submodules:)
215
- if fetch_submodules && _submodule_for(path)
215
+ if fetch_submodules && _submodule_for(path) &&
216
+ Source.from_url(
217
+ @submodule_directories[_submodule_for(path)].submodule_git_url
218
+ )
216
219
  submodule_details = @submodule_directories[_submodule_for(path)]
217
220
  sub_source = Source.from_url(submodule_details.submodule_git_url)
218
221
  {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dependabot
4
- VERSION = "0.94.5"
4
+ VERSION = "0.94.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.5
4
+ version: 0.94.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot