dependabot-composer 0.94.3 → 0.94.4
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 +4 -4
- data/lib/dependabot/composer/file_fetcher.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14b141d58daa64ca39b1df5709f1b4de4f0a81fedcf3db188fccfd249114e27b
|
|
4
|
+
data.tar.gz: ea27e860ac72f5f0423b27cb149872fb162a712bad0d7b87009ec1e057f68a76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8203092cb778dab682f20db7b5331ce38be7110946fb3b8988c12b88112240de02edcd6ebe4cd9ae190576084bd45a6e5ef4af1dc1ee87a74985ee548b4dd8d3
|
|
7
|
+
data.tar.gz: '09c3cbb6eb7ebbf0ea70c9c2047f242d3fe4e76f812d1498ff17f99a52583545062e20552dfcec305bc7f106682c6ba57d3fe084cba9e76c29b8054111ea3b40'
|
|
@@ -104,11 +104,11 @@ module Dependabot
|
|
|
104
104
|
map { |f| path.gsub(/\*$/, f.name) }
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
def fetch_file_with_root_fallback(filename
|
|
107
|
+
def fetch_file_with_root_fallback(filename)
|
|
108
108
|
path = Pathname.new(File.join(directory, filename)).cleanpath.to_path
|
|
109
109
|
|
|
110
110
|
begin
|
|
111
|
-
fetch_file_from_host(filename,
|
|
111
|
+
fetch_file_from_host(filename, fetch_submodules: true)
|
|
112
112
|
rescue Dependabot::DependencyFileNotFound
|
|
113
113
|
# If the file isn't found at the full path, try looking for it
|
|
114
114
|
# without considering the directory (i.e., check if the path should
|
|
@@ -117,9 +117,9 @@ module Dependabot
|
|
|
117
117
|
|
|
118
118
|
DependencyFile.new(
|
|
119
119
|
name: cleaned_filename,
|
|
120
|
-
content:
|
|
120
|
+
content: _fetch_file_content(cleaned_filename),
|
|
121
121
|
directory: directory,
|
|
122
|
-
type:
|
|
122
|
+
type: "file"
|
|
123
123
|
)
|
|
124
124
|
end
|
|
125
125
|
rescue Octokit::NotFound, Gitlab::Error::NotFound
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-composer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.94.
|
|
4
|
+
version: 0.94.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-02-
|
|
11
|
+
date: 2019-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dependabot-core
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.94.
|
|
19
|
+
version: 0.94.4
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - '='
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.94.
|
|
26
|
+
version: 0.94.4
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: byebug
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|